On Thu, Jul 05, 2007 at 12:28:51PM +0100, Rui Miguel Silva Seabra wrote:
> In the switch:
> interface GigabitEthernet0/3
>  switchport trunk encapsulation dot1q
>  switchport trunk allowed vlan 1,101,1280
>  switchport mode trunk
>  no ip address
> 
> interface GigabitEthernet0/6
>  switchport access vlan 101
>  no ip address

I am now fairly certain the problem is on OpenBSD's side (either my
configuration is wrong, or there is a bug!). I'm this certain because
merely defining the same on a GNU/Linux box, it worked on the first try:

        ifconfig eth1 up
        vconfig add eth1 101
        ifconfig eth1.101 192.168.0.1 netmask  255.255.255.240

Machine A pinged machine B and vice-versa, traffic flowed through the
vlan virtual interface.

Can anyone share some profound insight, please? <:)

> In machine A:
> cat /etc/hostname.bnx0
> up
> cat /etc/hostname.bnx1
> up
> cat /etc/hostname.trunk0
> trunkproto failover trunkport bnx0 trunkport bnx1
> cat /etc/hostname.vlan101
> vlan 101 vlandev trunk0
> inet 192.168.0.1 255.255.255.240 NONE
> 
> In machine B:
> cat /etc/hostname.bnx0
> inet 192.168.0.7 255.255.255.240 NONE
> 
> 
> Machine A is connected to GigabitEthernet0/3
> Machine B is connected to GigabitEthernet0/6
> 
> They can't ping each other.
> I don't see any traffic (not even arps) when I use
> tcpdump -pni vlan101
> 
> Here comes dmesg on the HPDL360G5 machines:
> 
> OpenBSD 4.1 (GENERIC) #1435: Sat Mar 10 19:07:45 MST 2007
>     [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: Intel(R) Xeon(R) CPU 5160 @ 3.00GHz ("GenuineIntel" 686-class) 3.01 GHz
> cpu0: 
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
> real mem  = 2145316864 (2095036K)
> avail mem = 1950748672 (1905028K)
> using 4278 buffers containing 107388928 bytes (104872K) of memory
> mainbus0 (root)
> bios0 at mainbus0: AT/286+ BIOS, date 12/31/99, BIOS32 rev. 0 @ 0xf0000, 
> SMBIOS rev. 2.3 @ 0xee000 (67 entries)
> bios0: HP ProLiant DL360 G5
> pcibios0 at bios0: rev 3.0 @ 0xf0000/0x2000
> pcibios0: PCI BIOS has 9 Interrupt Routing table entries
> pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 6321ESB LPC" rev 0x00)
> pcibios0: PCI bus #22 is the last bus
> bios0: ROM list: 0xc0000/0xb000 0xcc400/0x4000! 0xd0400/0x1800 0xe6000/0x2000!
> acpi at mainbus0 not configured
> ipmi0 at mainbus0: version 2.0 interface KCS iobase 0xca2/2 spacing 1
> cpu0 at mainbus0
> pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> pchb0 at pci0 dev 0 function 0 vendor "Intel", unknown product 0x25d8 rev 0xb1
> ppb0 at pci0 dev 2 function 0 "Intel 5000 PCIE" rev 0xb1
> pci1 at ppb0 bus 9
> ppb1 at pci1 dev 0 function 0 "Intel 6321ESB PCIE" rev 0x01
> pci2 at ppb1 bus 10
> ppb2 at pci2 dev 0 function 0 "Intel 6321ESB PCIE" rev 0x01
> pci3 at ppb2 bus 11
> ppb3 at pci2 dev 1 function 0 "Intel 6321ESB PCIE" rev 0x01
> pci4 at ppb3 bus 14
> ppb4 at pci2 dev 2 function 0 "Intel 6321ESB PCIE" rev 0x01
> pci5 at ppb4 bus 15
> ppb5 at pci1 dev 0 function 3 "Intel 6321ESB PCIE-PCIX" rev 0x01
> pci6 at ppb5 bus 16
> ppb6 at pci0 dev 3 function 0 "Intel 5000 PCIE" rev 0xb1
> pci7 at ppb6 bus 6
> ciss0 at pci7 dev 0 function 0 "Hewlett-Packard Smart Array" rev 0x01: irq 5
> ciss0: 1 LD, HW rev 1, FW 2.08/2.08
> scsibus0 at ciss0: 1 targets
> sd0 at scsibus0 targ 0 lun 0: <HP, LOGICAL VOLUME, 2.08> SCSI3 0/direct fixed
> sd0: 69973MB, 69973 cyl, 64 head, 32 sec, 512 bytes/sec, 143305920 sec total
> ppb7 at pci0 dev 4 function 0 "Intel 5000 PCIE" rev 0xb1
> pci8 at ppb7 bus 19
> ppb8 at pci0 dev 5 function 0 "Intel 5000 PCIE" rev 0xb1
> pci9 at ppb8 bus 22
> ppb9 at pci0 dev 6 function 0 vendor "Intel", unknown product 0x25e6 rev 0xb1
> pci10 at ppb9 bus 2
> ppb10 at pci10 dev 0 function 0 "ServerWorks PCIE-PCIX" rev 0xc3
> pci11 at ppb10 bus 3
> bnx0 at pci11 dev 0 function 0 "Broadcom BCM5708" rev 0x12: irq 10
> ppb11 at pci0 dev 7 function 0 "Intel 5000 PCIE" rev 0xb1
> pci12 at ppb11 bus 4
> ppb12 at pci12 dev 0 function 0 "ServerWorks PCIE-PCIX" rev 0xc3
> pci13 at ppb12 bus 5
> bnx1 at pci13 dev 0 function 0 "Broadcom BCM5708" rev 0x12: irq 10
> pchb1 at pci0 dev 16 function 0 "Intel 5000 Error Reporting" rev 0xb1
> pchb2 at pci0 dev 16 function 1 "Intel 5000 Error Reporting" rev 0xb1
> pchb3 at pci0 dev 16 function 2 "Intel 5000 Error Reporting" rev 0xb1
> pchb4 at pci0 dev 17 function 0 "Intel 5000 Reserved" rev 0xb1
> pchb5 at pci0 dev 19 function 0 "Intel 5000 Reserved" rev 0xb1
> pchb6 at pci0 dev 21 function 0 "Intel 5000 FBD" rev 0xb1
> pchb7 at pci0 dev 22 function 0 "Intel 5000 FBD" rev 0xb1
> uhci0 at pci0 dev 29 function 0 "Intel 6321ESB USB" rev 0x09: irq 5
> usb0 at uhci0: USB revision 1.0
> uhub0 at usb0
> uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> uhci1 at pci0 dev 29 function 1 "Intel 6321ESB USB" rev 0x09: irq 7
> usb1 at uhci1: USB revision 1.0
> uhub1 at usb1
> uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
> uhub1: 2 ports with 2 removable, self powered
> uhci2 at pci0 dev 29 function 2 "Intel 6321ESB USB" rev 0x09: irq 10
> usb2 at uhci2: USB revision 1.0
> uhub2 at usb2
> uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
> uhub2: 2 ports with 2 removable, self powered
> uhci3 at pci0 dev 29 function 3 "Intel 6321ESB USB" rev 0x09: irq 10
> usb3 at uhci3: USB revision 1.0
> uhub3 at usb3
> uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1
> uhub3: 2 ports with 2 removable, self powered
> ehci0 at pci0 dev 29 function 7 "Intel 6321ESB USB" rev 0x09: irq 5
> usb4 at ehci0: USB revision 2.0
> uhub4 at usb4
> uhub4: Intel EHCI root hub, rev 2.00/1.00, addr 1
> uhub4: 8 ports with 8 removable, self powered
> ppb13 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0xd9
> pci14 at ppb13 bus 1
> vga1 at pci14 dev 3 function 0 "ATI ES1000" rev 0x02
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> "Compaq iLO" rev 0x03 at pci14 dev 4 function 0 not configured
> "Compaq iLO" rev 0x03 at pci14 dev 4 function 2 not configured
> uhci4 at pci14 dev 4 function 4 "Hewlett-Packard USB" rev 0x00: irq 10
> usb5 at uhci4: USB revision 1.0
> uhub5 at usb5
> uhub5: Hewlett-Packard UHCI root hub, rev 1.00/1.00, addr 1
> uhub5: 2 ports with 2 removable, self powered
> "Hewlett-Packard IPMI" rev 0x00 at pci14 dev 4 function 6 not configured
> ichpcib0 at pci0 dev 31 function 0 "Intel 6321ESB LPC" rev 0x09: PM disabled
> pciide0 at pci0 dev 31 function 1 "Intel 6321ESB IDE" rev 0x09: DMA, channel 
> 0 configured to compatibility, channel 1 configured to compatibility
> atapiscsi0 at pciide0 channel 0 drive 0
> scsibus1 at atapiscsi0: 2 targets
> cd0 at scsibus1 targ 0 lun 0: <TEAC, DV-28E-N, C.6C> SCSI0 5/cdrom removable
> cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
> pciide0: channel 1 disabled (no drives)
> 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
> pmsi0 at pckbc0 (aux slot)
> pckbc0: using irq 12 for aux slot
> wsmouse0 at pmsi0 mux 0
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: <PC speaker>
> spkr0 at pcppi0
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> biomask efe5 netmask efe5 ttymask ffe7
> pctr: 686-class user-level performance counters enabled
> mtrr: Pentium Pro MTRR support
> uhidev0 at uhub5 port 1 configuration 1 interface 0
> uhidev0: HP Virtual Keyboard, rev 1.10/0.02, addr 2, iclass 3/1
> ukbd0 at uhidev0: 8 modifier keys, 6 key codes, country code 33
> wskbd1 at ukbd0 mux 1
> wskbd1: connecting to wsdisplay0
> uhidev1 at uhub5 port 1 configuration 1 interface 1
> uhidev1: HP Virtual Keyboard, rev 1.10/0.02, addr 2, iclass 3/1
> ums0 at uhidev1
> ums0: X report 0x0002 not supported
> uhub6 at uhub5 port 2
> uhub6: HP Virtual Hub, rev 1.10/0.01, addr 3
> uhub6: 7 ports with 7 removable, self powered
> dkcsum: sd0 matches BIOS drive 0x80
> root on sd0a
> rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
> bnx1: address 00:1b:78:75:bb:ae
> brgphy0 at bnx1 phy 1: BCM5708C 10/100/1000baseT PHY, rev. 6
> bnx0: address 00:1b:78:75:bb:cc
> brgphy1 at bnx0 phy 1: BCM5708C 10/100/1000baseT PHY, rev. 6
> umass0 at uhub4 port 5 configuration 1 interface 0
> umass0: USB Flash Disk, rev 2.00/2.00, addr 2
> umass0: using SCSI over Bulk-Only
> scsibus2 at umass0: 2 targets
> sd1 at scsibus2 targ 1 lun 0: <I-Stick2, IntelligentStick, 2.00> SCSI2 
> 0/direct removable
> sd1: 499MB, 499 cyl, 64 head, 32 sec, 512 bytes/sec, 1023488 sec total

-- 
Fnord.
Today is Sweetmorn, the 45th day of Confusion in the YOLD 3173
+ No matter how much you do, you never do enough -- unknown
+ Whatever you do will be insignificant,
| but it is very important that you do it -- Gandhi
+ So let's do it...?

Reply via email to