Hi,
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
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
deraadt@i386.openbsd.org:/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
p...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. -- 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...?
Have you tried a -current snapshot at all? sys/dev/pci/if_bnx.c 1.49 may be relevant. description: ---------------------------- revision 1.49 date: 2007/05/21 10:05:03; author: reyk; state: Exp; lines: +4 -3 fix bnx vlan tagging in the rx path; do not attach the vlan tag twice if the firmware has been told to keep it and copy the tag in network byte order in the other case. ok mcbride@ dlg@ =============================================================================
ooo... I thought I could be hitting a bug, damn, I hate compiling under qemu and that's the close I can do with a network access :| Rui -- P'tang! 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...?
Can't you download a snapshot kernel on some other box and transfer it some way that doesn't involve vlans on bnx? (USB memory stick, USB nic, change the switch port to untagged, crossover-cable, etc..)
I didn't know that. Thanks, I'll try it first. Rui -- Or not. 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...?
yay! it seems to have worked as advertised on TV ;) Thank you, Stuart! -- You are what you see. 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...?
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Greg KH | [patch 00/04] RFC: Staging tree (drivers/staging) |
| James Bottomley | Re: Integration of SCST in the mainstream Linux kernel |
| Steven Rostedt | [RFC PATCH 1/3] Unified trace buffer |
git: | |
| Jon Smirl | ! [rejected] master -> master (non-fast forward) |
| Marco Costalba | [ANNOUNCE] qgit4 aka qgit ported to Windows |
| Andi Kleen | Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins |
| Sverre Rabbelier | Git vs Monotone |
| Richard Stallman | Real men don't attack straw men |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Damian Gerow | Oddly high load average |
| Benjamin Adams | BSD Port from OpenJDK |
| Michael Grollman | Re: 8169 Intermittent ifup Failure Issue With RTL8102E Chipset in Intel's New D945... |
| Volker Armin Hemmann | build error with 2.6.27.6+reiser4+ehci-hub patch. ERROR: "mii_ethtool_gset" [drive... |
| Evgeniy Polyakov | [resend take 2 0/4] Distributed storage. |
| Wenji Wu | A Linux TCP SACK Question |
| serial driver xmit problem | 52 minutes ago | Linux kernel |
| Why Windows is better than Linux | 52 minutes ago | Linux general |
| How can I see my kernel messages in vt12? | 7 hours ago | Linux kernel |
| Grub | 19 hours ago | Linux general |
| vmalloc_fault handling in x86_64 | 1 day ago | Linux kernel |
| epoll_wait()ing on epoll FD | 1 day ago | Linux kernel |
| Framebuffer in x86_64 causes problems to multiseat | 1 day ago | Linux kernel |
| Difference between 2.4 and 2.6 regarding thread creation | 1 day ago | Linux general |
| Netfilter kernel module | 1 day ago | Linux kernel |
| Compiling gfs2 on kernel 2.6.27 | 1 day ago | Linux kernel |
