2 sitove karty + routovani
David Rohleder
davro na ics.muni.cz
Úterý Květen 18 10:13:17 CEST 1999
malek na gyrec.cz (Arnost Malek) writes:
> Mam v linuxu dve sitovky. Jedna ma svoji IP adresu, na druhe je sit
> 10.0.0.0 No a to je muj problem. Z te desitkove site si pinknu jen na
> rozhrani na servru 10.0.0.1, ale dal uz ne. V jadru podporu mam, pridal
> jsem sit "route add -net 10.0.0.0 netmask 255.255.255.0 dev eth1" ale nic.
> Jeste vypis route :
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 194.108.10.224 * 255.255.255.224 U 0 0 66
> eth0
> 10.0.0.0 * 255.255.255.0 U 0 0 1
> eth1
> 127.0.0.0 * 255.0.0.0 U 0 0 2 lo
> default gate.gyrec.cz 0.0.0.0 UG 0 0 28
> eth0
>
> ... nemusi se jeste nekam neco napsat? JE to linux RedHat 5.2. Diky
A mate zapnuty forwarding ve startovacich skriptech?
zkuste
cat /proc/sys/net/ipv4/ip_forward
pokud je tam 0, tak ne.
v souboru /etc/sysconfig/network je polozka
FORWARD_IPV4=(no|false|true|yes|nebo_neco_uplne_jineho_co_zapina_forwarding)
> Arnost
-------------------------------------------------------------------------
David Rohleder davro na ics.muni.cz
Institute of Computer Science, Masaryk University
Brno, Czech Republic
-------------------------------------------------------------------------
Další informace o konferenci Linux