about re-negotiate dns server IP
HI:
an established ppp link can re-negotiate some LCP options suchas the dns server address???
Quoted 1 line
Quoted 1 line
You hinder your readers by assuming they can read a long subject line.
I'm sorry :)
Signature · 2 lines
James Cameron http://ftp.hp.com.au/sigs/jc/
Quoted 2 lines · On Thu, Jul 10, 2008 at 10:53:07AM +0800, c4linux wrote:
an established ppp link can re-negotiate some LCP options suchas the dns server address???
DNS server addresses are negotiated by IPCP as ms-dns, not by LCP. I don't know the answer to your question though, sorry.
Signature · 3 lines
James Cameron http://quozl.netrek.org/ HP Open Source, Volunteer http://opensource.hp.com/ PPTP Client Project, Release Engineer http://pptpclient.sourceforge.net/
Quoted 2 lines
Quoted 2 lines
DNS server addresses are negotiated by IPCP as ms-dns, not by LCP. I don't know the answer to your question though, sorry.
pppoe-server give its clients DNS address from ms-dns in pppoe-server-options FILE. If I change ms-dns when the ppp link established, will the server re-negotiate the DNS address to its clients? Thank you.
Quoted 2 lines · cyx
pppoe-server give its clients DNS address from ms-dns in pppoe-server-options FILE.
Does it not use pppd for this?
Quoted 2 lines
If I change ms-dns when the ppp link established, will the server re-negotiate the DNS address to its clients?
Yes, I understand your question, I just don't know whether you can restart IPCP negotiation. I imagine it might be possible, with suitable coding.
I don't see the need for such a feature though. It would be more common to use a virtual IP for DNS instead, and readdress packets as they arrive.
--
James Cameron http://quozl.netrek.org/
HP Open Source, Volunteer http://opensource.hp.com/
PPTP Client Project, Release Engineer http://pptpclient.sourceforge.net/
Quoted 7 lines
Yes, I understand your question, I just don't know whether you can restart IPCP negotiation. I imagine it might be possible, with suitable coding.
I don't see the need for such a feature though. It would be more common to use a virtual IP for DNS instead, and readdress packets as they arrive.
Thank you :)