Пытаюсь настроить подключение к сети через оптику. Провайдер дал ip - адреса для машины и шлюза. IP адрес белый. На машине два интерфейса один - локалка, другой - интернет. проблема в том, что нет связи. Линк есть. провайдер авторизацию видит.
На ноуте с windows xp sp3 - инет работает нормально
ifconfig
eth0 Link encap:Ethernet HWaddr 00:25:90:xx:xx:xx
inet addr:xxx.xxx.xxx.xxx Bcast:xxx.xxx.xxx.xxx Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:25 errors:0 dropped:0 overruns:0 frame:0
TX packets:388 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1508 (1.4 KiB) TX bytes:37009 (36.1 KiB)
Interrupt:233 Memory:fbce0000-fbd00000
eth1 Link encap:Ethernet HWaddr 00:25:90:xx:xx:xx
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16197 errors:0 dropped:0 overruns:0 frame:0
TX packets:664 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1505107 (1.4 MiB) TX bytes:340894 (332.9 KiB)
Interrupt:233 Memory:fbde0000-fbe00000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:7469 errors:0 dropped:0 overruns:0 frame:0
TX packets:7469 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:7535707 (7.1 MiB) TX bytes:7535707 (7.1 MiB)ping ya.ru
PING ya.ru (87.250.250.203) 56(84) bytes of data.
From xxx-xxx-xxx-xxx.dsl.esoo.ru (xxx.xxx.xxx.xxx) icmp_seq=2 Destination Host Unreachable
From xxx.xxx.xxx.xxx.dsl.esoo.ru (xxx.xxx.xxx.xxx) icmp_seq=3 Destination Host Unreachable
From xxx.xxx.xxx.xxx.dsl.esoo.ru (xxx.xxx.xxx.xxx) icmp_seq=4 Destination Host Unreachable
--- ya.ru ping statistics ---
7 packets transmitted, 0 received, +3 errors, 100% packet loss, time 5999ms
, pipe 3tracert ya.ru
traceroute to ya.ru (87.250.250.3), 30 hops max, 40 byte packets
1 xxx.xxx.xxx.xxx.dsl.esoo.ru (xxx.xxx.xxx.xxx) 3000.545 ms !H 3000.550 ms !H 3000.550 ms !Hip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:25:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:25:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ffnetstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
85.192.166.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
0.0.0.0 85.192.166.1 0.0.0.0 UG 0 0 0 eth0/sbin/service iptables stop
Сбрасываются правила брандмауэра: [ OK ]
Политика цепочек брандмауэра устанавливается в ACCEPT: nat [ OK ]ilter
Выгружаются модули [ OK ]
[root@ ~]# sysctl -w net.ipv4.ip_forward=1
net.ipv4.ip_forward = 1
[root@~]# ping ya.ru
PING ya.ru (93.158.134.3) 56(84) bytes of data.
From xxx-xxx-xxx-xxx.dsl.esoo.ru (xxx.xxx.xxx.xxx) icmp_seq=2 Destination Host Unreachable
From xxx-xxx-xxx-xxx.dsl.esoo.ru (xxx.xxx.xxx.xxx) icmp_seq=3 Destination Host Unreachable
From xxx-xxx-xxx-xxx.dsl.esoo.ru (xxx.xxx.xxx.xxx) icmp_seq=5 Destination Host Unreachable
From xxx-xxx-xxx-xxx.dsl.esoo.ru (xxx.xxx.xxx.xxx) icmp_seq=6 Destination Host Unreachable
--- ya.ru ping statistics ---
9 packets transmitted, 0 received, +4 errors, 100% packet loss, time 7997ms , pipe 2