after the latest updates I just noticed a different behaviour of ppp.

in /etc/ppp/ppp.linkup I had an additional line
  iface clear
for my profile to get rid of stuffed up IP pairs. After the latest update
this entry also clears my defaultroute, but only after redialing.

I now had to put the "iface clear" into /etc/ppp/ppp.linkdown, but then
the old IP pair is still there during the next connection.

Were my assumptions wrong (regarding the "iface clear" command) or is
broken in ppp?

I have an idea which might cause the accidential removal of the defaultroute
after redialing:

Before the first connection I have to set a dummy IP pair:
  set ifaddr
so my defaulroute will be set to

After dialing I'm getting a different destination IP address from my provider,
the old route will be deleted:
route del $OLDADDR
But after that, even if my own address will be different, the destination
address will be the same:
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1492
        inet6 fe80::2e0:7dff:fe75:fdfb%tun0 prefixlen 64 scopeid 0x6 
        inet --> netmask 0xffffffff 
        inet --> netmask 0xffffffff 
so after executing "iface clear" from /etc/ppp/ppp.linkup, ppp will also
the old route - but this time the old route is the same as the current one.

BTW: If I disable IPv6 in the kernel, ppp won't start at all. It will spit out
tons of messages
Error: iface_Add: socket(): Protocol not supported 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to