Differences between revisions 2 and 4 (spanning 2 versions)
Revision 2 as of 2010-03-03 16:13:25
Size: 401
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 15: Line 15:
CategoryLinux 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)