View previous topic :: View next topic |
Author |
Message |
Xaanin n00b

Joined: 09 Jun 2002 Posts: 26 Location: Stockholm, Sweden
|
Posted: Thu Jun 13, 2002 5:29 pm Post subject: Loading 2 default gateways. |
|
|
Currently I'm trying to setup my box to be a router, the only problem is that it will only load one of the gateways (the external one), and I need it to load both. I've entered both in /etc/conf.d/net but only the one for eth0 will load. Any idea how to make it load both? |
|
Back to top |
|
 |
Damasz Tux's lil' helper


Joined: 24 Apr 2002 Posts: 91 Location: Groningen, the Netherlands
|
Posted: Thu Jun 13, 2002 7:35 pm Post subject: |
|
|
You have to add a route for your internal network, so -> 'man route'
Will probably look something like:
# route add -net 10.0.0.0 netmask 255.255.255.0 gw 10.0.0.1
You can add this command to your /etc/conf.d/local.start file so the route is loaded after a reboot.
Good luck!
Gert-Jan. |
|
Back to top |
|
 |
|