Line 3: |
| {{{sudo apt-get install vlan}}}
| | {{{sudo apt-get install vlan}}}
|
|
| |
|
- | !!Configure by Hand - Ubuntu:!!
| + | !!Configure by Hand - Ubuntu or Redhat/Fedora:!!
|
Line 22: |
| vlan-raw-device eth0}}}
| | vlan-raw-device eth0}}}
|
|
| |
|
| | + | See: http://manpages.ubuntu.com/manpages/lucid/man5/vlan-interfaces.5.html
|
| | + | See: https://wiki.ubuntu.com/vlan
|
Line 24: |
|
| |
|
| | + |
|
Line 27: |
| {{{sudo su -c 'echo "alias vlan 8021q" >> /etc/modprobe.conf'}}}
| | {{{sudo su -c 'echo "alias vlan 8021q" >> /etc/modprobe.conf'}}}
|
|
| |
|
| | + | Create and add the following lines to /etc/sysconfig/network-scripts/ifcfg-vlan15
|
Line 29: |
|
| |
|
- | Ubuntu - see: http://manpages.ubuntu.com/manpages/lucid/man5/vlan-interfaces.5.html
| + | {{{VLAN=yes
|
- | Ubuntu - see: https://wiki.ubuntu.com/vlan
| + | VLAN_NAME_TYPE=VLAN_PLUS_VID
|
| | + | DEVICE=vlan0015
|
| | + | PHYSDEV=eth0
|
| | + | BOOTPROTO=static
|
| | + | ONBOOT=yes
|
| | + | TYPE=Ethernet
|
| | + | IPADDR=10.0.15.20
|
| | + | NETMASK=255.255.255.0}}}
|
| | + |
|