Networking Forums

Networking Forums > Computer Networking > Linux Networking > Help setting up routing table under linux 2.4.21

Reply
Thread Tools Display Modes

Help setting up routing table under linux 2.4.21

 
 
James
Guest
Posts: n/a

 
      09-09-2004, 10:53 PM
Hello,

Here's my setup

192.168.0.0/24 <-> (192.168.0.190) router (90.0.0.133) <-> 90.0.0.0/24

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref
Use Iface
90.0.0.0 0.0.0.0 255.255.255.0 U 0 0
0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0
0 eth1
127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0
0 lo
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0
0 eth1

From the 90.0.0.0/24 I'd like to be able to access computers on the
192.0.0.0/24 network. I assume I can add the following route to a
machine on the 90.0.0.0/24 network to use the router as a gateway:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref
Use Iface
90.0.0.0 0.0.0.0 255.255.255.0 U 0 192.168.0.0
90.0.0.133 255.255.255.0 UG 0 0 0 eth0 0
0 eth0
127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0
0 lo
0.0.0.0 90.0.0.135 0.0.0.0 UG 0 0
0 eth0

What route do I have to add to the gateway machine to get this to
work?

Any help would be appreciated,

James
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Routing Table for JonnyCAD JonnyCAD Windows Networking 0 12-05-2006 11:45 AM
Why does my routing table only have 1 entry? laredotornado@zipmail.com Linux Networking 7 07-29-2006 09:06 AM
Routing table Matt Scoff Windows Networking 6 06-08-2006 02:19 AM
How to use second routing table? Martin Pauly Linux Networking 0 03-08-2005 04:54 PM
Special routing table Eduardo Ogasawara Linux Networking 2 12-23-2003 07:12 AM



1 2 3 4 5 6 7 8 9 10 11