in a nutshell 1) yes, 2) yes, 3) no -- the Cisco port must be tagged w/ vlan 300.
to demo this for yourself:
sudo vconfig add eth0 52
sudo ifconfig eth0.52 10.0.2.1 netmask 255.255.255.0
ping -nq -c 20 10.0.2.10 &
sudo tcpdump -nc2 -i eth0 vlan
sudo tcpdump -nc2 -i eth0.52 arp
output from first tcpdump shows the vlan tag:
15:18:10.496264 vlan 52, p 0, arp who-has 10.0.2.10 tell 10.0.2.1
15:18:11.496300 vlan 52, p 0, arp who-has 10.0.2.10 tell 10.0.2.1
output from the second tcpdump shows the untagged arp pkts:
15:18:12.504295 arp who-has 10.0.2.10 tell 10.0.2.1
15:18:13.504298 arp who-has 10.0.2.10 tell 10.0.2.1
Last edited by grepmasterd; 03-02-2009 at 06:22 PM.
|