Open GoogleCodeExporter opened 9 years ago
One more interesting observation.
PPP session terminates correctly every time(pppd receives LCP TermReq). But
this issue happens sporadically. This can be kind a race condition.
Example, in which dhcp6c correctly removes old prefix from br0, is below:
####
Jan 18 23:00:57 pppd[323]: LCP terminated by peer
Jan 18 23:00:57 pppd[323]: Connect time 10.2 minutes.
Jan 18 23:00:57 pppd[323]: Sent 1243965 bytes, received 12476184 bytes.
Jan 18 23:00:57 PPPoE: Disconnected
Jan 18 23:00:57 dnsmasq[217]: read /etc/hosts - 3 addresses
Jan 18 23:00:57 dnsmasq[217]: using nameserver 85.175.46.130#53
Jan 18 23:00:57 dnsmasq[217]: using nameserver 85.175.46.122#53
Jan 18 23:00:57 dhcp6c[445]: exiting
Jan 18 23:00:57 dhcp6c[445]: sendto: Network is unreachable
Jan 18 23:00:57 dhcp6c[445]: remove address
2a02:8040:fffe:3e:e2cb:4eff:fead:ede2/64 on br0
Jan 18 23:01:00 pppd[323]: Connection terminated.
Jan 18 23:01:00 pppd[323]: Connect time 10.2 minutes.
Jan 18 23:01:00 pppd[323]: Sent 1243965 bytes, received 12476184 bytes.
Jan 18 23:01:00 pppd[323]: Modem hangup
Jan 18 23:01:31 pppd[323]: PPP session is 237 (0xed)
Jan 18 23:01:31 pppd[323]: Connected to 00:90:1a:a4:3e:cd via interface vlan2
Jan 18 23:01:31 pppd[323]: Using interface ppp0
Jan 18 23:01:31 pppd[323]: Connect: ppp0 <--> vlan2
Jan 18 23:01:31 pppd[323]: PAP authentication succeeded
Jan 18 23:01:31 pppd[323]: peer from calling number 00:90:1A:A4:3E:CD authorized
Jan 18 23:01:31 pppd[323]: local LL address fe80::d40a:953c:4562:efac
Jan 18 23:01:31 pppd[323]: remote LL address fe80::0090:1a00:02a4:162f
Jan 18 23:01:31 pppd[323]: local IP address 94.233.192.207
Jan 18 23:01:31 pppd[323]: remote IP address 85.175.1.63
Jan 18 23:01:31 pppd[323]: primary DNS address 85.175.46.122
Jan 18 23:01:31 pppd[323]: secondary DNS address 85.175.46.130
Jan 18 23:01:32 dnsmasq[217]: read /etc/hosts - 3 addresses
Jan 18 23:01:32 dnsmasq[217]: using nameserver 85.175.46.130#53
Jan 18 23:01:32 dnsmasq[217]: using nameserver 85.175.46.122#53
Jan 18 23:01:32 dhcp6c[510]: started
Jan 18 23:01:32 INADYN[515]: Started 'INADYN version 1.96.3' - dynamic DNS
updater.
Jan 18 23:01:32 INADYN[515]: IP read from cache file is '94.233.192.206'. No
update required.
Jan 18 23:01:32 miniupnpd[221]: already expired lease in lease file
Jan 18 23:01:32 PPPoE: connected to ISP
Jan 18 23:01:33 dhcp6c[510]: unexpected DHCP6 option reconfigure accept, len 0
Jan 18 23:01:33 dhcp6c[510]: status code: success
Jan 18 23:01:33 dhcp6c[510]: add address
2a02:8040:fffe:3f:e2cb:4eff:fead:ede2/64 on br0
Jan 18 23:01:33 dnsmasq[217]: read /etc/hosts - 3 addresses
Jan 18 23:01:33 dnsmasq[217]: using nameserver 85.175.46.130#53
Jan 18 23:01:33 dnsmasq[217]: using nameserver 85.175.46.122#53
Jan 18 23:01:33 radvd[215]: attempting to reread config file
Jan 18 23:01:33 radvd[215]: resuming normal operation
[root@home tmp]$ date && ip -6 addr show dev br0
Wed Jan 18 23:01:43 MSK 2012
7: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500
inet6 2a02:8040:fffe:3f:e2cb:4eff:fead:ede2/64 scope global
valid_lft forever preferred_lft forever
inet6 fe80::e2cb:4eff:fead:ede2/64 scope link
valid_lft forever preferred_lft forever
####
radvd
Original comment by Les...@gmail.com
on 18 Jan 2012 at 7:10
Original comment by lly.dev
on 26 Jan 2012 at 6:41
First off, please clarify your ISP configuration - are IPv6 addresses can be
acquired via vlan2 interface even if PPP link is down? Can you provide
/etc/dhcp6c.conf?
LAN prefix deletion should performed on WAN link down at /tmp/ppp/ipv6-down
script call. Unfortunately, you strip first log, so it is impossible to
understand was pppd down scripts fired or not. Can you add "debug" to
additional pppd options field and provide log in case problematic reconnect
(zap login/password before)?
P.S. Juniper uses unsupported in dhcp6c "reconfigure accept" option, it will be
silently ignored in future.
Original comment by lly.dev
on 8 Oct 2012 at 1:18
Original issue reported on code.google.com by
Les...@gmail.com
on 16 Jan 2012 at 6:26Attachments: