*BSD News Article 97544


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!worldnet.att.net!newsadm
From: kenneth.furge@ehusa.[NO_SPAM].com (Kenneth Furge)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: A Few Networking Questions
Date: 11 Jun 1997 12:56:08 GMT
Organization: AT&T WorldNet Services
Lines: 30
Message-ID: <5nm798$342@mtinsc03.worldnet.att.net>
References: <EBKqv2.6Mn@nonexistent.com>
NNTP-Posting-Host: 207.146.166.107
Mime-Version: 1.0
Content-Type: Text/Plain; charset=US-ASCII
X-Newsreader: WinVN 0.99.8 (x86 32bit)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:42743

In article <EBKqv2.6Mn@nonexistent.com>, nathan@senate.org says...
>
>I have two questions about networking with FreeBSD machines?
>
>1) If I have a Winbloze95 or OS/2 box (Does it make a difference?), and
>a heavenly ;> FreeBSD box, and a single PPP connection to the Internet,
>with one IP, can I make both computers able to access the net (provided
>of course I have Ethernet cable, cards, and plenty of patience)? Or, if
>I save up the money for a Class C (highly improbable) can I make one
>machine have one ip and another have the other?
>

Yes.  The 2.2.2 ppp code has IP aliasing (masquarading) that handles this type 
of thing quite nicely.  Also, the new and improved natd code will function more 
generically over other interfaces.

>2) Two - can I bind two interfaces (IP's) to the same PPP connection?
>E.g. if I have ... I dunno, 31.33.7.1 and 31.33.7.2, is it possible
>to have them both attached to ppp0 (if you need to know the reason, it's
>strictly vanity related - i would make 1 reverse to limbo.senate.org,
>and usable for regular connections, and the other to senate.org, for
>IRC and other such-related thingies ... ircII does have a special
>bind-to-specific-interface compile-time option...

It probably depends on if your ISP is willing to route two IP addresses to your 
machine.  Usually, PPP really means point-to-point so you would only get 1 IP 
address, unless you were willing to pay for more

- K.C.