VLAN
Siirry navigaatioon
Siirry hakuun

Tässä artikkelissa opastetaan virtuaalilähiverkon (VLAN) tekoa.
Asennus Debianissa:
aptitude install vlan
Asetusten määrittely:
vconfig add eth0 1234 vconfig add eth1 1111 vconfig add eth1 10
Esimerkki Debianista
[muokkaa]eth0:n ja eth1:n liittäminen eri VLAN:eihin:
/etc/network/interfaces-asetustiedosto:
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
allow-hotplug eth1
iface eth0 inet static
iface eth1 inet static
auto vlan111
auto vlan222
auto vlan333
auto vlan444
# LAN
iface vlan111 inet static
vlan_raw_device eth0
# WLAN
iface vlan222 inet static
vlan_raw_device eth0
# ADSL Modem
iface vlan333 inet static
vlan_raw_device eth1
# Internet
iface vlan444 inet static
vlan_raw_device eth0