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

Re: routing routable IPs over non-routable IPs



On Mon, 21 May 2001 13:46:14 +1000, Jeremy Lunn writes:
>I know this isn't Debian specific.  But I'm just wondering if it's fine
>to route routable IP addresses over non-routable IP addresess.

Yes, although many would consider it bad practice (I am an example), 
 because you´ll face trouble when you have to debug something, and have 
 non-routable IPs on some path.

>So is it just a matter of setting up something like
>/sbin/route -net 10.1.2.0/24 gw 172.16.5.2
>on the gateway?

Yes, but you should specify the netmask in 255.x.x.x-notation, route on 
 linux sometimes tends to get classful when facing /-notation...

cheers,
&rw
-- 
/ Ing. Robert Waldner |  <r.waldner@xsoft.at>  \
\     Xsoft GmbH      | T: +43 1 796 36 36 692 /




Reply to: