Hello misc, i have following network:
netA ---BridgeA ----- BridgeB --- netB netA and netB are buildung together one subnet and the connection between BridgeA and BridgeB is encrypted (they are connected directly together, but we need the security on this line) This configuration can be found on the website https://www.csh.rit.edu/~jon/text/papers/tunneling It is written bei Jon Parise and is called Virtual Ethernet Tunneling BridgeA and BridgeB are twins with the following difference BridgeA has a DLINK550T (RJ45) and a DLINK550SX (SC), BridgeB has 2 DLINK550SX. !!!! The Problem is that BridgeB (and only BridgeB) sometimes freezes. Not even login on console is possible. My Problem is, there is no kernel message, no message in some logfile, nothing. These stops are totally unpredictable (i had uptimes beetween 6h and 60 days) Installed software is OpenBSD 3.9-release (before I had OpenBSD 3.7-release with the same problems and hoped 3.9 would fix it). I read in man stge that stge doesn't support jumbo frames. Could that be a problem (but I think stge would only discard jumbo frames). I also run a memorytest over a weekend with the only result that the memory seems to be ok. What else could freeze an OpenBSD box !!!! And here some configfiles (i only give you the files for BridgeB, as they are identically except for the ip addresses) /etc/hostname/stge0 (these are the cards connected to the networks) inet 192.168.X.Y 255.255.255.0 NONE /etc/hostname/stge1 (with this cards the bridges are connected to each other) inet 10.0.0.2 255.255.255.252 NONE /etc/hostname.gif0 giftunnel 10.0.0.2 10.0.0.1 up /etc/bridgename.bridge0 add gif0 add stge0 # !ipsecadm flush !ipsecadm new esp -spi 2000 -dst 10.0.0.2 -src 10.0.0.1 -enc aes \ -auth sha1 -key KEY1 \ -authkey KEY2 !ipsecadm new esp -spi 2001 -dst 10.0.0.1 -src 10.0.0.2 -enc aes \ -auth sha1 -key KEY3 \ -authkey KEY4 !ipsecadm flow -dst 10.0.0.1 -out -transport etherip -require \ -addr 10.0.0.2 255.255.255.255 10.0.0.1 255.255.255.255 # up /etc/pf.conf scrub in all no-df max-mss 1240 fragment reassemble scrub out all no-df max-mss 1240 fragment reassemble scrub all reassemble tcp (this is done, because the gif interface has a lower mtu/mss than normal ethernet interfaces) and now the dmesgs of the two boxes: BridgeA OpenBSD 3.9 (GENERIC) #617: Thu Mar 2 02:26:48 MST 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) 4 CPU 2.40GHz ("GenuineIntel" 686-class) 2.40 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID real mem = 534552576 (522024K) avail mem = 480755712 (469488K) using 4278 buffers containing 26828800 bytes (26200K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(00) BIOS, date 02/22/05, BIOS32 rev. 0 @ 0xf0010 pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf60d0/192 (10 entries) pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801EB/ER LPC" rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc0000/0xa600 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Intel 82865G/PE/P CPU-I/0-1" rev 0x02 vga1 at pci0 dev 2 function 0 "Intel 82865G Video" rev 0x02: aperture at 0xf0000000, size 0x8000000 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) ppb0 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0xc2 pci1 at ppb0 bus 1 fxp0 at pci1 dev 8 function 0 "Intel PRO/100 VE" rev 0x02, i82562: irq 11, address 00:13:d4:24:5e:32 inphy0 at fxp0 phy 1: i82562ET 10/100 PHY, rev. 0 stge0 at pci1 dev 10 function 0 "D-Link Systems DGE-550T" rev 0x0c: irq 5, address 00:11:95:d9:48:42 eephy0 at stge0 phy 1: Marvell 88E1111 Gigabit PHY, rev. 1 stge1 at pci1 dev 11 function 0 "D-Link Systems DGE-550T" rev 0x0c: irq 3, address 00:0d:88:b5:f5:35 ukphy0 at stge1 phy 1: Generic IEEE 802.3u media interface, rev. 0: OUI 0x000000, model 0x0000 ichpcib0 at pci0 dev 31 function 0 "Intel 82801EB/ER LPC" rev 0x02 pciide0 at pci0 dev 31 function 1 "Intel 82801EB/ER IDE" rev 0x02: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: <WDC WD400BB-00JHC0> wd0: 16-sector PIO, LBA, 38166MB, 78165360 sectors atapiscsi0 at pciide0 channel 0 drive 1 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <LITE-ON, DVD SOHD-16P9S, FS09> SCSI0 5/cdrom removable wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 disabled (no drives) ichiic0 at pci0 dev 31 function 3 "Intel 82801EB/ER SMBus" rev 0x02: irq 10 iic0 at ichiic0 "unknown" at iic0 addr 0x18 not configured isa0 at ichpcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 lm0 at isa0 port 0x290/8: W83627THF npx0 at isa0 port 0xf0/16: using exception 16 biomask f7d5 netmask fffd ttymask ffff pctr: user-level cycle counter enabled dkcsum: wd0 matches BIOS drive 0x80 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 and BridgeB (the buggy one) OpenBSD 3.9 (GENERIC) #617: Thu Mar 2 02:26:48 MST 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) 4 CPU 2.40GHz ("GenuineIntel" 686-class) 2.40 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID real mem = 534552576 (522024K) avail mem = 480755712 (469488K) using 4278 buffers containing 26828800 bytes (26200K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(00) BIOS, date 02/22/05, BIOS32 rev. 0 @ 0xf0010 pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf60d0/192 (10 entries) pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801EB/ER LPC" rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc0000/0xa600 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Intel 82865G/PE/P CPU-I/0-1" rev 0x02 vga1 at pci0 dev 2 function 0 "Intel 82865G Video" rev 0x02: aperture at 0xf0000000, size 0x8000000 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) ppb0 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0xc2 pci1 at ppb0 bus 1 fxp0 at pci1 dev 8 function 0 "Intel PRO/100 VE" rev 0x02, i82562: irq 11, address 00:13:d4:24:5e:0c inphy0 at fxp0 phy 1: i82562ET 10/100 PHY, rev. 0 stge0 at pci1 dev 10 function 0 "D-Link Systems DGE-550T" rev 0x0c: irq 5, address 00:11:95:8a:5b:40 ukphy0 at stge0 phy 1: Generic IEEE 802.3u media interface, rev. 0: OUI 0x000000, model 0x0000 stge1 at pci1 dev 11 function 0 "D-Link Systems DGE-550T" rev 0x0c: irq 3, address 00:11:95:86:3a:5e ukphy1 at stge1 phy 1: Generic IEEE 802.3u media interface, rev. 0: OUI 0x000000, model 0x0000 ichpcib0 at pci0 dev 31 function 0 "Intel 82801EB/ER LPC" rev 0x02 pciide0 at pci0 dev 31 function 1 "Intel 82801EB/ER IDE" rev 0x02: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: <WDC WD400BB-00JHC0> wd0: 16-sector PIO, LBA, 38166MB, 78165360 sectors atapiscsi0 at pciide0 channel 0 drive 1 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <LITE-ON, DVD SOHD-16P9S, FS09> SCSI0 5/cdrom removable wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 disabled (no drives) ichiic0 at pci0 dev 31 function 3 "Intel 82801EB/ER SMBus" rev 0x02: irq 10 iic0 at ichiic0 "unknown" at iic0 addr 0x18 not configured isa0 at ichpcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 lm0 at isa0 port 0x290/8: W83627THF npx0 at isa0 port 0xf0/16: using exception 16 biomask f7d5 netmask fffd ttymask ffff pctr: user-level cycle counter enabled dkcsum: wd0 matches BIOS drive 0x80 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 thanks guido