LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Static IP Routing (https://www.linuxquestions.org/questions/linux-networking-3/static-ip-routing-471884/)

dojiep 08-08-2006 04:22 AM

Static IP Routing
 
Hi!

I

I'am implementing a PC Based router having three interfaces. I will be using static ip routing and my OS is Fedora Core 4. My problem is that, can you give an idea of what routing software should i use. I know that i can use also the route add command in linux but its a long procedure so i'am looking for an alternative one. Or if there's no other way, how can i save those route add....

Thanks in advance!

deVas 08-08-2006 04:54 AM

How many subnets do you have? Adding a gateway and a subnet is not a big deal. As far as I know known arp hosts (nics directly connected to your router) are automatically added.
You should use ifupdown-scripts to add and remove routes.
devas

dojiep 08-08-2006 07:42 AM

To be more specific, actually i already done it using Windows 2003 just for testing...

Details...

all of the network are /24

IP ADD GATEWAY
eth0 - 192.168.200.2 192.168.200.1(router 1)
eth1 - 192.168.1.2 192.168.1.1(router 2)
eth2 - 192.168.100.1

eth0, eth1 are connected to my remote sites
router1, router2 are their default route
eth2 - connected to my internal network

here's the routing table

eth0 eth1
IP ADD GATEWAY IP ADD GATEWAY
192.168.2.0 192.168.1.2 192.168.8.0 192.168.200.2
192.168.3.0 192.168.1.2 192.168.9.0 192.168.200.2
......
more...

With this, i decided to change my OS to Fedora Core 4. I just wanna know how can i make my routing table easier.

Thanks!


All times are GMT -5. The time now is 03:04 AM.