LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   again: routing issue! (https://www.linuxquestions.org/questions/linux-networking-3/again-routing-issue-79769/)

mule 08-07-2003 03:52 AM

again: routing issue!
 
Hi all,

i have a network looking like this:

1 linux server (S1) with 2 nics: #1 local 10.0.0.0, #2 local (gateway)192.168.0.0
this server is connected to a d-link router on its switch with nic #2

1 linux server (S2) with 2 nics: #1 local 192.168.0.0, #2 internet
even this server is connected to the d-link router on its switch with nic#1

so, if i try with a client within the network 10.0.0.0 to connect to Linux server (S2) i dont get any connection.

Route on S1:
Ziel Router Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
10.0.0.0 * 255.0.0.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo

Route on S2:
Ziel Router Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
217.162.220.0 * 255.255.254.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default external-ip 0.0.0.0 UG 0 0 0 eth0

Surfing for each clients works fine, using S1 as gateway to the router. (perhaps because i have squid running... on the machine 10.0.0.0/192.168.0.0)

As NIC #2 from Server S1 is in the same Network as NIC#1 from S2, it should work, i think, as if if ping -I from NIC#2 Server S1 to NIC#1 on server S2 -> works!

so, what did i miss to do? activating routing? firewall settings? i tried this all out, but it didn't help......

Thanks for any help!

mule 08-07-2003 06:01 AM

here a short graph of my network

+------- internet------+
| |
Router (192.168.0.1/24) |
4 port switch |
| | |
NIC#2/S1+ + NIC#1/S2--------------------NIC#1/S2
192.168.0.x0/24 192.168.0.x1/24
|
NIC#1/S1
10.0.0.x
|
|
Clients of the 10.0.0. range

stickman 08-07-2003 08:31 AM

You might want to add a default route on S1 for things not on the 10 and 192 networks.

mule 08-07-2003 08:40 AM

Kernel IP Routentabelle
Ziel Router Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
10.0.0.0 * 255.0.0.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth1

....but still same effect 192.168.0.1 is my routher

mule 08-07-2003 08:43 AM

just to say: its the communication between the 10.0.0.0 and 192.168.0.0 networks that doesn't work. communication with internet works fine


All times are GMT -5. The time now is 01:10 PM.