пятница, 19 августа 2011 г.

auto lo eth0
allow-hotplug eth1

iface lo inet loopback

mapping eth0
script /usr/local/sbin/map-scheme
map HOME eth0-home
map WORK eth0-work

iface eth0-home inet static
address 192.168.1.1
netmask 255.255.255.0
up flush-mail

iface eth0-work inet dhcp

iface eth1 inet dhcp

http://manpages.ubuntu.com/manpages/hardy/man5/interfaces.5.html
https://help.ubuntu.com/10.04/serverguide/C/serverguide.pdf
http://help.ubuntu.ru/wiki/%D0%BD%D0%B0%D1%81%D1%82%D1%80%D0%BE%D0%B9%D0%BA%D0%B0_%D1%81%D0%B5%D1%82%D0%B8_%D0%B2%D1%80%D1%83%D1%87%D0%BD%D1%83%D1%8E