Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
little idiot routing problem
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
ahuth
n00b
n00b


Joined: 18 Nov 2002
Posts: 24

PostPosted: Thu Nov 28, 2002 9:05 am    Post subject: little idiot routing problem Reply with quote

Hi guys!

I know enough about routing, but I didn´t know how add persistent route to a Gentoo router. There is no route.conf. Can I add them into the /etc/conf.d/net? If yes , which syntax do i have to use?

So long ...


Alex Huth
Back to top
View user's profile Send private message
Larde
Guru
Guru


Joined: 07 Jun 2002
Posts: 313
Location: Duesseldorf, Germany

PostPosted: Thu Nov 28, 2002 9:21 am    Post subject: Reply with quote

If you talk about extra routes besides the default gw or default routes that come with your interfaces, you are on your own. Gentoo doesn't support this, they think it's too complicated for the user (see this proposed patch).

There were some topics regarding this question, like this. Suggestion is to set the routes in /etc/conf.d/local.start. Not very sophisticated.

Hth,
Larde.
_________________
Someday this will be my home... http://moonage.net/
I'll make you a deal
I'll say I came from Earth and my tongue is taped
Back to top
View user's profile Send private message
RebelYell
n00b
n00b


Joined: 28 Jun 2002
Posts: 41

PostPosted: Fri Nov 29, 2002 9:08 pm    Post subject: Re: little idiot routing problem Reply with quote

ahuth wrote:
Hi guys!

I know enough about routing, but I didn´t know how add persistent route to a Gentoo router. There is no route.conf. Can I add them into the /etc/conf.d/net? If yes , which syntax do i have to use?

So long ...


Alex Huth


I agree, /etc/conf.d/local.start is a good place...
You may want to emerge the iproute package and the put a line like this:
Code:

ip ro add xxx.xxx.xxx.xxx via xxx.xxx.xxx.xxx
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