RE: making routes permanent

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

 



i had tried this also.but no luck.stuck with manually
configuring the route everytime as of now.
Thanks anyway.appreciate it.
Vinod
--- Serge Maandag <serge.maandag@staff.zeelandnet.nl>
wrote:
> >         device args
> > 
> >    When a network interface is brought up, each
> line
> > for that interface
> >     is passed to route as:
> > 
> >         route add -args device
> 
> If I read this correctly, you should try the line:
> 
> -net 10.0.3.0 netmask 255.255.255.0 gw 10.0.0.10 dev
> 
> 
> or
> 
> -net 10.0.3.0/24 gw 10.0.0.10 dev 
> 
> in your static-routes file. Have you tried that?
> 
> Serge.
> 
> b.t.w., a quick search in Google gives this page:
> http://www.physiology.wisc.edu/~cai/linux/a21p/
> 
> Which uses this form:
> 
> eth0-cln net 192.168.2.0 netmask 255.255.255.0 gw
> 192.168.2.99
> 
> which would be in your case:
> 
> eth1 net 10.0.3.0 netmask 255.255.255.0 gw 10.0.0.10
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux