[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: woody als t-dsl-router



On Thu, 18 Apr 2002 21:12:34 +0200 (MEST)
Manuel Weichselbaumer <minskiproductions@gmx.de> wrote:


> Hallo!
> also hier die Ausgaben nach der Einwahl:
> 
> route -n sagt nun:
> 
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 217.5.98.173    0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
> 192.168.100.0   0.0.0.0         255.255.255.0   U     0      0        0 eth0
> 0.0.0.0         192.168.100.1   0.0.0.0         UG    0      0        0 eth0

Deine Routen sind falsch gesetzt. Der Gateway verschickt die Pakete, die eigentlich ins Internet sollen, nochmal an sich selber.
Probier mal folgendes:

'
route del 0.0.0.0 dev eth0   // Ich hoffe, er loescht dann das default GW (dritte Zeile deiner Route), bin mir nicht sicher
route add default gw 217.5.98.173
'
Dann müßte eigentlich der Internetanschluß auf Deinem Server funktionieren.
Ich könnte mir vorstellen, daß der pppd das default gw nicht setzt, da Du schon ein Gateway hast.
Überprüf aber trotzdem noch mal, ob in Deiner /etc/ppp/peers/deine-verbindung auch der Eintrag defaultroute steht.




 
> und ifconfig:
> 
> eth0      Link encap:Ethernet  HWaddr 00:60:97:80:3F:81  
>           inet addr:192.168.100.100  Bcast:192.168.100.255 
> Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:14 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100 
>           RX bytes:846 (846.0 b)  TX bytes:643 (643.0 b)
>           Interrupt:10 Base address:0x300 
> 
> lo        Link encap:Local Loopback  
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           UP LOOPBACK RUNNING  MTU:3924  Metric:1
>           RX packets:1 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0 
>           RX bytes:85 (85.0 b)  TX bytes:85 (85.0 b)
> 
> ppp0      Link encap:Point-to-Point Protocol  
>           inet addr:217.232.150.224  P-t-P:217.5.98.173 
> Mask:255.255.255.255
>           UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
>           RX packets:12 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:10 
>           RX bytes:366 (366.0 b)  TX bytes:392 (392.0 b)
> 
> und in meiner /etc/network/interfaces steht:

In deiner interfaces,  mußt Du ALLE Gateway-Eintraege rauskicken.


> # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
> 
> # The loopback interface
> # automatically added when upgrading
> auto lo
> iface lo inet loopback
> 
> # The first network card - this entry was created during the Debian
> installation
> # (network, broadcast and gateway are optional)
> # automatically added when upgrading
> auto eth0
> iface eth0 inet static
> 	address 192.168.100.100
> 	netmask 255.255.255.0
> 	network 192.168.100.0
> 	broadcast 192.168.100.255
> 	gateway 192.168.100.1
> 
> iface eth1 inet static
> 	address 192.168.100.1
> 	netmask 255.255.255.0
> 	network 192.168.100.0
> 	broadcast 192.168.100.255
> 	gateway 192.168.100.1
> ich sehe, dass es in meiner ifconfig Ausgabe heisst, das ppp0 device hätte
> die Maske 255.255.255.255, sollte die nicht 0.0.0.0 sein?

Nein, 255.255.255.255 ist korrekt. 
 
So, viel Glück.

ciao
Walde


-- 
Zum AUSTRAGEN schicken Sie eine Mail an debian-user-german-request@lists.debian.org
mit dem Subject "unsubscribe". Probleme? Mail an listmaster@lists.debian.org (engl)



Reply to: