Mailinglist Archive: opensuse (4348 mails)

< Previous Next >
Static rputing between 2 networks
  • From: Marek Libra <xlibra@xxxxxxxxxxxxxxxxxxx>
  • Date: Tue, 1 Oct 2002 14:48:41 +0200
  • Message-id: <Pine.SGI.4.21.0210011422000.3620675-100000@xxxxxxxxxxxxxxx>
Hi,

There are 2 ethernet interfaces in PC with SuSE 8.0. I can ping from this
router to computers from
the two networks (The 1st is 192.168.1.0/24, the other is
192.168.2.0/24). I can ping my router from each net too (both IP's
associated to both interfaces). But it's not posiible to ping FROM ONE TO
OTHER NETWORK.

What should I do to set up static router?

There are no firewall rule in listing 'iptables -L' . I don't run any
script '/etc/rc.d/personal-firewall.*' during booting.

After typing 'route' I can see:

192.168.2.0 * 255.255.255.0 U 0 0 0 eth1
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0

There's gateway at the adress 192.168.1.1 for internet and local network.

I tryed to use routed. It added into routing table 2 rows similar to first
two listed above but '*' was replaced with 'linux.domain.cz' on both
rows. 'routed' set flags at this new rows to 'UG' instead 'U'. Host name
of my router is 'linux'.

With 5 rows in routing table or with 3 after deleting my old rules it
doesn't
route with routed too.

Please help.

Thank you very much.
_______________________________________________________________
Marek Libra Phone:+42 0776 039 948 Email: xlibra@xxxxxxxxxx
Faculty of Informatics, Masaryk University Brno, Czech Republic
_______________________________________________________________



< Previous Next >
References