Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[net] static routes [risolto]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
makoomba
Bodhisattva
Bodhisattva


Joined: 03 Jun 2004
Posts: 1856

PostPosted: Tue Nov 23, 2004 11:58 am    Post subject: [net] static routes [risolto] Reply with quote

sui sistemi rh posso specificare le static routes in /etc/sysconfig/static-routes, ma su gentoo ?

se fosse possibile, vorrei evitare di settarle manualmente in local.start


Last edited by makoomba on Tue Nov 23, 2004 3:12 pm; edited 1 time in total
Back to top
View user's profile Send private message
federico
Advocate
Advocate


Joined: 18 Feb 2003
Posts: 3272
Location: Italy, Milano

PostPosted: Tue Nov 23, 2004 12:39 pm    Post subject: Reply with quote

il file e'

/etc/conf.d/net

dal quale hai la gestione della rete wired e wireless (nettamente superiore a quella di RH 8) )

ex:
Code:

# The following will set up the default gateway. You can also pass advanced
# route configs via this option.

iproute_eth0=(
   "default via 192.168.15.1"
)
iproute_eth1=(
   "default via 192.168.15.1"
)
iproute_wlan0=(
   "default via 192.168.15.1"
)

_________________
Sideralis www.sideralis.org
Pic http://blackman.amicofigo.com/gallery
Arduino http://www.arduino.cc
Chi aveva potuto aveva spaccato
2000 pezzi buttati là
Molti saluti,qualche domanda
Semplice come musica punk
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Tue Nov 23, 2004 12:39 pm    Post subject: Re: [net] static routes Reply with quote

makoomba wrote:
se fosse possibile, vorrei evitare di settarle manualmente in local.start


Alla peggio puoi mettere in local.start solo una chiamata tipo:

Code:
[ -f /path/to/myroute ] && source /path/to/myroute


e nel file /path/to/myroute metti i settaggi manuali.
_________________
Ciao da me!
Back to top
View user's profile Send private message
makoomba
Bodhisattva
Bodhisattva


Joined: 03 Jun 2004
Posts: 1856

PostPosted: Tue Nov 23, 2004 3:11 pm    Post subject: Reply with quote

thx fede, sto migrando tutto da rh a gentoo e qualche dritta fa sempre comodo

@randomaze
l'avevo pensata così nel caso estremo
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Tue Nov 23, 2004 3:17 pm    Post subject: Reply with quote

makoomba wrote:
@randomaze
l'avevo pensata così nel caso estremo


:oops: Orpo, mi ero dimenticato la soluzione corretta (quella di federico)
_________________
Ciao da me!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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