RE: pptp, routing, usw.
> From: Reinhold Plew [mailto:Reinhold.Plew@aedon-its.de]
>
> [...]
>
Hi Reinhold,
> Gut, eth0 ist das IF, über welches Du in's Internet gehst.
> Über diese verbindung etablierst Du den Tunnel via ppp0.
> Über diesen Tunnel erreichst Du die IP-Adresse 160.45.116.1 und, lt.
> Maske, nur diese.
>
> Dein Ping wird aber von 160.45.116.22 geschickt, sollte also Deine
> IP-Adresse von ppp0 sein:
> PING heise.de (193.99.144.80) from 160.45.116.22 ppp0
>
> Was sagt den ifconfig?
> Dein Notbook ist die rosine22?
>
rosine22.inf.fu-berlin.de ist ein Rechner der Uni und der hat
zufälligerweise die ip 160.45.116.22 (also meine locale IP von ppp0).
Also ich hab noch mal alles wie gewohnt wiederholt und die ifconfig + den
rest von messages mit rangehängt:
---
crash:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
crash:~# pptp luftbruecke.inf.fu-berlin.de user venthur noauth defaultroute
crash:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
160.45.116.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
crash:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:C0:9F:1D:36:8B
inet addr:192.168.1.70 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::2c0:9fff:fe1d:368b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:62625 errors:0 dropped:0 overruns:0 frame:0
TX packets:47199 errors:2 dropped:0 overruns:2 carrier:0
collisions:0 txqueuelen:1000
RX bytes:70081185 (66.8 MiB) TX bytes:11344138 (10.8 MiB)
Interrupt:11 Base address:0xb000
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:565 errors:0 dropped:0 overruns:0 frame:0
TX packets:565 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:31356 (30.6 KiB) TX bytes:31356 (30.6 KiB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:160.45.116.22 P-t-P:160.45.116.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1496 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:98 (98.0 b) TX bytes:92 (92.0 b)
crash:~# tail /var/log/messages
Apr 28 19:56:41 crash -- MARK --
Apr 28 20:16:41 crash -- MARK --
Apr 28 20:27:07 crash pppd[26403]: pppd 2.4.2 started by root, uid 0
Apr 28 20:27:07 crash pppd[26403]: Using interface ppp0
Apr 28 20:27:07 crash pppd[26403]: Connect: ppp0 <--> /dev/pts/12
Apr 28 20:27:10 crash pppd[26403]: MPPE 128-bit stateless compression
enabled
Apr 28 20:27:12 crash pppd[26403]: local IP address 160.45.116.22
Apr 28 20:27:12 crash pppd[26403]: remote IP address 160.45.116.1
Apr 28 20:28:20 crash kernel: device ppp0 entered promiscuous mode
Apr 28 20:28:53 crash kernel: device ppp0 left promiscuous mode
crash:~#
---
(die letzten beiden Zeilen wegen tcpdump). Ich hoffe du kannst damit was
anfangen ;) Vermutlich/Hoffentlich fehlt nur noch der richtige route-Befehl
und ich habe dieses leidige Thema endlich hinter mir. Die korrekte
Installation von mppe|c war ja schon eine halbe Odyssee...
Jedenfalls danke noch einmal für die Mühe und schöne Grüße
Bastian
Reply to: