Smerovani na linuxu

Jozef Fedorko effe na zln.cz
Středa Září 9 20:31:00 CEST 1998


Mam propojenny stanice A, B, a C nasledovne:
A(eth, IP 1)<---->(eth1, IP 2)B(eth0, IP 33)<------------>(eth, IP62)C
sit 0, mask 252                              sit 32 mask 224
Na stanici B chci routovat do obou podsiti.
Ping z B na A i C chodi bez problemu. Z C pingnu na B(eth0 i eth1), ne vsak
na A. Podobne z A pingnu na B(eth0 i eth1) nikoliv na C.
Poradite mi, co mam spatne nastavene?
____________________________________________________________________
Nastaveni routovani na stanici B

mail:~# 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.252 U     0      0        5 eth1
192.168.0.32   0.0.0.0         255.255.255.224 U     0      0        1 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        2 lo
0.0.0.0         192.168.0.1    0.0.0.0         UG    0      0        1 eth1
_____________________________________________________________________
Nastaveni karet na stanici B

mail:~# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
          UP BROADCAST LOOPBACK RUNNING  MTU:3584  Metric:1
          RX packets:30 errors:0 dropped:0 overruns:0 frame:0
          TX packets:30 errors:0 dropped:0 overruns:0 carrier:0 coll:0

eth0      Link encap:Ethernet 
          inet addr:192.168.0.33  Bcast:192.168.0.63  Mask:255.255.255.224
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:179 errors:0 dropped:0 overruns:0 frame:0
          TX packets:81 errors:0 dropped:0 overruns:0 carrier:0 coll:0
          Interrupt:15 Base address:0x6500

eth1      Link encap:Ethernet 
          inet addr:192.168.0.2  Bcast:192.168.0.3  Mask:255.255.255.252
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:709 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1073 errors:0 dropped:0 overruns:0 carrier:0 coll:0
          Interrupt:9 Base address:0x310


Jozef.Fedorko na zln.cz



Další informace o konferenci Linux