Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2010-03-03 16:13:13
Size: 380
Editor: PieterSmit
Comment:
Revision 4 as of 2010-03-03 16:36:19
Size: 423
Editor: PieterSmit
Comment:
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
ip link add link eth0 name eth0.5 type vlan id 5
ip link add link eth0 name eth0#1 address 00:aa:bb:cc:dd:ee type macvlan
 * ip link add link eth0 name eth0.5 type vlan id 5
 * ip link add link eth0 name eth0#1 address 00:aa:bb:cc:dd:ee type macvlan
Line 14: Line 14:
----
CategoryLinux CategoryNetwork

Vlans on Linux

802.1Q VLANs and MAC-VLANs can be created with the 'ip' utility (vconfig works for vlans, but is crufty and deprecated).

  • ip link add link eth0 name eth0.5 type vlan id 5
  • ip link add link eth0 name eth0#1 address 00:aa:bb:cc:dd:ee type macvlan

...


CategoryLinux CategoryNetwork

linux/vlan (last edited 2010-03-03 16:36:19 by PieterSmit)