Ero sivun ”VLAN” versioiden välillä
Siirry navigaatioon
Siirry hakuun
Ak: Uusi sivu: aptitude install vlan vconfig add eth0 1234 vconfig add eth1 1111 vconfig add eth1 10 == Esimerkki == eth0:n ja eth1:n liittäminen eri VLAN:eihin /etc/network/interfaces:... |
Ei muokkausyhteenvetoa |
||
| Rivi 41: | Rivi 41: | ||
iface vlan444 inet static | iface vlan444 inet static | ||
vlan_raw_device eth0 | vlan_raw_device eth0 | ||
== Katso myös == | |||
* [[Bridge]] | |||
* [[VLAN Bridge]] | |||
[[Luokka:Verkko]] | [[Luokka:Verkko]] | ||
Versio 5. heinäkuuta 2008 kello 04.05
aptitude install vlan
vconfig add eth0 1234 vconfig add eth1 1111 vconfig add eth1 10
Esimerkki
eth0:n ja eth1:n liittäminen eri VLAN:eihin
/etc/network/interfaces:
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