Linux-Hams archive - April 1997: Re: IP assignment

Re: IP assignment

Brian Candler (exfh@verisign.com)
Wed, 9 Apr 1997 22:05:50 -0600 (CST)


> OK, and knowing that noone else within 50 miles knows what TCPIP is, I
> wanted to use it to link my car (running Win 3.11) to my Linux box,
> running as an AX25 server...
>
> And knowing this, what is the easiest way to make sure I don't grab 2
> used addresses??????

There are three blocks of addresses reserved for "private" networks in
ftp://ftp.internic.net/rfc/rfc1918.txt

They are:

10/8 (i.e. 10.0.0.0-10.255.255.255)
172.16/12 (172.16.0.0-172.31.255.255)
192.168/16 (192.168.0.0-192.168.255.255)

You are guaranteed that none of these numbers are in use on the Internet at
large, and you can use them without permission. If you want your Windoze box
to have Internet access while your Linux box is dialled up to your ISP, use
IP masquerading, e.g.

ipfwadm -F -a accept -S 10.0.0.0/8 -m

(you have to build a kernel with IP masquerading enabled first)

Brian.