News: This forum is now permanently frozen.
Pages: [1]
Topic: IPv6 PPPoE does not automatically transfer DNS servers  (Read 9347 times)
« on: March 01, 2010, 19:58:40 »
tRr *
Posts: 8

Hello,

My ISP has just started testing IPv6. They have given me a new PPPoE account to use and some IPv6 address space-- a /56 and a /64. I have m0n0wall 1.3 with the WAN 'IPv6 mode' set to 'PPP'.

The initial thing I have found is that the IPv4 DNS servers (they are still working on IPv6 DNS) my ISP gives when logging in through PPPoE are not automatically added into m0n0wall as they were before (and still are if I turn off IPv6). m0n0wall is receiving them as you can see in the attached logs. If I manually add them under General Setup everything works again.

Another thing is the WAN's IPv6 Address is the link-local's address of my LAN interface. I assume this is how it is suppose to be set up since that happens automatically.

I'm not sure if I am setting this up properly at all (especially the addressing) and still have much reading to do but since I don't think very many providers are at this stage yet I would be happy to run tests or be of any other assistance I can be.

IPV6 is working on my other computers though and I can visit m0n0.ch and see my IPv6 address in the upper right.

Thanks

Code:
Mar  1 13:29:47 router mpd: Multi-link PPP daemon for FreeBSD
Mar  1 13:29:47 router mpd:
Mar  1 13:29:47 router mpd: process 905 started, version 4.4.1 (root@mb64.neon1.net 21:35 23-Jul-2009)
Mar  1 13:29:47 router mpd: [pppoe] using interface ng0
Mar  1 13:29:47 router mpd: [pppoe] link: OPEN event
Mar  1 13:29:47 router mpd: [pppoe] LCP: Open event
Mar  1 13:29:47 router mpd: [pppoe] LCP: state change Initial --> Starting
Mar  1 13:29:47 router mpd: [pppoe] LCP: LayerStart
Mar  1 13:29:47 router mpd: [pppoe] PPPoE: Connecting to ''
Mar  1 13:29:48 router rtadvd[920]: <make_packet> link-layer address option has null length on ng0.  Treat as not included.
Mar  1 13:29:49 router mpd: PPPoE: rec'd ACNAME "bas9-toronto63"
Mar  1 13:29:49 router mpd: [pppoe] PPPoE: connection successful
Mar  1 13:29:49 router mpd: [pppoe] link: UP event
Mar  1 13:29:49 router mpd: [pppoe] link: origination is local
Mar  1 13:29:49 router mpd: [pppoe] LCP: Up event
Mar  1 13:29:49 router mpd: [pppoe] LCP: state change Starting --> Req-Sent
Mar  1 13:29:49 router mpd: [pppoe] LCP: SendConfigReq #1
Mar  1 13:29:49 router mpd:  MRU 1492
Mar  1 13:29:49 router mpd:  MAGICNUM 2e44f241
Mar  1 13:29:49 router mpd: [pppoe] LCP: rec'd Configure Request #216 (Req-Sent)
Mar  1 13:29:49 router mpd:  MRU 1492
Mar  1 13:29:49 router mpd:  AUTHPROTO PAP
Mar  1 13:29:49 router mpd:  MAGICNUM 7f8d0c4b
Mar  1 13:29:49 router mpd: [pppoe] LCP: SendConfigAck #216
Mar  1 13:29:49 router mpd:  MRU 1492
Mar  1 13:29:49 router mpd:  AUTHPROTO PAP
Mar  1 13:29:49 router mpd:  MAGICNUM 7f8d0c4b
Mar  1 13:29:49 router mpd: [pppoe] LCP: state change Req-Sent --> Ack-Sent
Mar  1 13:29:49 router mpd: [pppoe] LCP: rec'd Configure Ack #1 (Ack-Sent)
Mar  1 13:29:49 router mpd:  MRU 1492
Mar  1 13:29:49 router mpd:  MAGICNUM 2e44f241
Mar  1 13:29:49 router mpd: [pppoe] LCP: state change Ack-Sent --> Opened
Mar  1 13:29:49 router mpd: [pppoe] LCP: auth: peer wants PAP, I want nothing
Mar  1 13:29:49 router mpd: [pppoe] PAP: using authname "<censored>"
Mar  1 13:29:49 router mpd: [pppoe] PAP: sending REQUEST len:31
Mar  1 13:29:49 router mpd: [pppoe] LCP: LayerUp
Mar  1 13:29:50 router mpd: [pppoe] PAP: rec'd ACK #1
Mar  1 13:29:50 router mpd: [pppoe] LCP: authorization successful
Mar  1 13:29:50 router mpd: [pppoe] Bundle up: 1 link, total bandwidth 64000 bps
Mar  1 13:29:50 router mpd: [pppoe] IPCP: Open event
Mar  1 13:29:50 router mpd: [pppoe] IPCP: state change Initial --> Starting
Mar  1 13:29:50 router mpd: [pppoe] IPCP: LayerStart
Mar  1 13:29:50 router mpd: [pppoe] IPV6CP: Open event
Mar  1 13:29:50 router mpd: [pppoe] IPV6CP: state change Initial --> Starting
Mar  1 13:29:50 router mpd: [pppoe] IPV6CP: LayerStart
Mar  1 13:29:50 router mpd: [pppoe] IPCP: Up event
Mar  1 13:29:50 router mpd: [pppoe] IPCP: state change Starting --> Req-Sent
Mar  1 13:29:50 router mpd: [pppoe] IPCP: SendConfigReq #1
Mar  1 13:29:50 router mpd:  IPADDR 0.0.0.0
Mar  1 13:29:50 router mpd:  COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Mar  1 13:29:50 router mpd:  PRIDNS 0.0.0.0
Mar  1 13:29:50 router mpd:  SECDNS 0.0.0.0
Mar  1 13:29:50 router mpd: [pppoe] IPV6CP: Up event
Mar  1 13:29:50 router mpd: [pppoe] IPV6CP: state change Starting --> Req-Sent
Mar  1 13:29:50 router mpd: [pppoe] IPV6CP: SendConfigReq #1
Mar  1 13:29:50 router mpd: [pppoe] IPCP: rec'd Configure Reject #1 (Req-Sent)
Mar  1 13:29:50 router mpd:  COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Mar  1 13:29:50 router mpd: [pppoe] IPCP: SendConfigReq #2
Mar  1 13:29:50 router mpd:  IPADDR 0.0.0.0
Mar  1 13:29:50 router mpd:  PRIDNS 0.0.0.0
Mar  1 13:29:50 router mpd:  SECDNS 0.0.0.0
Mar  1 13:29:50 router mpd: [pppoe] IPV6CP: rec'd Configure Ack #1 (Req-Sent)
Mar  1 13:29:50 router mpd: [pppoe] IPV6CP: state change Req-Sent --> Ack-Rcvd
Mar  1 13:29:50 router mpd: [pppoe] IPCP: rec'd Configure Nak #2 (Req-Sent)
Mar  1 13:29:50 router mpd:  IPADDR 206.248.185.215
Mar  1 13:29:50 router mpd:    206.248.185.215 is OK
Mar  1 13:29:50 router mpd:  PRIDNS 206.248.154.170
Mar  1 13:29:50 router mpd:  SECDNS 206.248.154.22
Mar  1 13:29:50 router mpd: [pppoe] IPCP: SendConfigReq #3
Mar  1 13:29:50 router mpd:  IPADDR 206.248.185.215
Mar  1 13:29:50 router mpd:  PRIDNS 206.248.154.170
Mar  1 13:29:50 router mpd:  SECDNS 206.248.154.22
Mar  1 13:29:50 router mpd: [pppoe] IPCP: rec'd Configure Ack #3 (Req-Sent)
Mar  1 13:29:50 router mpd:  IPADDR 206.248.185.215
Mar  1 13:29:50 router mpd:  PRIDNS 206.248.154.170
Mar  1 13:29:50 router mpd:  SECDNS 206.248.154.22
Mar  1 13:29:50 router mpd: [pppoe] IPCP: state change Req-Sent --> Ack-Rcvd
Mar  1 13:29:50 router /usr/local/bin/ez-ipupdate[163]: received SIGQUIT, shutting down
Mar  1 13:29:51 router mpd: [pppoe] IPCP: rec'd Configure Request #224 (Ack-Rcvd)
Mar  1 13:29:51 router mpd:  IPADDR 206.248.154.103
Mar  1 13:29:51 router mpd:    206.248.154.103 is OK
Mar  1 13:29:51 router mpd: [pppoe] IPCP: SendConfigAck #224
Mar  1 13:29:51 router mpd:  IPADDR 206.248.154.103
Mar  1 13:29:51 router mpd: [pppoe] IPCP: state change Ack-Rcvd --> Opened
Mar  1 13:29:51 router mpd: [pppoe] IPCP: LayerUp
Mar  1 13:29:51 router mpd:   206.248.185.215 -> 206.248.154.103
Mar  1 13:29:51 router mpd: [pppoe] IFACE: Up event
Mar  1 13:29:51 router rtadvd[921]: <rtmsg_input> interface ng0 becomes up. restart timer.
Mar  1 13:29:51 router mpd: [pppoe] IPV6CP: rec'd Configure Request #5 (Ack-Rcvd)
Mar  1 13:29:51 router mpd: [pppoe] IPV6CP: SendConfigAck #5
Mar  1 13:29:51 router mpd: [pppoe] IPV6CP: state change Ack-Rcvd --> Opened
Mar  1 13:29:51 router mpd: [pppoe] IPV6CP: LayerUp
Mar  1 13:29:51 router mpd:   0213:21ff:feee:1c16 -> 0090:1a00:4243:14a8
Mar  1 13:29:51 router rtadvd[921]: <ra_input> M flag inconsistent on ng0: ON from fe80::90:1a00:4243:14a8, OFF from us
Mar  1 13:29:51 router rtadvd[921]: <ra_input> O flag inconsistent on ng0: ON from fe80::90:1a00:4243:14a8, OFF from us
Mar  1 13:29:51 router rtadvd[921]: <prefix_check> prefix 2607:f2c0:a000:29::/64 from fe80::90:1a00:4243:14a8 on ng0 is not in our list
Mar  1 13:29:51 router kernel: nd6_dad_timer: called with non-tentative address fe80:0007::0213:21ff:feee:1c16(ng0)
« Reply #1 on: March 02, 2010, 11:12:02 »
brushedmoss ****
Posts: 446

I use ipv6 via ppp from my provider, and get my dns as ipv4 addresses, but m0n0wall has no problem installing this automatically.  I'm not sure why your m0n0wall is having a problem, it's the same code used for ipv4 and ipv6 to do this.

as your WAN is a tunnel (pppoe) then that link local is correct for freebsd.

you have the /64 on the WAN interface and the /56 on the LAN I'm guessing, which is correct.

From you logs I see that RA is enabled on the WAN interface, you don't need this to be set, as your ip is configured via ppp.
« Reply #2 on: March 04, 2010, 21:05:39 »
tRr *
Posts: 8

Thanks for your reply brushedmoss. I've tried to do more reading... and learning!

The ISP seems to have the DNS working with the Windows PPPoE client and some other devices. I do have some VLAN's set up that I have not used in awhile, if 1.3.1 doesn't solve it I'll try resetting my config and trying from scratch.

You were correct in saying I did have RA checked on the WAN side. I didn't see much point in this but the text said "This option should normally be enabled." so not really knowing what I am doing I enabled it. Now that I have it disabled I periodically receive this in my logs "<ra_input> received RA from fe80::90:1a00:4243:14a8 on non-advertising interface(ng0)" is that my ISP sending me an RA?

It looks like nobody is using the /64. I have tried both the /64 and the /56 as the LAN address and they both worked fine. The WAN address always shows up as below which you said is correct, but I'm still trying to wrap my head around it and how it works.

