Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!uunet!in1.uu.net!207.172.3.52!feed1.news.erols.com!howland.erols.net!rill.news.pipex.net!pipex!hose.news.pipex.net!pipex!news.utell.co.uk!ui-gate.utell.co.uk!brian
From: brian@ui-gate.utell.co.uk (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: tun device
Date: 19 Feb 1997 10:14:33 GMT
Organization: Utell International
Lines: 33
Message-ID: <5eejq9$77j@ui-gate.utell.co.uk>
References: <330A42AF.5C82@worldnet.att.net> <5eejh8$77j@ui-gate.utell.co.uk>
NNTP-Posting-Host: ui-gate.utell.net
X-Newsreader: TIN [version 1.2 PL2]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:35738
Brian Somers (brian@ui-gate.utell.co.uk) wrote:
: Vijay Konkimalla (vjmrudula@worldnet.att.net) wrote:
[.....]
: : 3. Since i am assigned the IP address dynamically, what should be
: : contained in /etc/hosts file?
: /etc/ppp/ppp.conf:
: ifaddr 10.10.10.10/0 10.10.10.11/0 255.255.255.0
: delete ALL
: add 0 0 HISADDR
: /etc/ppp/ppp.linkup
: delete ALL
: add 0 0 HISADDR
Oops! /etc/hosts isn't really important. If you like, you can have
the following (given the above ppp.conf lines):
10.10.10.10 temporary.my.side me
10.10.10.11 temporary.isp.side them
and don't forget to change /etc/host.conf to read:
hosts
bind
Once you've established a connection and received the real IP numbers,
these entries won't be seen again.
--
Brian <brian@awfulhak.demon.co.uk> <brian@utell.co.uk> <brian@freebsd.org>
<http://www.awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour !