[2420] in linux-net channel archive

home help back first fref pref prev next nref lref last post

Re: Configuring my net.

daemon@ATHENA.MIT.EDU (Andrew Howell)
Tue Apr 9 01:16:35 1996

From: andrew@toaster.it.com.au (Andrew Howell)
To: jsinason@itdcomm.com (Jeff Sinason)
Date: 	Tue, 9 Apr 1996 13:05:05 +0800 (WST)
Cc: linux-net@vger.rutgers.edu (Linux Net)
In-Reply-To: <Pine.LNX.3.91.960408233604.201A-100000@itdcomm.com> from "Jeff Sinason" at Apr 8, 96 11:40:58 pm

Jeff Sinason writes:
> 
> 
> My ISP told me that they had subnetted 6 IP addresses for me.  My problem 
> is that I'm not sure what to use for the netmasks and what should be 
> ifconfig'd.  I also don't understand what should be route add'd.
> 
> My link to my ISP is 206.196.100.185
> 
> My subnet address are 206.196.114.17
>                       206.196.114.18
>                            .
>                            .
>                            .
>                        206.196.114.22
> 
> Can anyone explaing to me how I should come up with the netmasks?  The 
> machine on the localnet don't seem to be able to see each other.....

Your network address is 206.196.114.16
Your broadcast address is 206.196.114.23
Your netmask is 255.255.255.248

So to setup your machines do the following

/sbin/ifconfig eth0 YOUR-IPADDR netmask 255.255.255.248 broadcast 206.196.114.16
/sbin/route add -net 206.196.114.23
/sbin/route add default gw IPADDR-OF-YOUR-GATEWAY

Andrew

-- 
Dehydration - 34%, Recollection of previous evening - 2%, embarrassment
factor - 91%.  Advise repair schedule:- off line for 36 hours, re-boot
startup disk, and replace head - wow, what a night!
                -- Kryten in Red Dwarf `The Last Day'

Andrew Howell		   		      howellaa@cs.curtin.edu.au 
Perth, Western Australia	     andrew@it.com.au andrew@debian.org


home help back first fref pref prev next nref lref last post