*BSD News Article 69393


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.cis.okstate.edu!newsfeed.ksu.ksu.edu!news.physics.uiowa.edu!math.ohio-state.edu!howland.reston.ans.net!plug.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.mathworks.com!newsfeed.internetmci.com!news.igcom.net!terra.igcom.net!david
From: david@terra.igcom.net (David B. Bauman)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: dialin ppp subnets
Date: 25 May 1996 14:23:13 GMT
Organization: InterGlobal Communications
Lines: 28
Message-ID: <4o754h$hl4@moon.igcom.net>
NNTP-Posting-Host: terra.igcom.net
X-Newsreader: TIN [version 1.2 PL2]


I am curious as to how to setup a dialup PPP account on a different subnet
than what the bsd/os machine is currently using.
My bsd/os machine is currently using a netmask of 255.255.255.192
 which of course supplies 62 IPs on 2 subnets.
I have a dialin user that wants to utilize multiple IPs for his small
network, so I have decided to allocate a subnet on a different IP block.
Most likely I will give him a subnet with a mask of 255.255.255.248 since
that will give him 6 IPs for his network.
The question is, am I doing this correct?

route add -net 1.1.1.0 1.1.1.1

1.1.1.0 of course being the new ip block (class C) and 1.1.1.1 being
the bsd/os machines ethernet interface's IP address.

Then the ppp.sys entry I belive should be:

Puser:di:if=inet 1.1.1.1 206.103.209.248 netmask 255.255.255.248:in#100:

This would give the PPP user the IP block of .248--->.254 if I am not
correct.

Would this type of configuration work properly?


DB