Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] how setup route net on /etc/conf.d/net
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
Chili0_
n00b
n00b


Joined: 09 Oct 2017
Posts: 71

PostPosted: Fri Dec 22, 2023 2:14 am    Post subject: [SOLVED] how setup route net on /etc/conf.d/net Reply with quote

Hi,

Want to add "route add -net 192.168.3.0/24 gw 192.168.0.6" to /etc/conf.d/net for permanent config.

Have read some document of netirc, still have no idea.
Thanks for any help!
_________________
Regards.


Last edited by Chili0_ on Fri Dec 22, 2023 3:38 am; edited 1 time in total
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1663

PostPosted: Fri Dec 22, 2023 2:51 am    Post subject: Reply with quote

Example using eth0 as the interface:
Code:
routes_eth0="192.168.3.0/24 via 192.168.0.6"
Back to top
View user's profile Send private message
Chili0_
n00b
n00b


Joined: 09 Oct 2017
Posts: 71

PostPosted: Fri Dec 22, 2023 3:37 am    Post subject: Reply with quote

grknight wrote:
Example using eth0 as the interface:
Code:
routes_eth0="192.168.3.0/24 via 192.168.0.6"


grknight,

Thank you very much! :D
_________________
Regards.
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