Code:
WAN interface
Status up
PPPoE up 
MAC address 00:50:bf:90:77:ea
IPv4 address 206.248.185.4/255.255.255.255
IPv4 gateway 206.248.154.103 
IPv6 address fe80::213:21ff:feee:1c16%ng0/64
IPv6 gateway ng0 
ISP DNS servers 206.248.154.170
206.248.154.22

LAN interface
Status up
MAC address 00:13:21:ee:1c:16
IPv4 address 10.0.0.1/255.255.255.0
IPv6 address fe80::213:21ff:feee:1c16%vr0/64
2607:f2c0:f00f:ce00::1/64

Code:
vr0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=8<VLAN_MTU>
inet6 fe80::213:21ff:feee:1c16%vr0 prefixlen 64 scopeid 0x1
inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255
inet6 2607:f2c0:f00f:ce00::1 prefixlen 64
ether 00:13:21:ee:1c:16
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active

rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=8<VLAN_MTU>
inet6 fe80::250:bfff:fe90:77ea%rl0 prefixlen 64 scopeid 0x2
ether 00:50:bf:90:77:ea
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active

ng0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> mtu 1492
inet6 fe80::213:21ff:feee:1c16%ng0 prefixlen 64 scopeid 0x7
inet 206.248.185.4 --> 206.248.154.103 netmask 0xffffffff

The last question, is it true RA only accept a /64 address? If so maybe a note should be made or a warning if the "Send IPv6 router advertisements" is enabled with anything but a /64 address.

Thanks again!
« Last Edit: March 04, 2010, 21:10:23 by tRr »
« Reply #3 on: March 04, 2010, 21:41:18 »
brushedmoss ****
Posts: 446

In the case of pppoe ipv6,  any packets sent to a destination not on your subnet, will head for the default gateway, which is the tunnel interface.  The Tunnel interface forwards these in ppp to the ppp endpoint which then routes them as normal.  your default gw doesn't have to be the next hop as you'd expect.

I will re phrase the text for RA on the WAN interface.

in 1.31 the text for RA already says

Using a number less than /64 will cause RA's not to be announced as there aren't enough subnet bits. i.e. /48

The /56 would normally be subnetted to /64's
« Last Edit: March 04, 2010, 21:45:42 by brushedmoss »
« Reply #4 on: March 23, 2010, 17:40:54 »
tRr *
Posts: 8

Thanks for your explanations brushedmoss, they have helped a lot. Just as an update 1.3.1 didn't fix the DNS problem I described in this thread.

Do you know if it's normal to have the PRIDNS sometimes set to 0.0.0.0 as shown in the the initial logs (twice)? It then seems to to set the proper values twice.

e.g.

Mar  1 13:29:50 router mpd: [pppoe] IPCP: SendConfigReq #2
Mar  1 13:29:50 router mpd:  IPADDR 0.0.0.0
Mar  1 13:29:50 router mpd:  PRIDNS 0.0.0.0
Mar  1 13:29:50 router mpd:  SECDNS 0.0.0.0
« Reply #5 on: March 23, 2010, 18:09:13 »
brushedmoss ****
Posts: 446

I didn't find a bug to fix this :-)

what does you log show for ppp when ipv6 is disabled and dns from your ISP works ?
« Reply #6 on: April 03, 2010, 03:55:30 »
tRr *
Posts: 8

Thanks for keep trying to look into this! Sorry I always take so long to reply, it's my mom's house this is set up in and if I break something and can't VPN in...

I have just tried totally disabling IPv6 under "Advanced" and removing the DNS server under "General Setup". Which results in the following log:

Code:
Apr  2 21:25:21 router mpd: process 925 started, version 4.4.1 (root@mb64.neon1.net 21:35 23-Jul-2009)
Apr  2 21:25:21 router mpd: [pppoe] using interface ng0
Apr  2 21:25:21 router mpd: [pppoe] link: OPEN event
Apr  2 21:25:21 router mpd: [pppoe] LCP: Open event
Apr  2 21:25:21 router mpd: [pppoe] LCP: state change Initial --> Starting
Apr  2 21:25:21 router mpd: [pppoe] LCP: LayerStart
Apr  2 21:25:21 router mpd: [pppoe] PPPoE: Connecting to ''
Apr  2 21:25:22 router mpd: PPPoE: rec'd ACNAME "bas9-toronto63"
Apr  2 21:25:22 router mpd: [pppoe] PPPoE: connection successful
Apr  2 21:25:22 router mpd: [pppoe] link: UP event
Apr  2 21:25:22 router mpd: [pppoe] link: origination is local
Apr  2 21:25:22 router mpd: [pppoe] LCP: Up event
Apr  2 21:25:22 router mpd: [pppoe] LCP: state change Starting --> Req-Sent
Apr  2 21:25:22 router mpd: [pppoe] LCP: SendConfigReq #1
Apr  2 21:25:22 router mpd:  MRU 1492
Apr  2 21:25:22 router mpd:  MAGICNUM 1af43785
Apr  2 21:25:22 router mpd: [pppoe] LCP: rec'd Configure Request #83 (Req-Sent)
Apr  2 21:25:22 router mpd:  MRU 1492
Apr  2 21:25:22 router mpd:  AUTHPROTO PAP
Apr  2 21:25:22 router mpd:  MAGICNUM 081fcfd4
Apr  2 21:25:22 router mpd: [pppoe] LCP: SendConfigAck #83
Apr  2 21:25:22 router mpd:  MRU 1492
Apr  2 21:25:22 router mpd:  AUTHPROTO PAP
Apr  2 21:25:22 router mpd:  MAGICNUM 081fcfd4
Apr  2 21:25:22 router mpd: [pppoe] LCP: state change Req-Sent --> Ack-Sent
Apr  2 21:25:22 router mpd: [pppoe] LCP: rec'd Configure Ack #1 (Ack-Sent)
Apr  2 21:25:22 router mpd:  MRU 1492
Apr  2 21:25:22 router mpd:  MAGICNUM 1af43785
Apr  2 21:25:22 router mpd: [pppoe] LCP: state change Ack-Sent --> Opened
Apr  2 21:25:22 router mpd: [pppoe] LCP: auth: peer wants PAP, I want nothing
Apr  2 21:25:22 router mpd: [pppoe] PAP: using authname "xxxxxxxxxxxx@hsiservice.net"
Apr  2 21:25:22 router mpd: [pppoe] PAP: sending REQUEST len:31
Apr  2 21:25:22 router mpd: [pppoe] LCP: LayerUp
Apr  2 21:25:23 router mpd: [pppoe] PAP: rec'd ACK #1
Apr  2 21:25:23 router mpd: [pppoe] LCP: authorization successful
Apr  2 21:25:23 router mpd: [pppoe] Bundle up: 1 link, total bandwidth 64000 bps
Apr  2 21:25:23 router mpd: [pppoe] IPCP: Open event
Apr  2 21:25:23 router mpd: [pppoe] IPCP: state change Initial --> Starting
Apr  2 21:25:23 router mpd: [pppoe] IPCP: LayerStart
Apr  2 21:25:23 router mpd: [pppoe] IPCP: Up event
Apr  2 21:25:23 router mpd: [pppoe] IPCP: state change Starting --> Req-Sent
Apr  2 21:25:23 router mpd: [pppoe] IPCP: SendConfigReq #1
Apr  2 21:25:23 router mpd:  IPADDR 0.0.0.0
Apr  2 21:25:23 router mpd:  COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Apr  2 21:25:23 router mpd:  PRIDNS 0.0.0.0
Apr  2 21:25:23 router mpd:  SECDNS 0.0.0.0
Apr  2 21:25:23 router mpd: [pppoe] IPCP: rec'd Configure Reject #1 (Req-Sent)
Apr  2 21:25:23 router mpd:  COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Apr  2 21:25:23 router mpd: [pppoe] IPCP: SendConfigReq #2
Apr  2 21:25:23 router mpd:  IPADDR 0.0.0.0
Apr  2 21:25:23 router mpd:  PRIDNS 0.0.0.0
Apr  2 21:25:23 router mpd:  SECDNS 0.0.0.0
Apr  2 21:25:23 router mpd: [pppoe] IPCP: rec'd Configure Nak #2 (Req-Sent)
Apr  2 21:25:23 router mpd:  IPADDR 206.248.185.71
Apr  2 21:25:23 router mpd:    206.248.185.71 is OK
Apr  2 21:25:23 router mpd:  PRIDNS 206.248.154.170
Apr  2 21:25:23 router mpd:  SECDNS 206.248.154.22
Apr  2 21:25:23 router mpd: [pppoe] IPCP: SendConfigReq #3
Apr  2 21:25:23 router mpd:  IPADDR 206.248.185.71
Apr  2 21:25:23 router mpd:  PRIDNS 206.248.154.170
Apr  2 21:25:23 router mpd:  SECDNS 206.248.154.22
Apr  2 21:25:23 router mpd: [pppoe] IPCP: rec'd Configure Ack #3 (Req-Sent)
Apr  2 21:25:23 router mpd:  IPADDR 206.248.185.71
Apr  2 21:25:23 router mpd:  PRIDNS 206.248.154.170
Apr  2 21:25:23 router mpd:  SECDNS 206.248.154.22
Apr  2 21:25:23 router mpd: [pppoe] IPCP: state change Req-Sent --> Ack-Rcvd
Apr  2 21:25:23 router mpd: [pppoe] IPCP: rec'd Configure Request #197 (Ack-Rcvd)
Apr  2 21:25:23 router mpd:  IPADDR 206.248.154.103
Apr  2 21:25:23 router mpd:    206.248.154.103 is OK
Apr  2 21:25:23 router mpd: [pppoe] IPCP: SendConfigAck #197
Apr  2 21:25:23 router mpd:  IPADDR 206.248.154.103
Apr  2 21:25:23 router mpd: [pppoe] IPCP: state change Ack-Rcvd --> Opened
Apr  2 21:25:23 router mpd: [pppoe] IPCP: LayerUp
Apr  2 21:25:23 router mpd:   206.248.185.71 -> 206.248.154.103
Apr  2 21:25:23 router mpd: [pppoe] IFACE: Up event
Apr  2 21:25:24 router /usr/local/bin/ez-ipupdate[163]: received SIGQUIT, shutting down
Apr  2 21:25:25 router /usr/local/bin/ez-ipupdate[1010]: ez-ipupdate Version 3.0.11b8, Copyright (C) 1998-2001 Angus Mackay.
Apr  2 21:25:25 router /usr/local/bin/ez-ipupdate[1010]: /usr/local/bin/ez-ipupdate started for interface ng0 host xxxxxxxxxx.selfip.com using server members.dyndns.org and service dyndns
Apr  2 21:25:25 router /usr/local/bin/ez-ipupdate[1010]: got last update 206.248.185.29 on 2010/03/21 16:04 from cache file
Apr  2 21:25:25 router dnsmasq[744]: exiting on receipt of SIGTERM
Apr  2 21:25:25 router /usr/local/bin/ez-ipupdate[1010]: failure to update ng0->206.248.185.71 (xxxxxxxx.selfip.com)
Apr  2 21:25:26 router dnsmasq[1019]: started, version 2.45 cachesize 150
Apr  2 21:25:26 router dnsmasq[1019]: compile time options: IPv6 GNU-getopt BSD-bridge ISC-leasefile no-DBus no-I18N TFTP
Apr  2 21:25:26 router dnsmasq[1019]: reading /var/db/dhcpd.leases
Apr  2 21:25:26 router dnsmasq[1019]: no servers found in /etc/resolv.conf, will retry
Apr  2 21:25:26 router dnsmasq[1019]: no servers found in /etc/resolv.conf, will retry
Apr  2 21:25:26 router dnsmasq[1019]: read /etc/hosts - 4 addresses
Apr  2 21:25:27 router dhcpd: Internet Systems Consortium DHCP Server V3.0.7
Apr  2 21:25:27 router dhcpd: Copyright 2004-2008 Internet Systems Consortium.
Apr  2 21:25:27 router dhcpd: All rights reserved.
Apr  2 21:25:27 router dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Apr  2 21:25:34 router dnsmasq[1019]: reading /var/db/dhcpd.leases
Apr  2 21:25:34 router dnsmasq[1019]: reading /etc/resolv.conf
Apr  2 21:25:34 router dnsmasq[1019]: using nameserver 206.248.154.22#53
Apr  2 21:25:34 router dnsmasq[1019]: using nameserver 206.248.154.170#53

This is the log after I enable IPv6 and then set the WAN to PPP IPv6:

Code:
Apr  2 21:37:43 router mpd: Multi-link PPP daemon for FreeBSD
Apr  2 21:37:43 router mpd:
Apr  2 21:37:43 router mpd: process 1694 started, version 4.4.1 (root@mb64.neon1.net 21:35 23-Jul-2009)
Apr  2 21:37:43 router mpd: [pppoe] using interface ng0
Apr  2 21:37:43 router mpd: [pppoe] link: OPEN event
Apr  2 21:37:43 router mpd: [pppoe] LCP: Open event
Apr  2 21:37:43 router mpd: [pppoe] LCP: state change Initial --> Starting
Apr  2 21:37:43 router mpd: [pppoe] LCP: LayerStart
Apr  2 21:37:43 router mpd: [pppoe] PPPoE: Connecting to ''
Apr  2 21:37:46 router mpd: PPPoE: rec'd ACNAME "bas9-toronto63"
Apr  2 21:37:46 router mpd: [pppoe] PPPoE: connection successful
Apr  2 21:37:46 router mpd: [pppoe] link: UP event
Apr  2 21:37:46 router mpd: [pppoe] link: origination is local
Apr  2 21:37:46 router mpd: [pppoe] LCP: Up event
Apr  2 21:37:46 router mpd: [pppoe] LCP: state change Starting --> Req-Sent
Apr  2 21:37:46 router mpd: [pppoe] LCP: SendConfigReq #1
Apr  2 21:37:46 router mpd:  MRU 1492
Apr  2 21:37:46 router mpd:  MAGICNUM 39d4fef2
Apr  2 21:37:46 router mpd: [pppoe] LCP: rec'd Configure Request #235 (Req-Sent)
Apr  2 21:37:46 router mpd:  MRU 1492
Apr  2 21:37:46 router mpd:  AUTHPROTO PAP
Apr  2 21:37:46 router mpd:  MAGICNUM 21177612
Apr  2 21:37:46 router mpd: [pppoe] LCP: SendConfigAck #235
Apr  2 21:37:46 router mpd:  MRU 1492
Apr  2 21:37:46 router mpd:  AUTHPROTO PAP
Apr  2 21:37:46 router mpd:  MAGICNUM 21177612
Apr  2 21:37:46 router mpd: [pppoe] LCP: state change Req-Sent --> Ack-Sent
Apr  2 21:37:46 router mpd: [pppoe] LCP: rec'd Configure Ack #1 (Ack-Sent)
Apr  2 21:37:46 router mpd:  MRU 1492
Apr  2 21:37:46 router mpd:  MAGICNUM 39d4fef2
Apr  2 21:37:46 router mpd: [pppoe] LCP: state change Ack-Sent --> Opened
Apr  2 21:37:46 router mpd: [pppoe] LCP: auth: peer wants PAP, I want nothing
Apr  2 21:37:46 router mpd: [pppoe] PAP: using authname "xxxxxxxxxx@hsiservice.net"
Apr  2 21:37:46 router mpd: [pppoe] PAP: sending REQUEST len:31
Apr  2 21:37:46 router mpd: [pppoe] LCP: LayerUp
Apr  2 21:37:47 router /usr/local/bin/ez-ipupdate[1010]: received SIGQUIT, shutting down
Apr  2 21:37:47 router mpd: [pppoe] PAP: rec'd ACK #1
Apr  2 21:37:47 router mpd: [pppoe] LCP: authorization successful
Apr  2 21:37:47 router mpd: [pppoe] Bundle up: 1 link, total bandwidth 64000 bps
Apr  2 21:37:47 router mpd: [pppoe] IPCP: Open event
Apr  2 21:37:47 router mpd: [pppoe] IPCP: state change Initial --> Starting
Apr  2 21:37:47 router mpd: [pppoe] IPCP: LayerStart
Apr  2 21:37:47 router mpd: [pppoe] IPV6CP: Open event
Apr  2 21:37:47 router mpd: [pppoe] IPV6CP: state change Initial --> Starting
Apr  2 21:37:47 router mpd: [pppoe] IPV6CP: LayerStart
Apr  2 21:37:47 router mpd: [pppoe] IPCP: Up event
Apr  2 21:37:47 router mpd: [pppoe] IPCP: state change Starting --> Req-Sent
Apr  2 21:37:47 router mpd: [pppoe] IPCP: SendConfigReq #1
Apr  2 21:37:47 router mpd:  IPADDR 0.0.0.0
Apr  2 21:37:47 router mpd:  COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Apr  2 21:37:47 router mpd:  PRIDNS 0.0.0.0
Apr  2 21:37:47 router mpd:  SECDNS 0.0.0.0
Apr  2 21:37:47 router mpd: [pppoe] IPV6CP: Up event
Apr  2 21:37:47 router mpd: [pppoe] IPV6CP: state change Starting --> Req-Sent
Apr  2 21:37:47 router mpd: [pppoe] IPV6CP: SendConfigReq #1
Apr  2 21:37:47 router mpd: [pppoe] IPCP: rec'd Configure Reject #1 (Req-Sent)
Apr  2 21:37:47 router mpd:  COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Apr  2 21:37:47 router mpd: [pppoe] IPCP: SendConfigReq #2
Apr  2 21:37:47 router mpd:  IPADDR 0.0.0.0
Apr  2 21:37:47 router mpd:  PRIDNS 0.0.0.0
Apr  2 21:37:47 router mpd:  SECDNS 0.0.0.0
Apr  2 21:37:47 router mpd: [pppoe] IPV6CP: rec'd Configure Ack #1 (Req-Sent)
Apr  2 21:37:47 router mpd: [pppoe] IPV6CP: state change Req-Sent --> Ack-Rcvd
Apr  2 21:37:47 router mpd: [pppoe] IPCP: rec'd Configure Nak #2 (Req-Sent)
Apr  2 21:37:47 router mpd:  IPADDR 206.248.185.72
Apr  2 21:37:47 router mpd:    206.248.185.72 is OK
Apr  2 21:37:47 router mpd:  PRIDNS 206.248.154.170
Apr  2 21:37:47 router mpd:  SECDNS 206.248.154.22
Apr  2 21:37:47 router mpd: [pppoe] IPCP: SendConfigReq #3
Apr  2 21:37:47 router mpd:  IPADDR 206.248.185.72
Apr  2 21:37:47 router mpd:  PRIDNS 206.248.154.170
Apr  2 21:37:47 router mpd:  SECDNS 206.248.154.22
Apr  2 21:37:47 router mpd: [pppoe] IPCP: rec'd Configure Ack #3 (Req-Sent)
Apr  2 21:37:47 router mpd:  IPADDR 206.248.185.72
Apr  2 21:37:47 router mpd:  PRIDNS 206.248.154.170
Apr  2 21:37:47 router mpd:  SECDNS 206.248.154.22
Apr  2 21:37:47 router mpd: [pppoe] IPCP: state change Req-Sent --> Ack-Rcvd
Apr  2 21:37:47 router mpd: [pppoe] IPCP: rec'd Configure Request #36 (Ack-Rcvd)
Apr  2 21:37:47 router mpd:  IPADDR 206.248.154.103
Apr  2 21:37:47 router mpd:    206.248.154.103 is OK
Apr  2 21:37:47 router mpd: [pppoe] IPCP: SendConfigAck #36
Apr  2 21:37:47 router mpd:  IPADDR 206.248.154.103
Apr  2 21:37:47 router mpd: [pppoe] IPCP: state change Ack-Rcvd --> Opened
Apr  2 21:37:47 router mpd: [pppoe] IPCP: LayerUp
Apr  2 21:37:47 router mpd:   206.248.185.72 -> 206.248.154.103
Apr  2 21:37:47 router mpd: [pppoe] IFACE: Up event
Apr  2 21:37:47 router mpd: [pppoe] IPV6CP: rec'd Configure Request #205 (Ack-Rcvd)
Apr  2 21:37:47 router mpd: [pppoe] IPV6CP: SendConfigAck #205
Apr  2 21:37:47 router mpd: [pppoe] IPV6CP: state change Ack-Rcvd --> Opened
Apr  2 21:37:47 router mpd: [pppoe] IPV6CP: LayerUp
Apr  2 21:37:47 router mpd:   0213:21ff:feee:1c16 -> 0090:1a00:4243:14a8
Apr  2 21:37:48 router rtadvd[1710]: <rtadvd_input> received data on a disabled interface (ng0)
Apr  2 21:37:48 router /usr/local/bin/ez-ipupdate[1828]: ez-ipupdate Version 3.0.11b8, Copyright (C) 1998-2001 Angus Mackay.
Apr  2 21:37:48 router /usr/local/bin/ez-ipupdate[1828]: /usr/local/bin/ez-ipupdate started for interface ng0 host xxxxxxx.selfip.com using server members.dyndns.org and service dyndns
Apr  2 21:37:48 router /usr/local/bin/ez-ipupdate[1828]: got last update 206.248.185.71 on 2010/04/02 21:30 from cache file
Apr  2 21:37:48 router dnsmasq[1469]: exiting on receipt of SIGTERM
Apr  2 21:37:49 router kernel: nd6_dad_timer: called with non-tentative address fe80:0007::0213:21ff:feee:1c16(ng0)
Apr  2 21:37:49 router dnsmasq[1835]: started, version 2.45 cachesize 150
Apr  2 21:37:49 router dnsmasq[1835]: compile time options: IPv6 GNU-getopt BSD-bridge ISC-leasefile no-DBus no-I18N TFTP
Apr  2 21:37:49 router dnsmasq[1835]: reading /var/db/dhcpd.leases
Apr  2 21:37:49 router dnsmasq[1835]: reading /etc/resolv.conf
Apr  2 21:37:49 router dnsmasq[1835]: using nameserver 206.248.154.22#53
Apr  2 21:37:49 router dnsmasq[1835]: using nameserver 206.248.154.170#53
Apr  2 21:37:49 router dnsmasq[1835]: read /etc/hosts - 4 addresses
Apr  2 21:37:50 router dhcpd: Internet Systems Consortium DHCP Server V3.0.7
Apr  2 21:37:50 router dhcpd: Copyright 2004-2008 Internet Systems Consortium.
Apr  2 21:37:50 router dhcpd: All rights reserved.
Apr  2 21:37:50 router dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Apr  2 21:37:52 router dnsmasq[1835]: reading /var/db/dhcpd.leases
Apr  2 21:37:52 router dnsmasq[1835]: no servers found in /etc/resolv.conf, will retry
Apr  2 21:37:52 router dnsmasq[1835]: no servers found in /etc/resolv.conf, will retry
Apr  2 21:37:53 router /usr/local/bin/ez-ipupdate[1828]: successful update for ng0->206.248.185.72 (xxxxxxxx.selfip.com)
Apr  2 21:37:57 router rtadvd[2015]: <ra_input> received RA from fe80::90:1a00:4243:14a8 on non-advertising interface(ng0)

