Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Adding static routes and having issues
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
feisa72886
n00b
n00b


Joined: 31 Mar 2015
Posts: 1

PostPosted: Tue Mar 31, 2015 1:55 pm    Post subject: Adding static routes and having issues Reply with quote

Hello,

I am adding a static route for eno2 but the route will not add. It keeps stating "unknown host" when restarting the interface. In /etc/conf.d/net the "routes_eno2" has a yellow background. Any suggestions would be helpful.

config_eno1="10.63.0.6/29"
routes_eno1="default via 10.63.0.1"

config_eno2="10.248.54.138/29"
routes_eno2={"69.50.112.0/24 via 10.248.54.137"}

*****

/etc/init.d/net.eno2 restart
* Bringing up interface eno2
* 10.248.54.138/29 ... [ ok ]
* Adding routes
* {69.50.112.0/24 via 10.248.54.137} ...
{69.50.112.0: Unknown host

Freddie
Back to top
View user's profile Send private message
massimo
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1226

PostPosted: Wed Apr 01, 2015 7:10 am    Post subject: Reply with quote

Does it work when you remove the curly brackets?
_________________
Hello 911? How are you?
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