играть или работать?) одно другому не мешает, одновременно и играю, и учусь, и работаю, хехе. Есть желание понять)
cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
iface eth0 inet static
address 172.28.0.1
netmask 255.255.255.0
gateway 172.28.0.1
auto eth0
auto eth1
iface eth1 inet dhcp
файла /etc/dhcp3/dhcpclient.conf нету, есть такие:
ls /etc/dhcp
dhclient.conf dhclient-enter-hooks.d dhclient-exit-hooks.d dhcpd.conf
ls /etc/dhcp3
dhclient-enter-hooks.d dhcpd.conf
cat /etc/dhcp3/dhcpd.conf |grep -v ^#
subnet 172.28.0.0 netmask 255.255.255.0
cat /etc/dhcp/dhclient.conf | grep -v ^#
option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;
send host-name "<hostname>";
request subnet-mask, broadcast-address, time-offset, routers,
domain-name, domain-name-servers, domain-search, host-name,
netbios-name-servers, netbios-scope, interface-mtu,
rfc3442-classless-static-routes, ntp-servers,
dhcp6.domain-search, dhcp6.fqdn,
dhcp6.name-servers, dhcp6.sntp-servers;
DHCP сервер поднят на dnsmasq, если что
Пользователь решил продолжить мысль 11 Сентября 2012, 17:42:12:
а если прописываю вручную, то не поднимается интерфейс eth1 обратно, пишет
sudo /etc/init.d/networking restart
* Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
* Reconfiguring network interfaces... RTNETLINK answers: No such process
RTNETLINK answers: No such process
ssh stop/waiting
ssh start/running, process 4449
RTNETLINK answers: File exists
Failed to bring up eth1.
[ OK ]
в интерфейсы писал
auto eth1
iface eth1 inet static
address 192.168.1.6
netmask 255.255.255.0
gateway 192.168.1.1
Странно просто то, что оно получает всё кроме шлюза.