Date: Thu, 27 Jul 2006 14:07:14 +0100 From: William <willay@gmail.com> To: freebsd-questions@freebsd.org Subject: vr0 interface and VLAN tagging Message-ID: <a24358fb0607270607u2274973bj87216aae9d43fcaf@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi list, I'm trying to get a FreeBSD 5.3-RELEASE (running GENERIC kernel) to do vlan tagging. I want to have several 'vlan interfaces' that can talk to their local subnet and also use a default route. On the switch side of things I'm using a Cisco 3550 runing layer3 code, I've had this working before with a em driver (on another box) but my setup was a little different then so I'm pretty sure the switch isnt at fault? My rc.conf looks like: cloned_interfaces="vlan100 vlan200 vlan233" ifconfig_vr0="up" ifconfig_vlan100="inet 192.168.100.1 netmask 255.255.255.0 vlan 100 vlandev vr0" ifconfig_vlan200="inet 192.168.200.1 netmask 255.255.255.0 vlan 200 vlandev vr0" ifconfig_vlan233="inet 10.233.233.1 netmask 255.255.255.0 vlan 233 vlandev vr0" ifconfig_vr0="inet 10.254.254.252 netmask 255.255.255.0 media 100baseTX mediaopt ull-duplex" defaultrouter="10.254.254.254" and my switch config looks like this: interface FastEthernet0/12 switchport access vlan 254 switchport trunk encapsulation dot1q switchport trunk allowed vlan 100,200,233 switchport mode trunk logging event trunk-status duplex full speed 100 end I'm getting to the point that the vlan interfaces (100,200,233) can talk to machines on their subnet but I cannot seem to ping anything on the 10.254.254.0/24 subnet (ip address applied to vr0 interface) or anythnig via the default route. If anyone can assist me I'd appreciate it, please contact me off list as I am not subscribed to -questions. Cheers, Will
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a24358fb0607270607u2274973bj87216aae9d43fcaf>