Date: Tue, 13 Jan 2009 15:09:11 +0200 From: "Eitan Shefi" <eitans@mellanox.co.il> To: <freebsd-net@freebsd.org> Subject: When configuring 2 VLANs to be on the same subnet, only one works. Message-ID: <5D49E7A8952DC44FB38C38FA0D758EAD0173629B@mtlexch01.mtl.com>
next in thread | raw e-mail | index | archive | help
I'm testing a NIC driver. I use 2 directly connected FreeBSD-7.0 hosts. When I create 2 VLANs for the same interface (mtnic0), on each host, and configure the VLANs on each host to be on the same subnet: ping works only to one of the VLANs. =20 I run: On sw259:=20 /sbin/ifconfig vlan1 create vlan 1 vlandev mtnic0 /sbin/ifconfig vlan2 create vlan 2 vlandev mtnic0 /sbin/ifconfig vlan1 91.154.12.5 netmask 255.0.0.0 /sbin/ifconfig vlan2 91.155.12.5 netmask 255.0.0.0 =20 On sw260:=20 /sbin/ifconfig vlan1 create vlan 1 vlandev mtnic0 /sbin/ifconfig vlan2 create vlan 2 vlandev mtnic0 /sbin/ifconfig vlan1 91.154.12.6 netmask 255.0.0.0 /sbin/ifconfig vlan2 91.155.12.6 netmask 255.0.0.0 =20 Now on sw259 run:=20 ping 91.154.12.6 - works.=20 ping 91.155.12.6 - does not work.=20 =20 I saw the same behavior also when running via a different NIC. =20 =20 Is this expected ? =20 =20 Thanks, Eitan.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5D49E7A8952DC44FB38C38FA0D758EAD0173629B>