Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/etc/conf.d/net add route
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
GhostTyper
Tux's lil' helper
Tux's lil' helper


Joined: 03 Apr 2004
Posts: 77
Location: Germany; BW

PostPosted: Tue Jul 23, 2013 1:13 am    Post subject: /etc/conf.d/net add route Reply with quote

Hello everyone,

i want net.eth0 to produce the following route at boot (for example):

route add IPA.IPB.IPC.IPD eth0

Where IPA.IPB.IPC.IPD is not in my local logical network. (You need to substitute IPA.IPB.IPC.IPD with a real IP-Address.)

i tried (/etc/conf.d/net):

routes_eth0="IPA.IPB.IPC.IPD dev eth0" and routes_eth0="IPA.IPB.IPC.IPD via eth0" and so on, but nothing didn't work yet. :(
Back to top
View user's profile Send private message
DawgG
l33t
l33t


Joined: 17 Sep 2003
Posts: 808

PostPosted: Tue Jul 23, 2013 9:13 am    Post subject: Reply with quote

GW has to reachable first, you might need to set that up with a static route before.
i suggest you set everything up manually first (first ifconfig, then route, best use the route-command with detailed and correct syntax ->man route). if it works, put the config into /etc/conf.d/net and make sure everything comes up automagically.
GOOD LUCK!
_________________
DUMM KLICKT GUT.
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