Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Apr 2001 15:03:16 +1000
From:      Mark Hannon <markhannon@one.net.au>
To:        freebsd-questions@freebsd.org
Subject:   ppp -auto / lots of addresses / dynamic DNS
Message-ID:  <3AEBA094.CB81CD50@one.net.au>

next in thread | raw e-mail | index | archive | help
Hi,

I am trying to use a dynamic DNS service to provide a DNS entry
for my dialup host.  I am running 4.1.1-RELEASE with ppp -auto -nat

After a few days my ppp process has heaps of addresses associated
with it:

eg
  203.101.55.189/24 -> 10.240.0.11
  203.101.54.221/24 -> 10.240.0.7
  61.12.103.83/24 -> 61.12.103.1
  203.101.96.132/24 -> 10.240.0.4
  203.101.55.103/32 -> 255.255.255.255
  61.12.98.224/24 -> 61.12.98.1
  61.12.96.241/24 -> 61.12.96.1
  203.101.55.27/32 -> 255.255.255.255
  61.12.98.34/32 -> 255.255.255.255
  61.12.103.81/32 -> 255.255.255.255
  203.101.96.75/32 -> 255.255.255.255
  192.168.255.1/24 -> 192.168.255.2

This seems to be causing me some problems with my Dynamic DNS provider
as he keeps throwing me out for multiple update abuse!

How can I remove the old interfaces after use?

>From ppp.conf

 set ifaddr 192.168.255.1/0 192.168.255.2/0 255.255.255.0 0.0.0.0
 add default HISADDR

>From ppp.linkup

 add 0 0 HISADDR
 shell /etc/ppp/scripts/dns-reset onetel
 !bg /etc/ppp/scripts/ntpdate-reset
 !bg /usr/sbin/sendmail -q
 !bg /usr/local/bin/fetchmail -d 300 -a -f /usr/local/etc/fetchmailrc
--syslog
 !bg /usr/local/bin/ez-ipupdate.sh start
 !bg /etc/ppp/scripts/portredirect-on
 !bg /etc/ppp/scripts/ppp-logdetails


Thanks, Mark

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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