Hi, is there any way to have ppp automatically renegotiate for a new IP address when my ISP decides my IP has expired? Presently, whenever this happens I lose my internet connection until I manually stop ppp, destroy the tun device, and restart ppp. I tried putting ``enable lqr'' in my ppp.conf, but that just caused a whole bunch of breakage - specifically, it caused my network connection to completely go out every minute for about three minutes at a time. My ISP is qwest and the relevant parts of my ppp.conf follows.
Other information: re0 is the connection to the modem and re1 is LAN-facing, and bridged with tap0 (the VPN device) into bridge0. The IP address is 10.0.24.1 and the LAN block is 10.0.24.0/24, but is on a VPN that uses the whole 10.0.0.0/8 block. The FreeBSD box runs BIND and grabs info from OpenDNS. I also use PF as a firewall.
Let me know if any other information would be helpful.
Code:
<snip>
default:
set log Phase tun command
set redial 15 2500
set reconnect 5 2500
# enable lqr
# ident user-ppp VERSION (built COMPILATIONDATE)
# set ifaddr 10.0.0.1/0 10.0.0.2/0
<snip>
qwest:
set device PPPoE:re0
set authname <censored>
set authkey <censored>
set dial
set login
add default HISADDR
Other information: re0 is the connection to the modem and re1 is LAN-facing, and bridged with tap0 (the VPN device) into bridge0. The IP address is 10.0.24.1 and the LAN block is 10.0.24.0/24, but is on a VPN that uses the whole 10.0.0.0/8 block. The FreeBSD box runs BIND and grabs info from OpenDNS. I also use PF as a firewall.
Let me know if any other information would be helpful.