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@xxxxxxxxx> 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@xxxxxxxxxx?subjectunsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

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



Relevant Pages

  • SBS 2003 Fax: Unable to Route to Email
    ... I have incoming faxes configured using the SBS Fax to route to email and save ... Check the SMTP server configuration, ...
    (microsoft.public.windows.server.sbs)
  • Re: Receiving mail for multiple domains
    ... > You will have a really, really, upset SBS if you change the IP ... Replication Service while polling the Domain Controller ... sknserver.StKittsNevisRegistry.local for FRS replica set configuration ... Check your route and topology; use the winroute tool to ensure the ...
    (microsoft.public.windows.server.sbs)
  • Re: Permanent static route in AIX 4.3
    ... below is the setup using SMIT TCPIP. ... need to put the route add command into ... "traditional configuration method" could easily be ... on bad network routes, ...
    (comp.unix.aix)
  • Re: [SLE] HowTo connect dhcpd and dhcp-client
    ... On Mon, 2004-06-07 at 18:46, Leendert Meyer wrote: ... >> Maybe the router configuration doe snot match? ... I attached three different files diff-firewall, ifconfig and route. ...
    (SuSE)
  • Re: T43 Networking fix question.
    ... Try a static route to the router. ... I can PING the ZyXel router on 192.168.1.1 just fine that way. ... But then, no matter what combination of HOST or NET route addressing I create in the fixed address tables in the TCP/IP configuration panels, I can never ping anything other than the 192.168.1.1 private address side of the ZyXel router. ... When you go to look at the documents in the supplied Broadcom driver package, in their 'PROTOCOL.INI' sample, they provide for additional 'fields' at the bottom of it in the driver section. ...
    (comp.os.os2.misc)