Morgen Christian, Christian Kuecherer <Christian.Kuecherer@ccrle.nec.de> 08/15 2:27 >>>
das Problem hatte ich auch. Soweit ich das von den Logs her sehe, ist die default route über eth0. D.h. wenn Du eine Website aufrufen willst, geht der Request über eth0 (172.16.204.212)
Ja genau so ist es!
nicht über ppp.
Wie kommt das zu Stande? Im log steht dass die Verbindung über ppp0 aufgebaut wird: ----------------------------------------------------------------------------------- Aug 17 22:06:01 linux pppd[3211]: pppd 2.4.1 started by root, uid 0 Aug 17 22:06:01 linux pppd[3211]: using channel 3 Aug 17 22:06:01 linux pppd[3211]: Using interface ppp0 Aug 17 22:06:01 linux pppd[3211]: Connect: ppp0 <--> /dev/pts/4 -----------------------------------------------------------------------------------
Der schnelle Hack ist, eth0 abzuschalten, bevor Du ins Internet gehst. ifconfig eth0 down
Wenn ich eth0 abschalte dann
Dann ins Web einwählen.
kann ich pptp nicht mehr starten! Oder wie hast du du das gemacht? Vielen Dank im Vorraus mfg mIke P.S.: Hier der Auszug aus ifconfig und tail -f /var/log/messages, der Traffic läuft über eth0 (tcpdump -i eth0) über ppp0 läuft kaum Traffic! ----------------------------ifconfig:---------------------------- eth0 Protokoll:Ethernet Hardware Adresse 00:A0:C9:29:03:80 inet Adresse:172.16.204.212 Bcast:172.16.204.255 Maske:255.255.255.0 inet6 Adresse: fe80::2a0:c9ff:fe29:380/64 Gültigkeitsbereich:Verbindung UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1029 errors:0 dropped:0 overruns:0 frame:0 TX packets:359 errors:44 dropped:0 overruns:0 carrier:44 Kollisionen:0 Sendewarteschlangenlänge:100 RX bytes:87354 (85.3 Kb) TX bytes:82516 (80.5 Kb) Interrupt:9 Basisadresse:0xd800 Speicher:e7800000-e7800038 lo Protokoll:Lokale Schleife inet Adresse:127.0.0.1 Maske:255.0.0.0 inet6 Adresse: ::1/128 Gültigkeitsbereich:Maschine UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:865 errors:0 dropped:0 overruns:0 frame:0 TX packets:865 errors:0 dropped:0 overruns:0 carrier:0 Kollisionen:0 Sendewarteschlangenlänge:0 RX bytes:54904 (53.6 Kb) TX bytes:54904 (53.6 Kb) ppp0 Protokoll:Punkt-zu-Punkt Verbindung inet Adresse:81.223.98.22 P-z-P:62.99.171.187 Maske:255.255.255.255 UP PUNKTZUPUNKT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:4 errors:0 dropped:0 overruns:0 frame:0 TX packets:5 errors:0 dropped:0 overruns:0 carrier:0 Kollisionen:0 Sendewarteschlangenlänge:3 RX bytes:58 (58.0 b) TX bytes:79 (79.0 b) ----------------------------ifconfig:---------------------------- ----------------------------tail -f /var/log/messages---------------------------- ug 17 22:05:59 linux pptp[3206]: anon log[main:pptp.c:174]: The synchronous ppt p option is NOT activated Aug 17 22:06:00 linux pptp[3209]: anon log[pptp_dispatch_ctrl_packet:pptp_ctrl.c :581]: Client connection established. Aug 17 22:06:01 linux pptp[3209]: anon log[pptp_dispatch_ctrl_packet:pptp_ctrl.c :709]: Outgoing call established (call ID 0, peer's call ID 31599). Aug 17 22:06:01 linux pppd[3211]: pppd 2.4.1 started by root, uid 0 Aug 17 22:06:01 linux pppd[3211]: using channel 3 Aug 17 22:06:01 linux pppd[3211]: Using interface ppp0 Aug 17 22:06:01 linux pppd[3211]: Connect: ppp0 <--> /dev/pts/4 Aug 17 22:06:01 linux pppd[3211]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x73c7d3c2> <pcomp> <accomp>] Aug 17 22:06:03 linux pptp[3227]: anon log[decaps_hdlc:pptp_gre.c:198]: PPP mode seems to be Asynchronous. Aug 17 22:06:03 linux pppd[3211]: rcvd [LCP ConfRej id=0x1 <asyncmap 0x0> <pcomp
<accomp>] Aug 17 22:06:03 linux pppd[3211]: sent [LCP ConfReq id=0x2 <magic 0x73c7d3c2>] Aug 17 22:06:03 linux pppd[3211]: rcvd [LCP ConfAck id=0x2 <magic 0x73c7d3c2>] Aug 17 22:06:03 linux pppd[3211]: rcvd [LCP ConfReq id=0x0 <auth pap> <magic 0xb 3f405a1>] Aug 17 22:06:03 linux pppd[3211]: sent [LCP ConfAck id=0x0 <auth pap> <magic 0xb 3f405a1>] Aug 17 22:06:03 linux pppd[3211]: cbcp_lowerup Aug 17 22:06:03 linux pppd[3211]: want: 2 Aug 17 22:06:03 linux pppd[3211]: sent [PAP AuthReq id=0x1 user="user und Passwort"] Aug 17 22:06:05 linux pppd[3211]: rcvd [PAP AuthAck id=0x1] Aug 17 22:06:05 linux pppd[3211]: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <comp ress VJ 0f 01>] Aug 17 22:06:05 linux pppd[3211]: sent [CCP ConfReq id=0x1 <deflate 15> <deflate (old#) 15> <bsd v1 15>] Aug 17 22:06:05 linux pppd[3211]: rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 00> <addr 62.99.171.187>] Aug 17 22:06:05 linux pppd[3211]: sent [IPCP ConfAck id=0x1 <compress VJ 0f 00> <addr 62.99.171.187>] Aug 17 22:06:05 linux pppd[3211]: rcvd [IPCP ConfReq id=0x2 <compress VJ 0f 00> <addr 62.99.171.187>] Aug 17 22:06:05 linux pppd[3211]: sent [IPCP ConfAck id=0x2 <compress VJ 0f 00> <addr 62.99.171.187>] Aug 17 22:06:05 linux pppd[3211]: rcvd [IPCP ConfNak id=0x1 <addr 81.223.98.22>] Aug 17 22:06:05 linux pppd[3211]: sent [IPCP ConfReq id=0x2 <addr 81.223.98.22> <compress VJ 0f 01>] Aug 17 22:06:05 linux pppd[3211]: rcvd [LCP ProtRej id=0x3 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f] Aug 17 22:06:05 linux pppd[3211]: rcvd [IPCP ConfAck id=0x2 <addr 81.223.98.22> <compress VJ 0f 01>] Aug 17 22:06:05 linux pppd[3211]: local IP address 81.223.98.22 Aug 17 22:06:05 linux pppd[3211]: remote IP address 62.99.171.187 Aug 17 22:06:05 linux pppd[3211]: Script /etc/ppp/ip-up started (pid 3229) Aug 17 22:06:05 linux pppd[3211]: Script /etc/ppp/ip-up finished (pid 3229), sta tus = 0x0 Aug 17 22:06:08 linux pppd[3211]: rcvd [LCP EchoReq id=0x1 magic=0xb3f405a1 00 2 d 0f 01] Aug 17 22:06:08 linux pppd[3211]: sent [LCP EchoRep id=0x1 magic=0x73c7d3c2 00 2 d 0f 01] Aug 17 22:06:18 linux pppd[3211]: rcvd [LCP EchoReq id=0x2 magic=0xb3f405a1 00 2 d 0f 01] Aug 17 22:06:18 linux pppd[3211]: sent [LCP EchoRep id=0x2 magic=0x73c7d3c2 00 2 d 0f 01]
----------------------------tail -f /var/log/messages----------------------------