PPP problems with 4.9p1

Peter Jeremy peter.jeremy at alcatel.com.au
Tue Jan 27 17:36:26 PST 2004


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


More information about the freebsd-stable mailing list