Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Oct 1995 23:32:51 +0100
From:      Gary Palmer <gary@palmer.demon.co.uk>
To:        patl@asimov.volant.org
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Netmask in iijppp 
Message-ID:  <4107.814055571@palmer.demon.co.uk>
In-Reply-To: Your message of "Tue, 17 Oct 1995 08:26:43 PDT." <9510171526.AA17317@asimov.volant.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
patl@asimov.volant.org stands accused of writing in message ID
<9510171526.AA17317@asimov.volant.org>:
>Can I set the netmask in the ppp.conf or ppp.linkup file?  If so, how?
>If not, what is the right way/place to set a netmask for a tun device
>used as a full-time link?  As an occasional link?

If (like me) you are using dial-on-demand, the netmask is set (AFAIK)
by the mask used in the ``add 0 <mask> <router>'' statement. e.g. I
have:

 add 0 255.255.0.0 158.152.1.194

as my ISP runs a Class B network and I use 158.152.1.194 as my default
router... (I have a single IP allocated by my ISP, so I don't have to
worry a lot about subnetting. My ether is on a private IP range)

Gary




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4107.814055571>