Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Mar 1997 13:50:24 +1100 (EST)
From:      "Daniel O'Callaghan" <danny@panda.hilink.com.au>
To:        Charles Reese <reese@chem.duke.edu>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: HELP: tun ifconfig for dialin lines
Message-ID:  <Pine.BSF.3.91.970305134555.8268e-100000@panda.hilink.com.au>
In-Reply-To: <1.5.4.32.19970304222350.006ea500@chem.duke.edu>

next in thread | previous in thread | raw e-mail | index | archive | help



On Tue, 4 Mar 1997, Charles Reese wrote:

> Could someone please post an example for the ifconfig line in sysconfig  for
> tun devices (ie ifconfig_tun0= ) for dialin lines.  I have looked at the

Don't.  The ifconfig is handled by ppp when it receives a call.

> handbook, but the example is for a dialout line.  What do I put for the ISP
> (me) address and the remote (customer) address with dynamic addressing.
> Also, should I use the actual netmask used by my ethernet (255.255.255.224)
> or something else.

You should use the netmask of the remote network.  The netmask in a 
point-to-point interface (pppX, tunX, slX) applies to the remote end 
address, not the local end address.

Danny



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.970305134555.8268e-100000>