LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 03-02-2009, 02:45 PM   #1
Paris Heng
Member
 
Registered: Jul 2007
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 8.04, Solaris 10
Posts: 198

Rep: Reputation: 30
Help in Vlan-Interface


1. What it means by eth1.200? I know it is a subinterface, but did it means this interface will carry Vlan tag 200?

2. eth1.200, will any ip packets that going out this interface will be tagged with VLAN tag 200?

3. [eth1-----Trunk------Cisco Switch] it is the configuration same with
[eth1.300-----Trunk------Cisco Switch] ?

Last edited by Paris Heng; 03-02-2009 at 02:47 PM.
 
Old 03-02-2009, 06:20 PM   #2
grepmasterd
Member
 
Registered: Aug 2003
Location: Seattle
Distribution: ubuntu, lately
Posts: 182
Blog Entries: 1

Rep: Reputation: 35
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.
 
  


Reply

Tags
tcpdump, vconfig, vlan


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using tcpdump on a sub-interface vlan mikeotieno Linux - Networking 3 09-24-2008 02:32 PM
bonding and vlans. Bonding a vlan interface vs applying vlans to a bond interface JasonCzerak Linux - Networking 0 09-11-2008 10:59 AM
VLAN configuration - native VLAN and setting PVID kumarwaiting Linux - Networking 0 07-24-2006 03:51 AM
vlan praveenchebolu Linux - Networking 1 03-25-2006 04:41 AM
Vlan Markvw Linux - Networking 1 09-29-2003 09:33 AM


All times are GMT -5. The time now is 06:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration