Problem s routovanim

npa na post.cz npa na post.cz
Středa Červenec 29 16:28:18 CEST 1998


Omlouvam se. Zapomel jsem rici kde je problem.
Problem je v tom, ze kddyz dam ping do vnitrni site pocitac pouzije kartu pro vnejsi sit. V praxi to vypada si takto:

[root na ignor irc]# /usr/sbin/traceroute 131.107.1.135
traceroute: Warning: Multiple interfaces found; using 195.212.193.145 @ eth0
traceroute to 131.107.1.135 (131.107.1.135), 30 hops max, 40 byte packets
 1  * * 

ty hvezdicky tam jsou proto, ze nas firewall nepusti icmp paket do vnitrni site.

> 
> Mam problem s routovanim. V RedHat 5.0 mam 2 sitove karty.
> Jedna karta je ve vnitni siti a druha je venku.
> 
> pokud napisu ifconfig dostanu toto:
> 
> 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:50 errors:0 dropped:0 overruns:0
>           TX packets:50 errors:0 dropped:0 overruns:0
> 
> eth0      Link encap:Ethernet  HWaddr 00:60:97:7A:A1:E3
>           inet addr:195.212.193.145  Bcast:195.212.193.255  Mask:255.255.255.128
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:136 errors:0 dropped:0 overruns:0
>           TX packets:80 errors:0 dropped:0 overruns:0
>           Interrupt:10 Base address:0x300
> 
> eth1      Link encap:Ethernet  HWaddr 00:80:5F:DD:41:67
>           inet addr:131.107.1.8  Bcast:131.107.1.255  Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:386 errors:0 dropped:0 overruns:0
>           TX packets:52 errors:0 dropped:0 overruns:0
>           Interrupt:3 Base address:0x1400
> 
> 
> pokud napisu route dostanu toto:
> 
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 195.212.193.128 0.0.0.0         255.255.255.128 U     0      0       94 eth0
> 131.107.1.0     0.0.0.0         255.255.255.0   U     0      0        3 eth1
> 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        6 lo
> 0.0.0.0         195.212.193.129 0.0.0.0         UG    0      0 
>                                                       
>  pri startu systemu se pise:
> INIT: entering runlevel:3
> Starting kerneld services.
> SIOCADDRT: Network id unchereable
> 
> npa na post.cz
> Pavel Novotny
> 
			



Další informace o konferenci Linux