Hi All,
    Thanks for all the help with this one, I'm pleased to say that I have fixed it.
 
The pppd term sighandler was disconnecting from the connectors (PPPoA) before issuing the TERMREQ. Adding in a TERMREQ send prior to the disconnect works a treat.
 
This then brings down the PPP session and frees the connection at the home gateway. It *should* stop the incorrect IP address assignment problem, I connect and disconnect every 10 minutes and so far have had no incorrect IP addresses.
 
Thanks Alex / Tony for all your suggestions.
 
If anyone wants the changed code for pppd email me.
 
Regards
Sime

Reply via email to