Есть модем ZTE ZXDSL 831 подключенный к одиночному компу. Модем настроен как роутер, DHCP включен. ip модема: 192.168.1.1 DHCP: 192.168.1.2 - 192.168.1.4 Здесь конфиг: http://www.sendspace.com/file/gm5ftk
Мои действия:
# ifconfig eth0 inet 192.168.1.2 netmask 255.255.255.0
# route add default gw 192.168.1.1 eth0 SIOCADDRT: File exists
# ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:0C:6E:8C:2C:64 inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 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:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:10
# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
Что не так?