Hi:

I'm using 5.4 stable on an ALIX 2D13 with Compex WLM200NX

My internal network is 192.168.12.0/24
My ISP gives me 181.40.100.8 nm 255.255.255.0 gw 181.40.100.1 via DHCP 
with reserved IP address. This is on vr0
No problems here.

I wanted to set up two internal networks
on vr1:
192.168.12.0/25

and on vr2:
192.168.12.128/25

athn0 is also supposed to be on 192.168.12.0/25
The intended /etc/hostname.athn0 is:
inet 192.168.12.2 255.255.255.128

/etc/hostname.vr0
dhcp

/etc/hostname.vr1
inet 192.168.12.1 255.255.255.128

/etc/hostname.vr2
inet 192.168.12.129 255.255.255.128

The weirdness is as follows:
according to ifconfig all interfaces are active
BUT

athn0 does not want to be on the same subnet with vr1

I cannot ping the internal IP 192.168.12.1
as long as athn0 is on 192.168.12.2 or any other address up to 
192.168.12.126 that is in the subnet 192.168.12.128/25.

I have to change athn0 to the other subnet with
/etc/hostname.athn0
inet 192.168.12.130 255.255.255.128

In this case I can ping 192.168.12.1 and 192.168.12.130

(ping from inside the ALIX that is)

I pfctl -d to see if my PF rules have an influence, but no ...

You see that I followed the Book of PF 2nd edition to eventually being 
able to set up a DMZ on vr2 while WLAN on athn0 and wired vr1 are on 
the same subnet.

Is the weirdness in what I'm trying to do or is there some subtle bug?
Is there a reason that two different interfaces on the same system 
must not be on the same subnet?

As a sidenote for the record: If one brings network interfaces down 
and up and down and up and changes the hostnames in between eventually 
the ALIX wants a hard reset - reboot is not enough; it will leave one 
with all kinds of weird behaviour - mostly interfaces being active 
according to ifconfig but not being pingable nor from inside nor 
outside.

I hope someone can help.
Cheers
Eike

my dmesg:
OpenBSD 5.4 (GENERIC) #37: Tue Jul 30 12:05:01 MDT 2013
    dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD" 586-
class) 499 MHz
cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX,MMXX,3DNOW2,3DNOW
real mem  = 267976704 (255MB)
avail mem = 252145664 (240MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/05/08, BIOS32 rev. 0 @ 
0xfd088
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xe0000/0xa800
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 1 function 0 "AMD Geode LX" rev 0x33
glxsb0 at pci0 dev 1 function 2 "AMD Geode LX Crypto" rev 0x00: RNG 
AES
vr0 at pci0 dev 9 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 10, 
address 00:0d:b9:2d:cf:20
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 
0x004063, model 0x0034
vr1 at pci0 dev 10 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 11, 
address 00:0d:b9:2d:cf:21
ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 
0x004063, model 0x0034
vr2 at pci0 dev 11 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 15, 
address 00:0d:b9:2d:cf:22
ukphy2 at vr2 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 
0x004063, model 0x0034
athn0 at pci0 dev 12 function 0 "Atheros AR9280" rev 0x01: irq 9
athn0: AR9280 rev 2 (2T2R), ROM rev 22, address 04:f0:21:06:22:c4
glxpcib0 at pci0 dev 15 function 0 "AMD CS5536 ISA" rev 0x03: rev 3, 
32-bit 3579545Hz timer, watchdog, gpio, i2c
gpio0 at glxpcib0: 32 pins
iic0 at glxpcib0
maxtmp0 at iic0 addr 0x4c: lm86
pciide0 at pci0 dev 15 function 2 "AMD CS5536 IDE" rev 0x01: DMA, 
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <ULTIMATE CF CARD>
wd0: 1-sector PIO, LBA48, 15247MB, 31227840 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
ohci0 at pci0 dev 15 function 4 "AMD CS5536 USB" rev 0x02: irq 12, 
version 1.0, legacy support
ehci0 at pci0 dev 15 function 5 "AMD CS5536 USB" rev 0x02: irq 12
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "AMD EHCI root hub" rev 2.00/1.00 addr 1
isa0 at glxpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 "AMD OHCI root hub" rev 1.00/1.00 addr 1
mtrr: K6-family MTRR support (2 registers)
nvram: invalid checksum
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
scsibus1 at softraid0: 256 targets
root on wd0a (7fe077bfcb51b299.a) swap on wd0b dump on wd0b
clock: unknown CMOS layout

Reply via email to