Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Loading 2 default gateways.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Xaanin
n00b
n00b


Joined: 09 Jun 2002
Posts: 26
Location: Stockholm, Sweden

PostPosted: Thu Jun 13, 2002 5:29 pm    Post subject: Loading 2 default gateways. Reply with quote

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
View user's profile Send private message
Damasz
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2002
Posts: 91
Location: Groningen, the Netherlands

PostPosted: Thu Jun 13, 2002 7:35 pm    Post subject: Reply with quote

You have to add a route for your internal network, so -> 'man route' :D
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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum