You are here: Foswiki>ATLAS Web>VLAN (20 Oct 2007, MatthiasLInden)Edit Attach
Category:Network VLANs are described in IEEE 802.1Q.

Description

VLANs are a 4 Byte extension to the standart Ethernet-frame, the VLAN-tag. The Tag is set by the driver of the networkinterface. On most modern switches packets are routed according to VLAN-tags. The configuration is port-based.

The Tag containes a 12bit VLAN-name and a priority. VLAN-names from 1-4095 are valid.

Linux

On Linux nodes to send/recive VLAN-tagged packets one has to set up a virtual interface on top of the physical interface. This virtual interface behaves the same way as a physical interface. An IP-address and Netmask has to be set to get the VLAN-interface working. For a VLAN-interface for VLAN 2 on top of eth1 the name of the virtual interface would be eth1.2 .

Configuration

Switch

On the Switch side, every port can be configured to revice tagged packets from every VLAN-number, that has been activated before. Tagged packets are only routed to Switch-ports that are configured to recive packets from the specified VLAN.

HP

In both telnet-menu-mode and on the web interface the VLAN-configuration can be done. Visit HP2900 VLAN configuration

Node

Linux

To add a virtual interface for VLAN 10 on top of eth0, first bring eth0 up, otherwise the vconfig add will return an error.
 #ifconfig eth0 up
 #vconfig add eth0 10
The Interface will be named eth0.10.
 #vconfig rem eth0.10
Removes the Interface that has just been created.

Next step would be to configure the virtual VLAN-interface.
 #ifconfig eth0.10  _IP_ netmask  _255.255.x.y_ ...

Solaris

Topic revision: r1 - 20 Oct 2007, MatthiasLInden
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback