omluva-to routovani mi fakt nejde

Jakub Mrázek Mrazek na vsps-su.cz
Pondělí Listopad 12 17:05:58 CET 2001


Omlouvam se, ale fakt mi to routovani nejde. Pokusim se co nejpresneji popsat situaci. Ucebna je fyzicky na 1 segmentu (TP), ale z vyukovych ucelu chci ukazat nastaveni statickeho (a pozdeji samozrejme i dynamickeho) routovani.

Zkousel jsem nastavit nasledujici situaci:
(vsechny IP jsou z 192.168, takze napr. adresou 201.1 mam na mysli 192.168.201.1)
"stanice"--------"router"-----------"router"-----------"stanice"
Linux11-----------Linux8-------------Linux16------------Linux1
206.2---------206.100 x 204.2---204.100 x 201.100--------201.1

Presne vypisy prikazu ifconfig a route prikladam na konci - napiste mi prosim, kde delam chybu (je-li neco zbytecne, nechybi neco?). Pripadne jake by bylo lepsi staticke reseni?

co jeste jde - kupodivu ping z 201.1 na (az) 206.100, ale na 206.2, coz by bylo cilem meho snazeni to uz neprojde :-(
ani z 204.100 nejde na 206.2 :-(

ted uz jen ty vypisy...

P.S.:Budu rad za jakoukoliv radu...


Linux11
-------
eth0 Link encap:Ethernet HWaddr 00:00:E8:45:80:AF
inet addr:192.168.206.2 Bcast:192.168.206.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:647 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
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:34 errors:0 dropped:0 overruns:0 frame:0
TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.206.0 * 255.255.255.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default 192.168.206.100 0.0.0.0 UG 0 0 0 eth0

Linux8
------
eth0 Link encap:Ethernet HWaddr 00:00:C0:9C:84:60
inet addr:192.168.204.2 Bcast:192.168.204.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3740 errors:0 dropped:0 overruns:0 frame:0
TX packets:1095 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:10 Base address:0x310 Memory:cc000-d0000

eth0:0 Link encap:Ethernet HWaddr 00:00:C0:9C:84:60
inet addr:192.168.206.100 Bcast:192.168.206.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:10 Base address:0x310 Memory:cc000-d0000

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:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.201.0 192.168.204.100 255.255.255.0 UG 0 0 0 eth0
192.168.204.0 * 255.255.255.0 U 0 0 0 eth0
192.168.206.0 * 255.255.255.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo


Linux16
-------
eth0 Link encap:Ethernet HWaddr 00:01:02:DC:4A:BB
inet addr:192.168.201.100 Bcast:192.168.201.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:10545 errors:0 dropped:0 overruns:0 frame:0
TX packets:3894 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:10 Base address:0x9400

eth0:0 Link encap:Ethernet HWaddr 00:01:02:DC:4A:BB
inet addr:192.168.204.100 Bcast:192.168.204.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:10 Base address:0x9400

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:44 errors:0 dropped:0 overruns:0 frame:0
TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.201.0 * 255.255.255.0 U 0 0 0 eth0
192.168.204.0 * 255.255.255.0 U 0 0 0 eth0
192.168.206.0 192.168.204.2 255.255.255.0 UG 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo

Linux1
------
eth0 Link encap:Ethernet HWaddr 00:00:E8:45:7B:CE
inet addr:192.168.201.1 Bcast:192.168.201.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2148 errors:0 dropped:0 overruns:0 frame:0
TX packets:559 errors:0 dropped:0 overruns:0 carrier:0
collisions:2 txqueuelen:100
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:34 errors:0 dropped:0 overruns:0 frame:0
TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.201.0 * 255.255.255.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default 192.168.201.100 0.0.0.0 UG 0 0 0 eth0


Mgr. Jakub Mrázek
VOS a SPS Sumperk
tel. 0649/326213
mrazek na vsps-su.cz, lef na email.cz
http://www.vsps-su.cz



Další informace o konferenci Linux