Hello All! Happy New Year! :-) I have read article in Linux Gazette (http://www.linuxgazette.com/issue65/chan.html/) and decided to test it. But in SuSE (I'm SuSE fan :-))) My configuration: 1st router - Pentium 75, 16 RAM, 1.2 GB HDD, 2 nic: rtl8029 10Mb, Hub-10Mb 3Com. It's hostname is Mars. 2nd router (Server) - Pentium 300 Celeron, 128 RAM, 3Gb HDD, 2 nic rtl8139, Hub 100Mb. It's hostname is Venera. |------| |------| ADSL ----eth0 ->| Mars |=-----|Hub10Mb|------>|Venera|-----------Hub100Mb| |------| eth1 | eth0 |------|eth1 | 192.168.0.1 | 192.168.0.5 192.168.1.1 | | | 192.168.0.2 192.168.1.2 192.168.0.3 192.168.1.3 192.168.0.4 192.168.1.4 What have I done: On Mars: 1. In Yast --> Sys.Admin.--> Network Conf.-->Base Netw.Conf --> Setup nic ok. 2. # route del -net 192.168.0.0 netmask 255.255.255.0 dev eth0 after this adsl-setup - ok, connection with Internet is OK. Network 192.168.0.0 can now surf the Internet. After this I configured Venera: 1. In Yast set up eth0(192.168.0.5) and eth1(192.168.1.1). Ping via 192.168.0.5 to 192.168.0.1 - ok Ping via 192.168.1.1 to 192.168.0.1 - failed 2. # route: 192.168.1.0 * 255.255.255.0 U 0 0 0 eth1 192.168.0.0 * 255.255.255.0 U 0 0 0 eth0 loopback * 255.0.0.0 U 0 0 0 lo 3.# route add -net 192.168.0.1 netmask 255.255.255.255 eth0 4.# route add default gw 192.168.0.1 netmask 0.0.0.0 eth0 5.#route: 192.168.0.1 * 255.255.255.255 UH 0 0 0 eth0 192.168.1.0 * 255.255.255.0 U 0 0 0 eth1 192.168.0.0 * 255.255.255.0 U 0 0 0 eth0 loopback * 255.0.0.0 U 0 0 0 lo default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0 6.Now on Mars: # route add -net 192.168.1.1 netmask 255.255.255.255 eth1 # route add default gw 192.168.1.1 netmask 0.0.0.0 eth1 and after that Venera can ping Internet, but only Venera, not boxes 192.168.1.2, 192.168.1.3 and 192.168.1.4. What I did wrong? Where do I have to dig (in what direction)? Many thanx B/R
participants (1)
-
dan07