LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-07-2003, 03:52 AM   #1
mule
Member
 
Registered: Aug 2003
Posts: 81

Rep: Reputation: 15
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!
 
Old 08-07-2003, 06:01 AM   #2
mule
Member
 
Registered: Aug 2003
Posts: 81

Original Poster
Rep: Reputation: 15
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
 
Old 08-07-2003, 08:31 AM   #3
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
You might want to add a default route on S1 for things not on the 10 and 192 networks.
 
Old 08-07-2003, 08:40 AM   #4
mule
Member
 
Registered: Aug 2003
Posts: 81

Original Poster
Rep: Reputation: 15
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
 
Old 08-07-2003, 08:43 AM   #5
mule
Member
 
Registered: Aug 2003
Posts: 81

Original Poster
Rep: Reputation: 15
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Routing Issue marc hall Linux - Networking 4 07-18-2004 10:59 AM
routing issue.. inode100 Linux - Networking 12 02-25-2004 03:52 PM
routing issue RyPingu Linux - Networking 1 08-15-2003 01:39 PM
routing issue tanmaya Linux - Networking 1 10-13-2002 10:36 AM
Routing Issue jrmann1999 Linux - Networking 1 01-15-2002 10:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration