l2tp подключается но не чего не пингуется
chipset 12 марта, 2012 - 14:10
ifconfig eth0 Link encap:Ethernet HWaddr 00:50:8d:91:74:32 inet addr:10.64.116.112 Bcast:10.64.117.255 Mask:255.255.254.0 inet6 addr: fe80::250:8dff:fe91:7432/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:45472 errors:0 dropped:0 overruns:0 frame:0 TX packets:18912 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:16871900 (16.0 MiB) TX bytes:2679155 (2.5 MiB) Interrupt:44 Base address:0x2000 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:1889 errors:0 dropped:0 overruns:0 frame:0 TX packets:1889 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:331050 (323.2 KiB) TX bytes:331050 (323.2 KiB) ppp0 Link encap:Point-to-Point Protocol inet addr:91.203.66.125 P-t-P:10.100.0.1 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1460 Metric:1 RX packets:4 errors:0 dropped:0 overruns:0 frame:0 TX packets:8524503 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:40 (40.0 B) TX bytes:3784639530 (3.5 GiB)
route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 10.100.0.1 0.0.0.0 UG 0 0 0 ppp0 0.0.0.0 10.64.117.254 0.0.0.0 UG 202 0 0 eth0 10.64.116.0 0.0.0.0 255.255.254.0 U 202 0 0 eth0 10.100.0.1 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
Думаю косяк именно в маршрутах
Ну и логи:
[xl2tpd] Connecting to host 172.31.1.246, port 1701_ Mar 12 13:51:13 [xl2tpd] Connection established to 172.31.1.246, 1701. Local: 25894, Remote: 52139 (ref=0/0)._ Mar 12 13:51:13 [xl2tpd] Calling on tunnel 25894_ Mar 12 13:51:13 [xl2tpd] Call established with 172.31.1.246, Local: 32867, Remote: 3394, Serial: 1 (ref=0/0)_ Mar 12 13:51:13 [pppd] pppd 2.4.5 started by chipset, uid 0 Mar 12 13:51:13 [pppd] Using interface ppp0 Mar 12 13:51:13 [pppd] Connect: ppp0 <--> /dev/pts/4 Mar 12 13:51:13 [pppd] CHAP authentication succeeded - Last output repeated twice - Mar 12 13:51:13 [dhcpcd] ppp0: sending IPv6 Router Solicitation Mar 12 13:51:13 [dhcpcd] ppp0: sendmsg: Network is unreachable Mar 12 13:51:13 [dhcpcd] ppp0: waiting for 3rd party to configure IP address Mar 12 13:51:13 [pppd] local IP address 91.203.66.125 Mar 12 13:51:13 [pppd] remote IP address 10.100.0.1 Mar 12 13:51:13 [dhcpcd] ppp0: removing IP address 0.0.0.0/0 Mar 12 13:51:13 [bcrelay] Active interface set changed to: eth0(0/2/5) ppp0(1/43/6) Mar 12 13:51:16 [bcrelay] UDP_BroadCast(sp=67,dp=68) from: eth0 relayed to: ppp0 - Last output repeated twice - Mar 12 13:51:17 [dhcpcd] ppp0: sending IPv6 Router Solicitation Mar 12 13:51:17 [dhcpcd] ppp0: sendmsg: Network is unreachable Mar 12 13:51:21 [dhcpcd] ppp0: sending IPv6 Router Solicitation Mar 12 13:51:21 [dhcpcd] ppp0: sendmsg: Network is unreachable Mar 12 13:51:25 [dhcpcd] ppp0: sending IPv6 Router Solicitation Mar 12 13:51:25 [dhcpcd] ppp0: sendmsg: Network is unreachable Mar 12 13:51:25 [dhcpcd] ppp0: no IPv6 Routers available Mar 12 13:51:26 [bcrelay] UDP_BroadCast(sp=68,dp=67) from: eth0 relayed to: ppp0 Mar 12 13:51:30 [bcrelay] UDP_BroadCast(sp=67,dp=68) from: eth0 relayed to: ppp0 - Last output repeated twice - Mar 12 13:51:30 [bcrelay] ignored ENOBUFS from sendto(), temporary shortage of buffer memory Mar 12 13:51:30 [bcrelay] UDP_BroadCast(sp=67,dp=68) from: eth0 relayed to: ppp0 Mar 12 13:51:30 [bcrelay] ignored ENOBUFS from sendto(), temporary shortage of buffer memory Mar 12 13:51:30 [bcrelay] UDP_BroadCast(sp=67,dp=68) from: eth0 relayed to: ppp0 Mar 12 13:51:34 [bcrelay] ignored ENOBUFS from sendto(), temporary shortage of buffer memory Mar 12 13:51:34 [bcrelay] UDP_BroadCast(sp=67,dp=68) from: eth0 relayed to: ppp0 Mar 12 13:51:34 [bcrelay] ignored ENOBUFS from sendto(), temporary shortage of buffer memory Mar 12 13:51:34 [bcrelay] UDP_BroadCast(sp=67,dp=68) from: eth0 relayed to: ppp0 Mar 12 13:51:41 [bcrelay] UDP_BroadCast(sp=68,dp=67) from: eth0 relayed to: ppp0 Mar 12 13:51:41 [bcrelay] UDP_BroadCast(sp=67,dp=68) from: eth0 relayed to: ppp0 - Last output repeated twice - Mar 12 13:51:45 [bcrelay] UDP_BroadCast(sp=68,dp=67) from: eth0 relayed to: ppp0 - Last output repeated twice - Mar 12 13:51:53 [bcrelay] UDP_BroadCast(sp=67,dp=68) from: eth0 relayed to: ppp0 Mar 12 13:51:57 [bcrelay] UDP_BroadCast(sp=68,dp=67) from: eth0 relayed to: ppp0 - Last output repeated twice - Mar 12 13:52:12 [bcrelay] UDP_BroadCast(sp=67,dp=68) from: eth0 relayed to: ppp0 Mar 12 13:52:26 [bcrelay] ignored ENOBUFS from sendto(), temporary shortage of buffer memory Mar 12 13:52:26 [bcrelay] UDP_BroadCast(sp=67,dp=68) from: eth0 relayed to: ppp0 Mar 12 13:52:30 [bcrelay] UDP_BroadCast(sp=68,dp=67) from: eth0 relayed to: ppp0 Mar 12 13:52:42 [bcrelay] UDP_BroadCast(sp=67,dp=68) from: eth0 relayed to: ppp0 - Last output repeated 2 times - Mar 12 13:53:35 [bcrelay] UDP_BroadCast(sp=68,dp=67) from: eth0 relayed to: ppp0 Mar 12 13:53:52 [bcrelay] ignored ENOBUFS from sendto(), temporary shortage of buffer memory Mar 12 13:53:52 [bcrelay] UDP_BroadCast(sp=67,dp=68) from: eth0 relayed to: ppp0
»
- Для комментирования войдите или зарегистрируйтесь
Лучше покажите xl2tpd.conf и
Лучше покажите xl2tpd.conf и опции для ppp (по умолчанию они вроде в файле /etc/ppp/options.xl2tp).
Пробуйте убрать опцию defaultroute из options.xl2tp.
У вас похоже xl2tpd подвис и "закольцевал" сам себя. на интерфейсе ppp0 переданных пакетов на 3,5 гигабайта.
Подозреваю, что defaultroute неправильный и мешает.
Я когда настраивал себе IPsec/L2TP в конце-концов свел весь файл options.xl2tpd на клиенте к одной строке
name