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

Re: How do I add a network route permanently using "route add" command in linux.



Hi


 You can make an entry in /etc/rc.conf file as


route add -net 0.0.0.0 netmask 0.0.0.0 gw 172.22.40.1 dev eth0


It will take this configuration when system boots up .

Regards \
Mridul

On 2/24/06, unix syzadmin <unixsyzadmin gmail com> wrote:
>
> Hi,
>
> I have added the following route on a RHEL AS4 server.  How do I make this
> route a permanent one.  In other words, how do I add a route that persists
> after reboot.
>
> route add -net 0.0.0.0 netmask 0.0.0.0 gw 172.22.40.1 dev eth0
>
> Thanks & Regards,
> -GnanaShekar-
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request redhat com?subjectunsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>


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