Regardless of what it says it is not using the nameserver 206.248.154.22 or 206.248.154.170 once IPv6 is turned on. One of the changes I can see is both set of logs have "no servers found in /etc/resolv.conf, will retry" but the IPv6 has that at the very end when the IPv4 only logs has it earlier followed by the "using nameserver 206.248.154.22#53".

I'm open to trying anything else you would like and thanks once again.

Have a great day!
« Reply #7 on: April 03, 2010, 14:05:07 »
brushedmoss ****
Posts: 446

from /exec.php can you execute

cat /var/etc/nameservers.conf
« Reply #8 on: April 03, 2010, 20:07:52 »
tRr *
Posts: 8

Sure, here is the output:

Code:
$ cat /var/etc/nameservers.conf
cat: /var/etc/nameservers.conf: No such file or directory

This is /etc/resolv.conf

Code:
$ cat /etc/resolv.conf
domain lan
nameserver 206.248.154.22
nameserver 206.248.154.170

Both are with IPv6 enabled (and the DNS manually configured under General Setup).
« Last Edit: April 03, 2010, 20:10:08 by tRr »
« Reply #9 on: April 03, 2010, 22:06:43 »
brushedmoss ****
Posts: 446

can u give me that output with no dns configured and the override setting enabled ?

the pppoe client should put it's dns servers into nameservers.conf, which m0n0wall moves into resolv.conf, which dnsmasq picks up.
« Reply #10 on: April 07, 2010, 19:25:48 »
tRr *
Posts: 8

