IPv6 over ppp is support by PPP by default.
Just modify config file will make ipv6 work.
Server's configure:
add one line to pppoe config file(/etc/ppp/pppoe-server-options)
"ipv6 ::111,::2"
after modify, restart pppoe-server.
Dial again, ppp interface can get an ipv6 link local address from server.
ppp101 Link encap:Point-to-Point Protocol
inet addr:192.172.200.60 P-t-P:192.172.200.140 Mask:255.255.255.255
inet6 addr: fe80::2/10 Scope:Link
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:912 errors:0 dropped:0 overruns:0 frame:0
TX packets:597 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:25
RX bytes:99356 (97.0 KiB) TX bytes:44761 (43.7 KiB)
Client's configure:
Add one line to pppoe's config file(/etc/ppp/options:
"+ipv6"
阅读(2705) | 评论(0) | 转发(0) |