vlans


 
Thread Tools Search this Thread
Special Forums IP Networking vlans
# 1  
Old 11-07-2008
vlans

Hi All,

I'm trying to configure a vlan interface, to do this I'm using the following command "vconfig add eth0 20". I have my interface up and running, but when I test it using "ping -I eth0.20 192.168.1.1" and in other console use "tcpdump -i eth0.20" I can not see any tagged frame.

Somebody knows what could be the problem???

Thanks!
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. Proxy Server

Linux Networking - VLANs & Multiple IP's

In a "typical" data centre environment (telco, financial services etc), would a Linux OS typically have one IP address connected to one VLAN or would it have many IPs and/or VLANs. I say "Linux OS" as I'm referring to an instance of the OS not necessarily a Host or server. Think Linux OS = VM in a... (9 Replies)
Discussion started by: PCB
9 Replies

2. IP Networking

VLANs and their domains

Hey everyone. I work in a data center, and I'm working on getting my CCNA. Now when I read articles on the idea of VLAN's it makes sense. Especially if you have multiple switches daisy chained in multiple locations. My two main questions though are that most of these examples use PC's as examples... (2 Replies)
Discussion started by: Lost in Cyberia
2 Replies

3. Solaris

Oracle VMs and VLANs

I've been given an IP address to assign to an ldom that is in a different subnet than the host, and I am looking for assistance in getting it online. I believe I need "VLAN tagging" as found in this link, but I do not understand all of the terminology. My host machine is on subnet 10.25.112.x,... (1 Reply)
Discussion started by: bstring
1 Replies

4. UNIX for Dummies Questions & Answers

Help with VLANs

Hi Gurus, Can anyone explain me what is a Vlan and a Native vlan. How to check the native Vlan on my server having a solaris10 OS. Thanks in advance.:) (2 Replies)
Discussion started by: rama krishna
2 Replies

5. AIX

AIX / Etherchannel / VLANs

I have 1 AIX server, 4 dual ported fiber attached ethernet cards and 4 VLANS coming in. Is it possible to present those 8 ports as 1 IP address using etherchannel? Thanks. (5 Replies)
Discussion started by: jwholey
5 Replies
Login or Register to Ask a Question
VLAN manipulation action in tc(8)                                      Linux                                     VLAN manipulation action in tc(8)

NAME
vlan - vlan manipulation module SYNOPSIS
tc ... action vlan { pop | PUSH | MODIFY } [ CONTROL ] PUSH := push [ protocol VLANPROTO ] [ priority VLANPRIO ] id VLANID MODIFY := modify [ protocol VLANPROTO ] [ priority VLANPRIO ] id VLANID CONTROL := { reclassify | pipe | drop | continue | pass | goto chain CHAIN_INDEX } DESCRIPTION
The vlan action allows to perform 802.1Q en- or decapsulation on a packet, reflected by the operation modes POP, PUSH and MODIFY. The POP mode is simple, as no further information is required to just drop the outer-most VLAN encapsulation. The PUSH and MODIFY modes require at least a VLANID and allow to optionally choose the VLANPROTO to use. OPTIONS
pop Decapsulation mode, no further arguments allowed. push Encapsulation mode. Requires at least id option. modify Replace mode. Existing 802.1Q tag is replaced. Requires at least id option. id VLANID Specify the VLAN ID to encapsulate into. VLANID is an unsigned 16bit integer, the format is detected automatically (e.g. prefix with '0x' for hexadecimal interpretation, etc.). protocol VLANPROTO Choose the VLAN protocol to use. At the time of writing, the kernel accepts only 802.1Q or 802.1ad. priority VLANPRIO Choose the VLAN priority to use. Decimal number in range of 0-7. CONTROL How to continue after executing this action. reclassify Restarts classification by jumping back to the first filter attached to this action's parent. pipe Continue with the next action, this is the default. drop Packet will be dropped without running further actions. continue Continue classification with next filter in line. pass Return to calling qdisc for packet processing. This ends the classification process. EXAMPLES
The following example encapsulates incoming ICMP packets on eth0 from 10.0.0.2 into VLAN ID 123: #tc qdisc add dev eth0 handle ffff: ingress #tc filter add dev eth0 parent ffff: pref 11 protocol ip u32 match ip protocol 1 0xff flowid 1:1 u32 match ip src 10.0.0.2 flowid 1:1 action vlan push id 123 Here is an example of the pop function: Incoming VLAN packets on eth0 are decapsulated and the classification process then restarted for the plain packet: #tc qdisc add dev eth0 handle ffff: ingress #tc filter add dev $ETH parent ffff: pref 1 protocol 802.1Q u32 match u32 0 0 flowid 1:1 action vlan pop reclassify SEE ALSO
tc(8) iproute2 12 Jan 2015 VLAN manipulation action in tc(8)