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

[Debian] routing for dummies



gruss,

gesucht: ein brett-vorm-kopf-zertruemmerer

vor ein paar tagen meinen zweitrechner(t900) zusammengebaut, mit meinem
altrechner(p166) ueber ethernet verbunden und sammle jetzt erste
erfahrungen mit der netzwerkerei.

inet <-> modem <-> p166 <-> switch <-> t900

auf p166 laeuft slink mit kernel 2.2.16, auf t900 potato mit 2.2.17.
folgendes klappt inzwischen:

nameserver mit bind auf p166
telnet, ftp p166 <-> t900
mounten von p166 ueber nfs auf t900

was nicht klappt, ist das routen von t900 aus ins inet. beispiel: ich
sitze vor t900, habe mich auf console 1 bei p166 eingeloggt und setze
ein ping ab:

hafi@p166:~$ ping ftp.debian.org
PING ftp.debian.org (216.66.54.50): 56 data bytes
64 bytes from 216.66.54.50: icmp_seq=0 ttl=248 time=233.7 ms
64 bytes from 216.66.54.50: icmp_seq=1 ttl=248 time=230.0 ms
64 bytes from 216.66.54.50: icmp_seq=2 ttl=248 time=230.1 ms

--- ftp.debian.org ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 230.0/231.2/233.7
ms                                                
   
also alles in ordnung.

jetzt das gleiche von console 2 aus, an der ich mich bei t900 eingeloggt
habe:

hafi@t900:~$ ping ftp.debian.org
PING ftp.debian.org (216.66.54.50): 56 data bytes

--- ftp.debian.org ping statistics ---
7 packets transmitted, 0 packets received, 100% packet loss

dns klappt, routing offenbar nicht.

es folgen die fuer die diagnose notwendigen und hoffentlich
hinreichenden angaben:

hafi@p166:~$ ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:E0:7D:7D:90:44  
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2280 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2166 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          Interrupt:9 Base address:0xe400 

hafi@p166:~$ route -n
Kernel IP routing table
Destination   Gateway      Genmask         Flags Metric Ref   Use Iface
192.168.0.0   0.0.0.0      255.255.255.0   U     0      0       0 eth0

hafi@t900:~$ ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:E0:7D:7D:90:31  
          inet addr:192.168.0.2  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2192 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2311 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          Interrupt:10 Base address:0xe000 

hafi@pt900:~$ route -n
Kernel IP routing table
Destination   Gateway      Genmask         Flags Metric Ref   Use Iface
192.168.0.0   0.0.0.0      255.255.255.0   U     0      0       0 eth0
0.0.0.0       192.168.0.1  0.0.0.0         UG    0      0       0 eth0


was ist falsch, welche notwendigen infos fehlen noch? 

cu
-- 
hafi


---------------------------------------------------------
Um sich aus der Liste auszutragen schicken Sie bitte eine
E-Mail an debian-user-de-request@lehmanns.de die im Body
"unsubscribe <deine_email_adresse>" enthaelt.
Bei Problemen bitte eine Mail an: Jan.Otto@Lehmanns.de
---------------------------------------------------------

753 eingetragene Mitglieder in dieser Liste.



Reply to: