Вот route сейчас когда все работает
[root@host ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
195.5.5.206 * 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
default 195.5.5.206 0.0.0.0 UG 0 0 0 ppp0
Здесь route до смены IP локального интерфейсас
[root@host ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
И команда очень долго выполнялась, порядка полминуты система думала.
Иногда загружала
[root@host ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
195.5.5.206 * 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
default 195.5.5.206 0.0.0.0 UG 0 0 0 ppp0
но интернет все равно не работал
пинг
Либо host uncreacable, либо network uncreacable
или же после долгих раздумий
[root@host ~]# ping ya.ru
PING ya.ru (93.158.134.3) 56(84) bytes of data.
64 bytes from www.yandex.ru (93.158.134.3): icmp_seq=0 ttl=57 time=348 ms
64 bytes from www.yandex.ru (93.158.134.3): icmp_seq=1 ttl=57 time=470 ms
64 bytes from www.yandex.ru (93.158.134.3): icmp_seq=2 ttl=57 time=472 ms
64 bytes from www.yandex.ru (93.158.134.3): icmp_seq=3 ttl=57 time=358 ms
64 bytes from www.yandex.ru (93.158.134.3): icmp_seq=4 ttl=57 time=390 ms
Host uncreacable..
Host uncreacable..
ifconfig (eth0 внешний, eth1 локалка)
[root@host ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:80:48:45:D9:86
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::280:48ff:fe45:d986/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1214330 errors:0 dropped:0 overruns:0 frame:0
TX packets:1076967 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1091416699 (1.0 GiB) TX bytes:336771228 (321.1 MiB)
Interrupt:5 Base address:0x9000
eth1 Link encap:Ethernet HWaddr 00:11:5B:AC:5D:BA
inet addr:192.168.1.250 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::211:5bff:feac:5dba/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1659193 errors:0 dropped:0 overruns:0 frame:0
TX packets:1081202 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:377841935 (360.3 MiB) TX bytes:1076153732 (1.0 GiB)
Interrupt:11 Base address:0x4000
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:16436 Metric:1
RX packets:463 errors:0 dropped:0 overruns:0 frame:0
TX packets:463 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:40728 (39.7 KiB) TX bytes:40728 (39.7 KiB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:82.220.119.68 P-t-P:195.5.5.206 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:1213399 errors:0 dropped:0 overruns:0 frame:0
TX packets:1076020 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:1064665525 (1015.3 MiB) TX bytes:313041650 (298.5 MiB)
Извините, пишу по памяти, поскольку сейчас подключаюсь удаленно, и если упадет сеть, то не смогу поднять.
Спасибо за совет.