View previous topic :: View next topic |
Author |
Message |
Chili0_ n00b
Joined: 09 Oct 2017 Posts: 71
|
Posted: Fri Dec 22, 2023 2:14 am Post subject: [SOLVED] how setup route net on /etc/conf.d/net |
|
|
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 |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1663
|
Posted: Fri Dec 22, 2023 2:51 am Post subject: |
|
|
Example using eth0 as the interface: Code: | routes_eth0="192.168.3.0/24 via 192.168.0.6" |
|
|
Back to top |
|
|
Chili0_ n00b
Joined: 09 Oct 2017 Posts: 71
|
Posted: Fri Dec 22, 2023 3:37 am Post subject: |
|
|
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! _________________ Regards. |
|
Back to top |
|
|
|