Re: Configuring permanent routes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Add the default gateway in
/etc/sysconfig/network file
e.g.

GATEWAY=xxx.xxx.xxx.xxx

then restart the network

-Ritesh

Richard Hobbs wrote:
Hello,

I need to configure some permanent routes on a RedHat 8.0 box.

I can do this with the following command but when I reboot, all changes are
lost. How can I make it stick?

  route -v add -net 192.168.4.0/24 gw 192.168.3.160

Thanks in advance,
Hobbs.



--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux