[PLUG] vlan
Kris
krisa at subtend.net
Tue Dec 18 02:12:24 UTC 2007
For those curious how to use VLANs in Debian, here is a config I have in
production:
/etc/network/interfaces:
auto eth1
iface eth1 inet static
address 172.1.1.101
netmask 255.255.255.0
auto eth1.16
iface eth1.16 inet static
address 10.16.1.1
netmask 255.255.0.0
pre-up /sbin/ifconfig eth1 up
pre-up /sbin/vconfig add eth1 16
auto eth1.18
iface eth1.18 inet static
address 10.18.1.1
netmask 255.255.0.0
pre-up /sbin/ifconfig eth1 up
pre-up /sbin/vconfig add eth1 18
--
I'm just a packet pusher.
More information about the PLUG
mailing list