[BUGS] new network technique, combining a /32 adsl address with a routable /24

Jerahmy Pocott quakenet1 at optusnet.com.au
Thu Mar 6 23:05:21 EST 2008


On 06/03/2008, at 12:06 AM, jonathan michaels wrote:

> i'm setting up an adsl link to browse for my own needs, nothing
> to do with my commercial stuff. i thought it would be nice to
> download the freebsd.iso images on teh adsl and then to move
> those images over to teh 'network' where all teh hardware is
> connected to make cd's do tape based storage .. all teh work
> stuff. teh adsl modem is going to have a computer like a intel
> p6 or a 800 mhz pIII as my desktop.

What I would do here is have two network cards in the desktop, one  
connected to the ADSL line and the other to the local network.

Then depending how I was feeling do one of:

-Give the local connection one of the /24 addresses but have the  
default route set to the ADSL interface. (But personally I think  
that's a bad idea and lazy).

-Give the local connection a non-routable address (lets call it  
10.0.0.2), then do either:

----Also give the /24s gateway/router an address on the non-routable  
network (say 10.0.0.1), set a static route on the desktop saying to  
access /24 use 10.0.0.1. Then it should start working assuming 1) the  
gateway doesn't have firewall rules that block traffic from 10.0.0.0  
and 2) all the machines on the /24 use the gateway as their default  
route. (would add a little extra load to the gateway)

----Alternatively give every machine on the network a 2nd address in  
the 10.0.0.0 range.

You could also combine a split horizon dns server with the above, or  
just a hosts file, so you don't have to remember the ips..

I'v never actually HAD an entire /24, so generally in my experience  
only the router gets the REAL ips and the internal networks are, well  
internal =p



More information about the BUGS mailing list