Всем привет!
У меня странная проблема с сетью. Загружаюсь с gentoo install cd (2008.0), нормально подключаюсь по pppoe, прописываются роуты и днс. Но пинг даже до шлюза не идёт. Хотя из кубунты всё работает. Разница есть в утилитах: тут я юзаю pppoeconf и pon, а на сд -- pppoe-setup и pppoe-start.
Конкретные данные:
из дженты:
из кубунты:Код:# ifconfig eth0 Link encap:Ethernet HWaddr 00:1F:C6:67:BF:43 inet6 addr: fe80::21f:c6ff:fe67:bf43/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:219 errors:0 dropped:0 overruns:0 frame:0 TX packets:30 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:24417 (23.8 Kb) TX bytes:4014 (3.9 Kb) Interrupt:18 Base address:0x8000 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:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:2 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:36 (36.0 b) TX bytes:36 (36.0 b) ppp0 Link encap:Point-to-Point Protocol inet addr:10.10.8.165 P-t-P:10.10.11.11 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1 RX packets:6 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:69 (69.0 b) TX bytes:69 (69.0 b) # route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.10.11.11 * 255.255.255.255 UH 0 0 0 ppp0 loopback * 255.0.0.0 U 0 0 0 lo default 10.10.11.11 0.0.0.0 UG 0 0 0 ppp0 # route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.10.11.11 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 10.10.11.11 0.0.0.0 UG 0 0 0 ppp0 # ping 10.10.11.11 -c4 PING 10.10.11.11 (10.10.11.11) 56(84) bytes of data. --- 10.10.11.11 ping statistics --- 4 packets transmitted, 0 received, 100% packet loss, time 3009ms
пробовал сделать роуты, как в кубунте:Код:$ ifconfig eth0 Link encap:Ethernet HWaddr 00:1f:c6:67:bf:43 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:725 errors:0 dropped:0 overruns:0 frame:0 TX packets:98 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:95019 (92.7 KB) TX bytes:13288 (12.9 KB) Interrupt:218 Base address:0xc000 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:58 errors:0 dropped:0 overruns:0 frame:0 TX packets:58 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:23864 (23.3 KB) TX bytes:23864 (23.3 KB) ppp0 Link encap:Point-to-Point Protocol inet addr:10.10.8.95 P-t-P:10.10.11.11 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1 RX packets:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:514 (514.0 B) TX bytes:460 (460.0 B) $ route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.10.11.11 * 255.255.255.255 UH 0 0 0 ppp0 default * 0.0.0.0 U 0 0 0 ppp0 $ route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.10.11.11 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0 $ ping 10.10.11.11 -c4 PING 10.10.11.11 (10.10.11.11) 56(84) bytes of data. 64 bytes from 10.10.11.11: icmp_seq=1 ttl=64 time=2.91 ms 64 bytes from 10.10.11.11: icmp_seq=2 ttl=64 time=2.82 ms 64 bytes from 10.10.11.11: icmp_seq=3 ttl=64 time=2.92 ms 64 bytes from 10.10.11.11: icmp_seq=4 ttl=64 time=2.98 ms --- 10.10.11.11 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 3002ms rtt min/avg/max/mdev = 2.825/2.912/2.983/0.056 ms
пинга всё равно нетКод:# ifconfig eth0 Link encap:Ethernet HWaddr 00:1F:C6:67:BF:43 inet6 addr: fe80::21f:c6ff:fe67:bf43/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:333 errors:0 dropped:0 overruns:0 frame:0 TX packets:69 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:34613 (33.8 Kb) TX bytes:7338 (7.1 Kb) Interrupt:18 Base address:0xc000 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:3 errors:0 dropped:0 overruns:0 frame:0 TX packets:3 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:54 (54.0 b) TX bytes:54 (54.0 b) ppp0 Link encap:Point-to-Point Protocol inet addr:10.10.8.137 P-t-P:10.10.11.11 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1 RX packets:6 errors:0 dropped:0 overruns:0 frame:0 TX packets:22 errors:0 dropped:2 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:69 (69.0 b) TX bytes:1357 (1.3 Kb) # удалил все роуты # route add 10.10.11.11 dev ppp0; route add default dev ppp0 # route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.10.11.11 * 255.255.255.255 UH 0 0 0 ppp0 default * 0.0.0.0 U 0 0 0 ppp0 # route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.10.11.11 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0 # ping 10.10.11.11 -c4 PING 10.10.11.11 (10.10.11.11) 56(84) bytes of data. --- 10.10.11.11 ping statistics --- 4 packets transmitted, 0 received, 100% packet loss, time 2999ms # удалил все роуты # route add default dev ppp0 # route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default * 0.0.0.0 U 0 0 0 ppp0 # route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0 # netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
в sabayon, backtrack и knoppix ситуация абсолютно такая же, как в дженте. в ubuntu 9.04 live cd -- как в моей кубунте.
но в sysresccd подключаюсь точно так же, как в дженте (и роуты те же). и пинг есть:
очень странно!Код:# ifconfig eth0 Link encap:Ethernet HWaddr 00:1f:c6:67:bf:43 inet6 addr: fe80::21f:c6ff:fe67:bf43/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:319 errors:0 dropped:0 overruns:0 frame:0 TX packets:43 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:30479 (29.7 KiB) TX bytes:5214 (5.0 KiB) Interrupt:217 Base address:0xc000 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: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) ppp0 Link encap:Point-to-Point Protocol inet addr:10.10.8.72 P-t-P:10.10.11.11 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1 RX packets:7 errors:0 dropped:0 overruns:0 frame:0 TX packets:7 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:453 (453.0 B) TX bytes:376 (376.0 B) # route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.10.11.11 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 10.10.11.11 0.0.0.0 UG 0 0 0 ppp0 # route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.10.11.11 * 255.255.255.255 UH 0 0 0 ppp0 loopback * 255.0.0.0 U 0 0 0 lo default 10.10.11.11 0.0.0.0 UG 0 0 0 ppp0 # ping 10.10.11.11 -c4 PING 10.10.11.11 (10.10.11.11) 56(84) bytes of data. 64 bytes from 10.10.11.11: icmp_seq=1 ttl=64 time=3.07 ms 64 bytes from 10.10.11.11: icmp_seq=3 ttl=64 time=3.09 ms 64 bytes from 10.10.11.11: icmp_seq=4 ttl=64 time=3.24 ms --- 10.10.11.11 ping statistics --- 4 packets transmitted, 3 received, 25% packet loss, time 3001ms rtt min/avg/max/mdev = 3.073/3.136/3.245/0.089 ms
Не могу понять, в чём проблема. Подскажите, пожалуйста, в какую сторону копать??? Заранее спасибо.




Тема:

Ответить с цитированием
Социальные закладки