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@xxxxxxxxxxxxxxxxxxx>
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
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
|