View previous topic :: View next topic |
Author |
Message |
Xaanin n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
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 |
|
![](templates/gentoo/images/spacer.gif) |
Damasz Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/The Fifth Element/movie_the_fifth_element_leeloo.gif)
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 |
|
![](templates/gentoo/images/spacer.gif) |
|