you might have a file in /etc/sysconfig/ or
/etc/sysconfig/network-scripts called static routes
all you need to do is

add net 172.31.0.0 mask 255.255.0.0 gw 192.168.0.252 (Hmmm just
wondering if your systems not going to freak.)
> Hi All
>  
> A pretty Basic question but one that is stumping me. I have a
> commercial need to add three static routes to my IPCOP gateway
> machine. I have added default gateways by using 
>  
> #route add default gw [IP address] 
>  
> But how do I add the following Static routes?
>  
> 172.31.0.0/16 to 192.168.0.252
> 10.100.0.0/16 to 192.168.0.252
> 192.168.0.0/16 to 192.168.0.252
>  
> I believe it will be some form of the route add command but I'm not
> getting it with the ideas I have tried.
>  
> Thanks for your patience and help
>  
> Kev
>  
> By the way The Gateway box (IPCOP) is on 192.168.0.250 and points to
> an ADSL VPN router on 192.168.0.252
>  
> 
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.501 / Virus Database: 299 - Release Date: 14/07/2003
> 
> 
> 
> 
> ______________________________________________________________________
> -- 
> SLUG - Sydney Linux User's Group - http://slug.org.au/
> More Info: http://lists.slug.org.au/listinfo/slug
-- 
Regards,

Kevin Saenz
 
Spinaweb
Your one stop shop for I.T solutions.
 
Ph: 02 4620 5130
Fax: 02 4625 9243
Mobile: 0418455661
Web: http://www.spinaweb.com.au

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to