Modify

Opened 10 years ago

Closed 10 years ago

#2525 closed enhancement (fixed)

Make PPP autonegotiate IPv6 whenever possible, including setting the default route

Reported by: openwrt@… Owned by: developers
Priority: normal Milestone:
Component: packages Version:
Keywords: Cc:

Description

The attached patch against r9316 makes PPP negotiate IPv6 if available from the remote end. It also adds the scripts needed to set the IPv6 default route when PPP successfully negotiates an IPv6 link, provided that ppp.sh would have told PPPd to set the IPv4 default route.

Attachments (2)

ipv6-ppp.diff (2.0 KB) - added by openwrt@… 10 years ago.
ppp-diff (3.0 KB) - added by openwrt@… 10 years ago.
Redone at nbd's request to use an ipv6 config variable instead.

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by openwrt@…

Changed 10 years ago by openwrt@…

Redone at nbd's request to use an ipv6 config variable instead.

comment:1 Changed 10 years ago by openwrt@…

I've now tested ppp-diff. Without any changes to configuration, I get IPv4 only. When I add "option ipv6 true" to my ppp config section, I get IPv6. I think this covers the problems nbd was worried about on IRC.

A working PPP stanza for IPv6 (minus my username and password) looks like:

config interface wan
        option ifname   atm0
        option proto    pppoa
        option ipv6     true
        option encaps   vc
        option vpi      0
        option vci      38

comment:2 Changed 10 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

added in [9508]

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.