I should be much faster responding from now on!  Smiley

After deleting the DNS entries and leaving the override check this is what the logs showed:

Code:
Apr 7 13:07:27 dnsmasq[3574]: started, version 2.45 cachesize 150
Apr 7 13:07:27 dnsmasq[3574]: compile time options: IPv6 GNU-getopt BSD-bridge ISC-leasefile no-DBus no-I18N TFTP
Apr 7 13:07:27 dnsmasq[3574]: reading /var/db/dhcpd.leases
Apr 7 13:07:27 dnsmasq[3574]: no servers found in /etc/resolv.conf, will retry
Apr 7 13:07:27 dnsmasq[3574]: no servers found in /etc/resolv.conf, will retry
Apr 7 13:07:27 dnsmasq[3574]: read /etc/hosts - 4 addresses
Apr 7 13:07:28 dhcpd: Internet Systems Consortium DHCP Server V3.0.7
Apr 7 13:07:28 dhcpd: Copyright 2004-2008 Internet Systems Consortium.
Apr 7 13:07:28 dhcpd: All rights reserved.
Apr 7 13:07:28 dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Apr 7 13:07:29 dnsmasq[3574]: reading /var/db/dhcpd.leases

And the outputs with exec.php
Code:
$ cat /etc/hosts
127.0.0.1 localhost localhost.lan
10.0.0.1 router.lan router
10.0.0.2 pbx.lan pbx
10.0.0.1 router.lan router

