LinuxQuestions.org
Visit Jeremy's Blog.
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-19-2004, 10:40 AM   #1
Tom123
LQ Newbie
 
Registered: Oct 2003
Distribution: Redhat9
Posts: 7

Rep: Reputation: 0
Adding static routes to fc1 router


Hi

I am trying to setup a linux router on a /24 network that routes to a /29.

The router is running fedora core1 with kernel 2.6.7 installed.
Now I have given the subnet network-address ***.***.***.216 and the routers internal interface is ***.***.***.222.
On the other interface, at the class-C network, I have given it ***.***.***.133.
I have enabled ipv4 forwarding but I don’t know how to setup the static routes. I wanted to edit the route-eth0 file manually but my changes didn’t work and I am ashamed to say I don’t really understand the gui tool.

Please help

Thanks alot
 
Old 08-20-2004, 03:28 AM   #2
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
Why didn't it work?
Did you try out first to get the routing correct? It's better to add routes from cli first, try it out & when routing is correct add to route-eth0.

So, is it the syntax you don't get right, is it the adressing, or isn't route-eth0 read? Also, what about eth1?
 
  


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
How do I config static routes? mikezang Linux - Networking 4 10-31-2005 10:29 AM
Max Static Routes? roundst Linux - Networking 2 07-28-2005 02:51 AM
automatic static routes? eantoranz Linux - Networking 5 07-19-2005 08:30 PM
Setting static routes on LAN cranium2004 Linux - Networking 3 01-06-2005 11:57 PM
static-routes in Mandrake 10.0 tallthom Mandriva 1 09-27-2004 12:51 AM

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

All times are GMT -5. The time now is 08:49 AM.

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