Сначала настраивал VPN в SuSE, так что получил какой-то опыт.
После установки Mandriva скачал сразу же kvpnc и настроил профайл по образу и подобию.
Инет заработал, но как-то странно - большинство сайтов просто не ресолвятся.
Адреса получаются по DHCP.
Все ДНСы пингуются, rambler с yandexom открываются, а вот borland или intel не хотят.
В чем может быть проблема?
Код:
Mandriva
[root@localhost andrew]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:11:D8:9D:AA:B6
inet addr:192.168.219.66 Bcast:192.168.219.255 Mask:255.255.255.0
inet6 addr: fe80::211:d8ff:fe9d:aab6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5648 errors:0 dropped:0 overruns:0 frame:0
TX packets:532 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:882498 (861.8 KiB) TX bytes:78733 (76.8 KiB)
Interrupt:21
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.0.0.10 P-t-P:10.0.0.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1372 Metric:1
RX packets:431 errors:0 dropped:0 overruns:0 frame:0
TX packets:434 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:279997 (273.4 KiB) TX bytes:44182 (43.1 KiB)
[root@localhost andrew]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.219.0 0.0.0.0 255.255.255.0 U 10 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 10 0 0 eth0
0.0.0.0 10.0.0.1 0.0.0.0 UG 0 0 0 ppp0
[root@localhost andrew]# host www.ru
www.ru has address 194.87.0.50
www.ru mail is handled by 5 hq.demos.ru.
[root@localhost andrew]# host rambler.ru
rambler.ru has address 81.19.70.3
rambler.ru mail is handled by 5 imx1.rambler.ru.
[root@localhost andrew]# host borland.com
borland.com mail is handled by 10 borland-mx1.mail.eds.net.
borland.com mail is handled by 20 borland-mx2.mail.eds.net.
[root@localhost andrew]# host intel.ru
[root@localhost andrew]# host borland.ru
[root@localhost andrew]# ping borland.ru
ping: unknown host borland.ru
[root@localhost andrew]# ping www.mandriva.com
ping: unknown host www.mandriva.com
[root@localhost andrew]#Код:
OpenSuSE
landrew:/home/OpenSuSE/andrew # ifconfig
eth0 Link encap:Ethernet HWaddr 00:11:D8:9D:AA:B6
inet addr:192.168.219.218 Bcast:192.168.219.255 Mask:255.255.255.0
inet6 addr: fe80::211:d8ff:fe9d:aab6/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:10349 errors:0 dropped:0 overruns:0 frame:0
TX packets:1514 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1815259 (1.7 Mb) TX bytes:380037 (371.1 Kb)
Interrupt:209 Memory:feafc000-0
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:40 errors:0 dropped:0 overruns:0 frame:0
TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2608 (2.5 Kb) TX bytes:2608 (2.5 Kb)
ppp0 Link encap:Point-to-Point Protocol
inet addr:10.0.0.10 P-t-P:10.0.0.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1368 Metric:1
RX packets:1103 errors:0 dropped:0 overruns:0 frame:0
TX packets:1144 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:783627 (765.2 Kb) TX bytes:285723 (279.0 Kb)
landrew:/home/OpenSuSE/andrew # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.219.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 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 10.0.0.1 0.0.0.0 UG 0 0 0 ppp0