И мой Дебиан вроде получил настройки автоматически, но кажется не все:
Код: Выделить всё
root@host:/etc/network# ifconfig
eth0 Link encap:Ethernet HWaddr 00:15:5d:09:0a:17
inet addr:10.255.9.60 Bcast:10.255.9.255 Mask:255.255.255.0
inet6 addr: fe80::215:5dff:fe09:a17/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:61175 errors:0 dropped:0 overruns:0 frame:0
TX packets:8795 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:43668427 (41.6 MiB) TX bytes:644543 (629.4 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
root@host:/etc/network# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
10.255.9.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
172.65.0.0 10.255.9.1 255.255.255.0 UG 0 0 0 eth0

вот что удалось добиться:
Код: Выделить всё
root@host:~# cat /etc/dhcp/dhclient.conf
#option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;
request subnet-mask, broadcast-address, time-offset, routers,
domain-name, domain-name-servers, domain-search, host-name,
dhcp6.name-servers, dhcp6.domain-search,
netbios-name-servers, netbios-scope, interface-mtu,
ntp-servers;
#require subnet-mask, domain-name-servers;
Код: Выделить всё
root@host:~# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 10.255.9.1 0.0.0.0 UG 0 0 0 eth0
10.255.9.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
Как сделать так, чтобы работало? пока временно решил через авто пропись маршрута в /etc/network/interfaces:
Код: Выделить всё
up route add default gw 10.255.9.1 dev eth0