Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jan 2004 12:36:14 +1100
From:      Peter Jeremy <peter.jeremy@alcatel.com.au>
To:        freebsd-stable@freebsd.org
Subject:   PPP problems with 4.9p1
Message-ID:  <20040128013614.GK20549@gsmx07.alcatel.com.au>

next in thread | raw e-mail | index | archive | help
I'm trying to setup a ppp link using FreeBSD 4.9p1 and it appears that
the "MYADDR" keyword is being expanded to the IP address associated
with the hostname, rather than the IP address associated with the
PPP tunnel.

As an example, the following maching has 192.168.123.159 associated
with ep0 and its hostname.  ppp shows:
tun0: Command: xyzzy: set ifaddr 192.168.236.102 192.168.236.101
...
tun0: Command: xyzzy: ! ipfw add 11000 count log logamount 0 tcp from MYADDR to HISADDR out xmit INTERFACE setup
ppp: Pausing until ipfw finishes
11000 count log tcp from 192.168.123.159 to 192.168.236.101 out xmit tun0 setup

Note that "MYADDR" has turned into "192.168.123.159" instead of
"192.168.236.102" as set in the "set ifaddr" command.  ifconfig shows
that the actual addresses used on the link are as per the "set ifaddr"
command.  Based on errors reported by logging "Filter", it appears
that "set filter" has a similar problem with MYADDR.

I know this definitely worked with FreeBSD 4.6 and I think it works
with 4.7.  Has anyone else seen this?

Peter



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