* Re: about re-negotiate dns server IP
2008-07-10 2:53 about re-negotiate dns server IP c4linux
@ 2008-07-10 3:18 ` James Cameron
2008-07-10 3:30 ` cyx
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: James Cameron @ 2008-07-10 3:18 UTC (permalink / raw)
To: linux-ppp
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.
--
James Cameron http://quozl.netrek.org/
HP Open Source, Volunteer http://opensource.hp.com/
PPTP Client Project, Release Engineer http://pptpclient.sourceforge.net/
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Re: about re-negotiate dns server IP
2008-07-10 2:53 about re-negotiate dns server IP c4linux
2008-07-10 3:18 ` James Cameron
@ 2008-07-10 3:30 ` cyx
2008-07-10 4:01 ` James Cameron
2008-07-10 4:28 ` cyx
3 siblings, 0 replies; 5+ messages in thread
From: cyx @ 2008-07-10 3:30 UTC (permalink / raw)
To: linux-ppp
>>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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Re: about re-negotiate dns server IP
2008-07-10 2:53 about re-negotiate dns server IP c4linux
2008-07-10 3:18 ` James Cameron
2008-07-10 3:30 ` cyx
@ 2008-07-10 4:01 ` James Cameron
2008-07-10 4:28 ` cyx
3 siblings, 0 replies; 5+ messages in thread
From: James Cameron @ 2008-07-10 4:01 UTC (permalink / raw)
To: linux-ppp
On Thu, Jul 10, 2008 at 11:30:09AM +0800, cyx wrote:
> pppoe-server give its clients DNS address from ms-dns in
> pppoe-server-options FILE.
Does it not use pppd for this?
> 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/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Re: Re: about re-negotiate dns server IP
2008-07-10 2:53 about re-negotiate dns server IP c4linux
` (2 preceding siblings ...)
2008-07-10 4:01 ` James Cameron
@ 2008-07-10 4:28 ` cyx
3 siblings, 0 replies; 5+ messages in thread
From: cyx @ 2008-07-10 4:28 UTC (permalink / raw)
To: linux-ppp
>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 :)
^ permalink raw reply [flat|nested] 5+ messages in thread