View previous topic :: View next topic |
Author |
Message |
ahuth n00b
Joined: 18 Nov 2002 Posts: 24
|
Posted: Thu Nov 28, 2002 9:05 am Post subject: little idiot routing problem |
|
|
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 |
|
|
Larde Guru
Joined: 07 Jun 2002 Posts: 313 Location: Duesseldorf, Germany
|
Posted: Thu Nov 28, 2002 9:21 am Post subject: |
|
|
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 |
|
|
RebelYell n00b
Joined: 28 Jun 2002 Posts: 41
|
Posted: Fri Nov 29, 2002 9:08 pm Post subject: Re: little idiot routing problem |
|
|
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 |
|
|
|