mt7620

魔都移动家宽似乎已经支持 IPv6

  •  
  •   mt7620 · Sep 9, 2018 · 3886 views
    This topic created in 2977 days ago, the information mentioned may be changed or developed.

    光猫桥接,今天在 ubnt 的 pppd log 里看到了下面这段。

    Unsupported protocol 'IPv6 Control Protovol' (0x8057) received

    看来需要抽空研究一下怎么在 pppd 下开启 IPv6 了

    Supplement 1  ·  Oct 6, 2018
    记录一下 ubnt er-x 开启 ipv6 的方法:

    set interfaces ethernet eth0 pppoe 0 ipv6 enable
    set interfaces ethernet eth0 pppoe 0 ipv6 address autoconf
    set interfaces ethernet eth0 pppoe 0 ipv6 dup-addr-detect-transmits 1

    set interfaces ethernet eth0 pppoe 0 dhcpv6-pd pd 0 interface switch0 service dhcpv6-stateless

    set protocols static interface-route6 ::/0 next-hop-interface pppoe0
    6 replies  •  2018-11-30 10:42:20 +08:00
    univert
    univert
    Sep 9, 2018
    1
    ipv6 有啥用呢,能出去么
    lengsir
    lengsir
    Sep 9, 2018
    2
    @univert 教育网 ipv6 能出去,移动网不行
    mt7620
    mt7620
    OP
    Sep 9, 2018
    3
    经测试 WAN 口可以正常获取 IPv6,LAN 端等我再研究一下。

    ubnt er-x pppoe 获取 ipv6 方法如下:

    configure
    set interfaces ethernet eth0 pppoe 0 ipv6 address autoconf
    set interfaces ethernet eth0 pppoe 0 ipv6 dup-addr-detect-transmits 1
    set interfaces ethernet eth0 pppoe 0 ipv6 enable
    commit
    save
    mt7620
    mt7620
    OP
    Sep 9, 2018
    4
    补充一下,WAN 口得到的 IPv6 地址是 2409:8a1e:2708:74 开头的,/64 的地址。
    mt7620
    mt7620
    OP
    Sep 10, 2018
    5
    留个记录,IPv6 连接成功后,路由器的 WAN 端和 LAN 端会分别获得 2 个不同的地址。

    WAN 端,2409:8a1e:2708 开头 /64
    LAN 端,2409:8a1e:2780 开头 /64 -> 原来 LAN 端的设备获得 IPv6 地址就在这个范围内。
    ritaswc
    ritaswc
    Nov 30, 2018
    6

    大兄弟,我按照你设置的,可以了
    路由器收到的 IP 地址是:
    fe80::0222:93ff:fe54:9731
    内网 IP 是
    fe80::dd9d:3b3b:68dd:f16a%11
    是不是电信没有给我公网 IP
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1430 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 22:03 · PVG 06:03 · LAX 14:03 · JFK 17:03
    ♥ Do have faith in what you're doing.