[VLAN] Linux 802.1Q

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Parthasarathy Vivek-VPARTHA1 wrote:
> Hi,
>  
> I have two interfaces one Ethernet and one Vlan interface ( vid =0) on 
> the same IP address( 10.0.0.1)
>  
> If I get a packet with an IP address of 10.0.0.1 will it automatically 
> get routed to the Ethernet interface if there is no vlan in the packet? 
> Will the packet get automatically routed to the VLAN interface if the 
> packet has a VLAN tag and belongs to vid 0?

The packet will select the VLAN or eth0 device before any of the
IP protocol handlers get invoked.  It will go to the eth0 interface
if there is no VLAN header.  If it has a VLAN header, and that VLAN
exists (VID 0 or otherwise), then the packet will be received on
eth0 (as far as tcpdump, etc is concerned), but it will then also
be received on it's VLAN device.  Any higher level protocols on eth0
will not receive the packet.

Thanks,
Ben

>  
> Thanks
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Vlan mailing list
> Vlan@xxxxxxxxxxxxxxx
> http://www.lanforge.com/mailman/listinfo/vlan


-- 
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc  http://www.candelatech.com


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux