Hallo Alexander, * Alexander Schmehl <alex@a-schmehl.de> [21-02-02 05:02]: > alex@annuminas:~ $ cat /etc/network/interfaces > auto lo eth0 > iface lo inet loopback > iface eth0 inet static > address 192.168.1.10 > netmask 255.255.255.0 > network 192.168.1.0 > broadcast 192.168.1.255 > gateway 192.168.1.20 Ist auch richtig so. > Nachdem ich dann manuell ein "route add default gw 192.168.1.20" > ausgeführt habe klappt alles: > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use Iface > 10.0.0.2 0.0.0.0 255.255.255.255 UH 0 0 0 ippp0 > 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 > 0.0.0.0 192.168.1.20 0.0.0.0 UG 0 0 0 eth0 > 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ippp0 > > Wieso funktioniert das nicht? Bzw. in welcher manpage sollte ich noch > nachlesen ;) Ich denke, daß das Problem an der Default Route für das ippp0 liegt. Alle Pakete, die nicht ins LAN gehen, können sich bei dir aussuchen, ob sie auf eth0 oder ippp0 gehen. Gruss Udo -- ComputerService Müller | You want my PGP-Key? | Key: 0xAD0EEC22 Kaspersweg 11a | mail -s "get pgp-key" | Tel: 0441-36167578 26131 Oldenburg | AD0EEC22 is not guilty | Mobil: 0162-4365411 Registrierter Linux-User #225706 auf Debian GNU/Linux 2.4.17
Attachment:
pgpvz5N4QUOe1.pgp
Description: PGP signature