$ cat /etc/resolv.conf
domain lan

$ cat /var/etc/nameservers.conf
cat: /var/etc/nameservers.conf: No such file or directory

Here is the outputs after a restart (with no DNS manually configured, overrides allowed)

Code:
$ cat /var/etc/nameservers.conf
cat: /var/etc/nameservers.conf: No such file or directory

$ cat /etc/resolv.conf
domain lan

I noticed this in the logs---- when dnsmasq starts the PPP link isn't up yet and dnsmasq doesn't log anything else once the link does go up.
Code:
Apr  7 13:13:31 router dnsmasq[160]: started, version 2.45 cachesize 150
Apr  7 13:13:31 router dnsmasq[160]: compile time options: IPv6 GNU-getopt BSD-bridge ISC-leasefile no-DBus no-I18N TFTP
Apr  7 13:13:31 router dnsmasq[160]: failed to access /var/db/dhcpd.leases: No such file or directory
Apr  7 13:13:31 router dnsmasq[160]: failed to access /var/db/dhcpd.leases: No such file or directory
Apr  7 13:13:31 router dnsmasq[160]: no servers found in /etc/resolv.conf, will retry
Apr  7 13:13:31 router dnsmasq[160]: no servers found in /etc/resolv.conf, will retry
Apr  7 13:13:31 router dnsmasq[160]: read /etc/hosts - 4 addresses
Apr  7 13:13:31 router /usr/local/bin/ez-ipupdate[163]: ez-ipupdate Version 3.0.11b8, Copyright (C) 1998-2001 Angus Mackay.
Apr  7 13:13:31 router /usr/local/bin/ez-ipupdate[163]: /usr/local/bin/ez-ipupdate started for interface ng0 host xxxxxxx.selfip.com using server members.dyndns.org and service dyndns
Apr  7 13:13:31 router /usr/local/bin/ez-ipupdate[163]: got last update 206.248.185.72 on 2010/04/02 21:37 from cache file
Apr  7 13:13:31 router /usr/local/bin/ez-ipupdate[163]: (xxxxxxx.selfip.com) unable to resolve interface ng0
Apr  7 13:13:31 router dhcpd: Internet Systems Consortium DHCP Server V3.0.7
Apr  7 13:13:31 router dhcpd: Copyright 2004-2008 Internet Systems Consortium.
Apr  7 13:13:31 router dhcpd: All rights reserved.
Apr  7 13:13:31 router dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Apr  7 13:13:32 router kernel: rl0: link state changed to DOWN
Apr  7 13:13:31 router mpd: Multi-link PPP daemon for FreeBSD
Apr  7 13:13:31 router mpd:
Apr  7 13:13:31 router mpd: process 183 started, version 4.4.1 (root@mb64.neon1.net 21:35 23-Jul-2009)
Apr  7 13:13:32 router mpd: [pppoe] using interface ng0
Apr  7 13:13:32 router mpd: [pppoe] link: OPEN event
Apr  7 13:13:32 router mpd: [pppoe] LCP: Open event
Apr  7 13:13:32 router mpd: [pppoe] LCP: state change Initial --> Starting
Apr  7 13:13:32 router mpd: [pppoe] LCP: LayerStart
Apr  7 13:13:32 router mpd: [pppoe] PPPoE: Connecting to ''
« Reply #11 on: April 07, 2010, 22:29:32 »
brushedmoss ****
Posts: 446

Thanks,  I need to figure out why you don't have a nameservers.conf
« Reply #12 on: April 16, 2010, 01:16:31 »
brushedmoss ****
Posts: 446

MK and I swapped some mails on this today, he pointed to a possible race condition.

try this;

goto /exec.php and upload this file

then copy it over the original  by executing

Code:
cp /tmp/ppp-linkup.txt /usr/local/sbin/ppp-linkup

then change the permissions by executing

Code:
chmod a+rx /usr/local/sbin/ppp-linkup

then goto wan and hit save, it should restart pppoe and hopefully fix the problem

* ppp-linkup.txt (0.62 KB - downloaded 212 times.)
« Reply #13 on: April 16, 2010, 18:29:12 »
tRr *
Posts: 8

Aha! After the changes:

Code:
$ cat /var/etc/nameservers.conf
206.248.154.170
206.248.154.22

So that did it! Will these changes survive a restart?

Thanks for working on it!
« Reply #14 on: April 17, 2010, 01:55:12 »
brushedmoss ****
Posts: 446

It won't survive a restart,  you need to wait until there is a new image, 1.32 which I hope will be real soon.

 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines