User comments on ISPs
  >> Hyperoptic


Register (or login) on our website and you will not see this ad.


  Print Thread
Standard User infinity0
(newbie) Mon 13-Jul-20 12:46:27
Print Post

IPv6 with openwrt


[link to this post]
 
Hi, has anyone tried using hyperoptic with an openwrt router? I'm running into two separate issues:

- If I use openwrt as the main router (i.e. replacing the hyperoptic router), then I run into this issue. I posted in openwrt forum because the most direct issue is that openwrt does not send "dhcp6 request", but this may or may not be due to a hyperoptic misconfiguration, so I'm also asking here if anyone else has had experience getting this to work. I am doing the same thing as this reddit post however it works for them but it doesn't work for me.

IPv4 service works fine.

- If I use openwrt as a secondary router connected to the hyperoptic router, then it doesn't get an IPv6 prefix from the hyperoptic router. OpenWRT IRC people told me I need to enable prefix delegation on the hyperoptic router, however I have a H298A and it doesn't seem to have that option in the admin interface. By contrast the older H298N does seem to support this. Has anyone else tried this?

IPv4 service works fine here too.

Correction: The router itself gets an IPv6 address, I can ssh into it and ping ipv6.google.com. But clients connecting to the router don't get an IPv6 address, because it doesn't get an IPv6 prefix delegated from the hyperoptic router.

Edited by infinity0 (Mon 13-Jul-20 13:18:46)

Standard User xhemp
(newbie) Tue 14-Jul-20 12:42:36
Print Post

Re: IPv6 with openwrt


[re: infinity0] [link to this post]
 
In reply to a post by infinity0:
Hi, has anyone tried using hyperoptic with an openwrt router? I'm running into two separate issues:

- If I use openwrt as the main router (i.e. replacing the hyperoptic router), then I run into this issue. I posted in openwrt forum because the most direct issue is that openwrt does not send "dhcp6 request", but this may or may not be due to a hyperoptic misconfiguration, so I'm also asking here if anyone else has had experience getting this to work. I am doing the same thing as this reddit post however it works for them but it doesn't work for me.

IPv4 service works fine.

- If I use openwrt as a secondary router connected to the hyperoptic router, then it doesn't get an IPv6 prefix from the hyperoptic router. OpenWRT IRC people told me I need to enable prefix delegation on the hyperoptic router, however I have a H298A and it doesn't seem to have that option in the admin interface. By contrast the older H298N does seem to support this. Has anyone else tried this?

IPv4 service works fine here too.

Correction: The router itself gets an IPv6 address, I can ssh into it and ping ipv6.google.com. But clients connecting to the router don't get an IPv6 address, because it doesn't get an IPv6 prefix delegated from the hyperoptic router.


Hi,

I do run Hyperoptic with OpenWRT and it works well here.
The difference on what is written on that thread in Reddit is that I have:

For WAN6 -

Request IPv6-prefix of length - 60
Request IPv6-address - automatic

I remember having some issues to get this working so would be imperative you try to run without any firewall on it while you are testing to make sure it's not blocking anything it shouldn't.
On your second point, I also had issues delegating a preffix for another network (guest) I had on my router but in one of the openwrt version updates, it did work, no ides what it was though smile
Let me know how it goes.
Standard User gc1
(regular) Tue 14-Jul-20 16:29:50
Print Post

Re: IPv6 with openwrt


[re: xhemp] [link to this post]
 
One obvious point: I presume you have created a "Virtual dynamic interface (DHCPv6 client)" interface on the OpenWrt router? These only get automatically created for PPP interfaces. When connecting via the LAN interface to another router you need to add this interface manually.


Register (or login) on our website and you will not see this ad.

Standard User xhemp
(newbie) Tue 14-Jul-20 16:37:47
Print Post

Re: IPv6 with openwrt


[re: gc1] [link to this post]
 
In reply to a post by gc1:
One obvious point: I presume you have created a "Virtual dynamic interface (DHCPv6 client)" interface on the OpenWrt router? These only get automatically created for PPP interfaces. When connecting via the LAN interface to another router you need to add this interface manually.


Probably it was already there as I had Zen before Hyperoptic came to my estate and I used pppoe.
Standard User infinity0
(newbie) Wed 15-Jul-20 19:00:27
Print Post

Re: IPv6 with openwrt


[re: gc1] [link to this post]
 
Are you talking about the "wan6: Alias interface (DHCPv6 client)"? Yes I have that.

Also I am connecting the openwrt router through the WAN port to the other end in both cases, not the LAN interface.
Standard User infinity0
(newbie) Wed 15-Jul-20 22:09:43
Print Post

Re: IPv6 with openwrt


[re: xhemp] [link to this post]
 
In reply to a post by xhemp:
Hi,

I do run Hyperoptic with OpenWRT and it works well here. [..]


Thanks, I was already trying it with the firewall switched off. Would you be able to tcpdump the DHCPv6 exchange that your router does for me and post it here please? You'll need to ssh into the router and run something along the lines of:

# opkg install tcpdump
# tcpdump -n -i eth0.2 -vv ip6 and not tcp

Then in a separate shell session

# ifdown wan6; ifup wan6

Feel free to edit out any MAC/IP addresses from the dump. I am looking for lines that say "dhcp6", similar to what I gave here in this bug report.
Standard User gc1
(regular) Thu 16-Jul-20 09:37:37
Print Post

Re: IPv6 with openwrt


[re: infinity0] [link to this post]
 
I can give you a dump as well if it is of any help. But the Internet connection here is not Hyperoptic so maybe it won't help.

fe80::76ea:3aff:feae:fbc8/64 is the wlan0 interface on the client router
fe80::86a4:23ff:fe0b:d2b8/64 is the wlan1 interface on the Internet router

This dump is taken on the Internet router.
The client router is a 4MB flash device so there is not enough space to install tcpdump.

# tcpdump -n -i wlan1 -vv ip6 and not tcp
tcpdump: listening on wlan1, link-type EN10MB (Ethernet), capture size 262144 bytes

#
# WAN6 interface down on client router.
#
09:23:34.523354 IP6 (flowlabel 0x2b68f, hlim 1, next-header UDP (17) payload length: 240) fe80::76ea:3aff:feae:fbc8.546 > ff02::1:2.547: [udp sum ok] dhcp6 release (xid=1cffbe (elapsed-time 0) (option-request SIP-servers-domain SIP-servers-address DNS-server DNS-search-list SNTP-servers NTP-server AFTR-Name opt_67 opt_82 opt_83 opt_94 opt_95 opt_96 server-unicast) (client-ID hwaddr type 1 74ea3aaefbc8) (server-ID hwaddr type 1 84a4230bd2b6) (Client-FQDN) (IA_NA IAID:1 T1:0 T2:0 (IA_ADDR 2a00:23c2:59e8:9600::11f pltime:0 vltime:0) (IA_ADDR fd02::11f pltime:0 vltime:0)) (IA_PD IAID:1 T1:0 T2:0 (IA_PD-prefix 2a00:23c2:59e8:9604::/62 pltime:0 vltime:0) (IA_PD-prefix fd02:0:0:4::/62 pltime:0 vltime:0)))
09:23:34.523424 IP6 (flowlabel 0x2b68f, hlim 1, next-header UDP (17) payload length: 240) fe80::76ea:3aff:feae:fbc8.546 > ff02::1:2.547: [udp sum ok] dhcp6 release (xid=1cffbe (elapsed-time 0) (option-request SIP-servers-domain SIP-servers-address DNS-server DNS-search-list SNTP-servers NTP-server AFTR-Name opt_67 opt_82 opt_83 opt_94 opt_95 opt_96 server-unicast) (client-ID hwaddr type 1 74ea3aaefbc8) (server-ID hwaddr type 1 84a4230bd2b6) (Client-FQDN) (IA_NA IAID:1 T1:0 T2:0 (IA_ADDR 2a00:23c2:59e8:9600::11f pltime:0 vltime:0) (IA_ADDR fd02::11f pltime:0 vltime:0)) (IA_PD IAID:1 T1:0 T2:0 (IA_PD-prefix 2a00:23c2:59e8:9604::/62 pltime:0 vltime:0) (IA_PD-prefix fd02:0:0:4::/62 pltime:0 vltime:0)))
09:23:34.529607 IP6 (flowlabel 0x653a8, hlim 64, next-header UDP (17) payload length: 74) fe80::86a4:23ff:fe0b:d2b6.547 > fe80::76ea:3aff:feae:fbc8.546: [udp sum ok] dhcp6 reply (xid=1cffbe (server-ID hwaddr type 1 84a4230bd2b6) (client-ID hwaddr type 1 74ea3aaefbc8) (opt_82) (DNS-server fd02::1) (status-code Success))
09:23:34.558184 IP6 (hlim 1, next-header Options (0) payload length: 36) fe80::76ea:3aff:feae:fbc8 > ff02::16: HBH (rtalert: 0x0000) (padn) [icmp6 sum ok] ICMP6, multicast listener report v2, 1 group record(s) [gaddr ff02::1:ff00:11f to_in { }]
09:23:34.558255 IP6 (hlim 1, next-header Options (0) payload length: 36) fe80::76ea:3aff:feae:fbc8 > ff02::16: HBH (rtalert: 0x0000) (padn) [icmp6 sum ok] ICMP6, multicast listener report v2, 1 group record(s) [gaddr ff02::1:ff00:11f to_in { }]
09:23:35.348081 IP6 (hlim 1, next-header Options (0) payload length: 36) fe80::76ea:3aff:feae:fbc8 > ff02::16: HBH (rtalert: 0x0000) (padn) [icmp6 sum ok] ICMP6, multicast listener report v2, 1 group record(s) [gaddr ff02::1:ff00:11f to_in { }]
09:23:35.348152 IP6 (hlim 1, next-header Options (0) payload length: 36) fe80::76ea:3aff:feae:fbc8 > ff02::16: HBH (rtalert: 0x0000) (padn) [icmp6 sum ok] ICMP6, multicast listener report v2, 1 group record(s) [gaddr ff02::1:ff00:11f to_in { }]
09:23:39.716996 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 32) fe80::86a4:23ff:fe0b:d2b6 > fe80::76ea:3aff:feae:fbc8: [icmp6 sum ok] ICMP6, neighbor solicitation, length 32, who has fe80::76ea:3aff:feae:fbc8
source link-address option (1), length 8 (1): 84:a4:23:0b:d2:b6
0x0000: 84a4 230b d2b6
09:23:39.718568 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 24) fe80::76ea:3aff:feae:fbc8 > fe80::86a4:23ff:fe0b:d2b6: [icmp6 sum ok] ICMP6, neighbor advertisement, length 24, tgt is fe80::76ea:3aff:feae:fbc8, Flags [router, solicited]
09:23:44.787911 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 32) fe80::76ea:3aff:feae:fbc8 > fe80::86a4:23ff:fe0b:d2b6: [icmp6 sum ok] ICMP6, neighbor solicitation, length 32, who has fe80::86a4:23ff:fe0b:d2b6
source link-address option (1), length 8 (1): 74:ea:3a:ae:fb:c8
0x0000: 74ea 3aae fbc8
09:23:44.788223 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 24) fe80::86a4:23ff:fe0b:d2b6 > fe80::76ea:3aff:feae:fbc8: [icmp6 sum ok] ICMP6, neighbor advertisement, length 24, tgt is fe80::86a4:23ff:fe0b:d2b6, Flags [router, solicited]

#
# WAN6 interface up on client router.
#
09:24:32.013505 IP6 (flowlabel 0xf1638, hlim 255, next-header ICMPv6 (58) payload length: 16) fe80::76ea:3aff:feae:fbc8 > ff02::2: [icmp6 sum ok] ICMP6, router solicitation, length 16
source link-address option (1), length 8 (1): 74:ea:3a:ae:fb:c8
0x0000: 74ea 3aae fbc8
09:24:32.013575 IP6 (flowlabel 0xf1638, hlim 255, next-header ICMPv6 (58) payload length: 16) fe80::76ea:3aff:feae:fbc8 > ff02::2: [icmp6 sum ok] ICMP6, router solicitation, length 16
source link-address option (1), length 8 (1): 74:ea:3a:ae:fb:c8
0x0000: 74ea 3aae fbc8
09:24:32.018031 IP6 (flowlabel 0x51e5a, hlim 255, next-header ICMPv6 (58) payload length: 176) fe80::86a4:23ff:fe0b:d2b6 > fe80::76ea:3aff:feae:fbc8: [icmp6 sum ok] ICMP6, router advertisement, length 176
hop limit 64, Flags [other stateful], pref medium, router lifetime 1800s, reachable time 0ms, retrans timer 0ms
source link-address option (1), length 8 (1): 84:a4:23:0b:d2:b6
0x0000: 84a4 230b d2b6
mtu option (5), length 8 (1): 1500
0x0000: 0000 0000 05dc
prefix info option (3), length 32 (4): 2a00:23c2:59e8:9600::/64, Flags [onlink, auto], valid time 8588991s, pref. time 8588991s
0x0000: 40c0 0083 0ebf 0083 0ebf 0000 0000 2a00
0x0010: 23c2 59e8 9600 0000 0000 0000 0000
prefix info option (3), length 32 (4): fd02::/64, Flags [onlink, auto], valid time infinity, pref. time infinity
0x0000: 40c0 ffff ffff ffff ffff 0000 0000 fd02
0x0010: 0000 0000 0000 0000 0000 0000 0000
route info option (24), length 24 (3): 2a00:23c2:59e8:9600::/56, pref=medium, lifetime=1800s
0x0000: 3800 0000 0708 2a00 23c2 59e8 9600 0000
0x0010: 0000 0000 0000
route info option (24), length 24 (3): fd02::/16, pref=medium, lifetime=1800s
0x0000: 1000 0000 0708 fd02 0000 0000 0000 0000
0x0010: 0000 0000 0000
rdnss option (25), length 24 (3): lifetime 1800s, addr: fd02::1
0x0000: 0000 0000 0708 fd02 0000 0000 0000 0000
0x0010: 0000 0000 0001
advertisement interval option (7), length 8 (1): 600ms
0x0000: 0000 0000 0258
09:24:32.202960 IP6 (flowlabel 0x2b68f, hlim 1, next-header UDP (17) payload length: 116) fe80::76ea:3aff:feae:fbc8.546 > ff02::1:2.547: [udp sum ok] dhcp6 solicit (xid=58e3a2 (elapsed-time 0) (option-request SIP-servers-domain SIP-servers-address DNS-server DNS-search-list SNTP-servers NTP-server AFTR-Name opt_67 opt_82 opt_83 opt_94 opt_95 opt_96 server-unicast) (client-ID hwaddr type 1 74ea3aaefbc8) (reconfigure-accept) (Client-FQDN) (IA_NA IAID:1 T1:0 T2:0) (IA_PD IAID:1 T1:0 T2:0))
09:24:32.203032 IP6 (flowlabel 0x2b68f, hlim 1, next-header UDP (17) payload length: 116) fe80::76ea:3aff:feae:fbc8.546 > ff02::1:2.547: [udp sum ok] dhcp6 solicit (xid=58e3a2 (elapsed-time 0) (option-request SIP-servers-domain SIP-servers-address DNS-server DNS-search-list SNTP-servers NTP-server AFTR-Name opt_67 opt_82 opt_83 opt_94 opt_95 opt_96 server-unicast) (client-ID hwaddr type 1 74ea3aaefbc8) (reconfigure-accept) (Client-FQDN) (IA_NA IAID:1 T1:0 T2:0) (IA_PD IAID:1 T1:0 T2:0))
09:24:32.204296 IP6 (flowlabel 0x653a8, hlim 64, next-header UDP (17) payload length: 218) fe80::86a4:23ff:fe0b:d2b6.547 > fe80::76ea:3aff:feae:fbc8.546: [udp sum ok] dhcp6 advertise (xid=58e3a2 (server-ID hwaddr type 1 84a4230bd2b6) (client-ID hwaddr type 1 74ea3aaefbc8) (opt_82) (DNS-server fd02::1) (reconfigure-accept) (IA_NA IAID:1 T1:7200 T2:11520 (IA_ADDR 2a00:23c2:59e8:9600::11f pltime:8588991 vltime:8588991) (IA_ADDR fd02::11f pltime:4294967295 vltime:4294967295)) (IA_PD IAID:1 T1:7200 T2:11520 (IA_PD-prefix 2a00:23c2:59e8:9604::/62 pltime:8588991 vltime:8588991) (IA_PD-prefix fd02:0:0:4::/62 pltime:4294967295 vltime:4294967295)))
09:24:33.765995 IP6 (flowlabel 0x2b68f, hlim 1, next-header UDP (17) payload length: 244) fe80::76ea:3aff:feae:fbc8.546 > ff02::1:2.547: [udp sum ok] dhcp6 request (xid=1edfe1 (elapsed-time 0) (option-request SIP-servers-domain SIP-servers-address DNS-server DNS-search-list SNTP-servers NTP-server AFTR-Name opt_67 opt_82 opt_83 opt_94 opt_95 opt_96 server-unicast) (client-ID hwaddr type 1 74ea3aaefbc8) (server-ID hwaddr type 1 84a4230bd2b6) (reconfigure-accept) (Client-FQDN) (IA_NA IAID:1 T1:0 T2:0 (IA_ADDR 2a00:23c2:59e8:9600::11f pltime:8588991 vltime:8588991) (IA_ADDR fd02::11f pltime:4294967295 vltime:4294967295)) (IA_PD IAID:1 T1:0 T2:0 (IA_PD-prefix 2a00:23c2:59e8:9604::/62 pltime:8588991 vltime:8588991) (IA_PD-prefix fd02:0:0:4::/62 pltime:4294967295 vltime:4294967295)))
09:24:33.766066 IP6 (flowlabel 0x2b68f, hlim 1, next-header UDP (17) payload length: 244) fe80::76ea:3aff:feae:fbc8.546 > ff02::1:2.547: [udp sum ok] dhcp6 request (xid=1edfe1 (elapsed-time 0) (option-request SIP-servers-domain SIP-servers-address DNS-server DNS-search-list SNTP-servers NTP-server AFTR-Name opt_67 opt_82 opt_83 opt_94 opt_95 opt_96 server-unicast) (client-ID hwaddr type 1 74ea3aaefbc8) (server-ID hwaddr type 1 84a4230bd2b6) (reconfigure-accept) (Client-FQDN) (IA_NA IAID:1 T1:0 T2:0 (IA_ADDR 2a00:23c2:59e8:9600::11f pltime:8588991 vltime:8588991) (IA_ADDR fd02::11f pltime:4294967295 vltime:4294967295)) (IA_PD IAID:1 T1:0 T2:0 (IA_PD-prefix 2a00:23c2:59e8:9604::/62 pltime:8588991 vltime:8588991) (IA_PD-prefix fd02:0:0:4::/62 pltime:4294967295 vltime:4294967295)))
09:24:33.769010 IP6 (flowlabel 0x653a8, hlim 64, next-header UDP (17) payload length: 250) fe80::86a4:23ff:fe0b:d2b6.547 > fe80::76ea:3aff:feae:fbc8.546: [udp sum ok] dhcp6 reply (xid=1edfe1 (server-ID hwaddr type 1 84a4230bd2b6) (client-ID hwaddr type 1 74ea3aaefbc8) (opt_82) (DNS-server fd02::1) (reconfigure-accept) (authentication proto: reconfigure, alg: HMAC-MD5, RDM: mono, RD: 5f10 0ec1 0000 0005 reconfig-key value: ceebd3ba fb717e33 5cbd4cf4 ccb61122) (IA_NA IAID:1 T1:7200 T2:11520 (IA_ADDR 2a00:23c2:59e8:9600::11f pltime:8588989 vltime:8588989) (IA_ADDR fd02::11f pltime:4294967295 vltime:4294967295)) (IA_PD IAID:1 T1:7200 T2:11520 (IA_PD-prefix 2a00:23c2:59e8:9604::/62 pltime:8588989 vltime:8588989) (IA_PD-prefix fd02:0:0:4::/62 pltime:4294967295 vltime:4294967295)))
09:24:37.060955 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 32) fe80::86a4:23ff:fe0b:d2b6 > fe80::76ea:3aff:feae:fbc8: [icmp6 sum ok] ICMP6, neighbor solicitation, length 32, who has fe80::76ea:3aff:feae:fbc8
source link-address option (1), length 8 (1): 84:a4:23:0b:d2:b6
0x0000: 84a4 230b d2b6
09:24:37.062519 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 24) fe80::76ea:3aff:feae:fbc8 > fe80::86a4:23ff:fe0b:d2b6: [icmp6 sum ok] ICMP6, neighbor advertisement, length 24, tgt is fe80::76ea:3aff:feae:fbc8, Flags [router, solicited]
09:24:42.067539 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 32) fe80::76ea:3aff:feae:fbc8 > fe80::86a4:23ff:fe0b:d2b6: [icmp6 sum ok] ICMP6, neighbor solicitation, length 32, who has fe80::86a4:23ff:fe0b:d2b6
source link-address option (1), length 8 (1): 74:ea:3a:ae:fb:c8
0x0000: 74ea 3aae fbc8
09:24:42.067857 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 24) fe80::86a4:23ff:fe0b:d2b6 > fe80::76ea:3aff:feae:fbc8: [icmp6 sum ok] ICMP6, neighbor advertisement, length 24, tgt is fe80::86a4:23ff:fe0b:d2b6, Flags [router, solicited]
09:24:44.517702 IP6 (hlim 1, next-header Options (0) payload length: 116) fe80::76ea:3aff:feae:fbc8 > ff02::16: HBH (rtalert: 0x0000) (padn) [icmp6 sum ok] ICMP6, multicast listener report v2, 5 group record(s) [gaddr ff02::1:ff00:11f to_ex { }] [gaddr ff02::1:ff00:0 to_ex { }] [gaddr ff02::1:ffae:fbc8 to_ex { }] [gaddr ff02::1:ff00:30 to_ex { }] [gaddr ff02::2 to_ex { }]
09:24:44.517776 IP6 (hlim 1, next-header Options (0) payload length: 116) fe80::76ea:3aff:feae:fbc8 > ff02::16: HBH (rtalert: 0x0000) (padn) [icmp6 sum ok] ICMP6, multicast listener report v2, 5 group record(s) [gaddr ff02::1:ff00:11f to_ex { }] [gaddr ff02::1:ff00:0 to_ex { }] [gaddr ff02::1:ffae:fbc8 to_ex { }] [gaddr ff02::1:ff00:30 to_ex { }] [gaddr ff02::2 to_ex { }]
09:24:44.897694 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 24) :: > ff02::1:ffae:fbc8: [icmp6 sum ok] ICMP6, neighbor solicitation, length 24, who has fd02::76ea:3aff:feae:fbc8
09:24:44.897764 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 24) :: > ff02::1:ffae:fbc8: [icmp6 sum ok] ICMP6, neighbor solicitation, length 24, who has fd02::76ea:3aff:feae:fbc8
09:24:45.187615 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 24) :: > ff02::1:ff00:11f: [icmp6 sum ok] ICMP6, neighbor solicitation, length 24, who has fd02::11f
09:24:45.187686 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 24) :: > ff02::1:ff00:11f: [icmp6 sum ok] ICMP6, neighbor solicitation, length 24, who has fd02::11f
09:24:45.427527 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 24) :: > ff02::1:ff00:11f: [icmp6 sum ok] ICMP6, neighbor solicitation, length 24, who has 2a00:23c2:59e8:9600::11f
09:24:45.427611 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 24) :: > ff02::1:ff00:11f: [icmp6 sum ok] ICMP6, neighbor solicitation, length 24, who has 2a00:23c2:59e8:9600::11f
09:24:45.587784 IP6 (hlim 1, next-header Options (0) payload length: 116) fe80::76ea:3aff:feae:fbc8 > ff02::16: HBH (rtalert: 0x0000) (padn) [icmp6 sum ok] ICMP6, multicast listener report v2, 5 group record(s) [gaddr ff02::1:ff00:11f to_ex { }] [gaddr ff02::1:ff00:0 to_ex { }] [gaddr ff02::1:ffae:fbc8 to_ex { }] [gaddr ff02::1:ff00:30 to_ex { }] [gaddr ff02::2 to_ex { }]
09:24:45.587855 IP6 (hlim 1, next-header Options (0) payload length: 116) fe80::76ea:3aff:feae:fbc8 > ff02::16: HBH (rtalert: 0x0000) (padn) [icmp6 sum ok] ICMP6, multicast listener report v2, 5 group record(s) [gaddr ff02::1:ff00:11f to_ex { }] [gaddr ff02::1:ff00:0 to_ex { }] [gaddr ff02::1:ffae:fbc8 to_ex { }] [gaddr ff02::1:ff00:30 to_ex { }] [gaddr ff02::2 to_ex { }]

Edited by gc1 (Thu 16-Jul-20 11:03:29)

Standard User infinity0
(newbie) Thu 16-Jul-20 12:20:27
Print Post

Re: IPv6 with openwrt


[re: gc1] [link to this post]
 
In reply to a post by gc1:
I can give you a dump as well if it is of any help. But the Internet connection here is not Hyperoptic so maybe it won't help.

fe80::76ea:3aff:feae:fbc8/64 is the wlan0 interface on the client router
fe80::86a4:23ff:fe0b:d2b8/64 is the wlan1 interface on the Internet router

This dump is taken on the Internet router.
The client router is a 4MB flash device so there is not enough space to install tcpdump.

# tcpdump -n -i wlan1 -vv ip6 and not tcp
tcpdump: listening on wlan1, link-type EN10MB (Ethernet), capture size 262144 bytes


Thanks, though I don't think this is what I need to see. You seem to be dumping the DHCPv6 exchange from your Internet router's perspective acting as a DHCPv6 server. By contrast, I am having problems with OpenWRT acting as a DHCPv6 *client*, through the WAN port.

It is very normal for a router to simultaneously act both as (1) a DHCP client towards the WAN port and (2) a DHCP server towards the LAN/WLAN port, but it is important not to confuse the two different things.

Edited by infinity0 (Thu 16-Jul-20 12:21:57)

Standard User gc1
(regular) Fri 17-Jul-20 09:57:12
Print Post

Re: IPv6 with openwrt


[re: infinity0] [link to this post]
 
OK here is another dump for you from a router with more flash memory as the client.

I have substituted some items into bracketed {} names. {LL_.. etc are the link local addresses. {PD..} etc are the prefix delegations, {MAC_..} are the MAC addresses. fd02::/16 is the ULA prefix of the main Internet router.

The file is also downloadable from here with better line breaks:

https://drive.google.com/file/d/1fBe6FTpEt1ZPVNFa24j...

The Internet connection is not Hyperoptic but the exchange between the routers should still help.

# tcpdump -n -i wlan1 -vv ip6 and not tcp
tcpdump: listening on wlan1, link-type EN10MB (Ethernet), capture size 262144 bytes

#
# WAN6 interface down.
#
09:25:37.445514 IP6 (flowlabel 0xe5598, hlim 63, next-header UDP (17) payload length: 99) {PD2}::f23.47461 > 2a00:1450:400e:80a::2003.443: [udp sum ok] UDP, length 91
09:25:53.728183 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 32) {LL_CLIENT} > {LL_MAIN_ROUTER}: [icmp6 sum ok] ICMP6, neighbor solicitation, length 32, who has {LL_MAIN_ROUTER}
source link-address option (1), length 8 (1): {MAC_WLAN1}
0x0000: 2420 c764 6d62
09:25:53.729711 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 24) {LL_MAIN_ROUTER} > {LL_CLIENT}: [icmp6 sum ok] ICMP6, neighbor advertisement, length 24, tgt is {LL_MAIN_ROUTER}, Flags [router, solicited]
09:25:53.740562 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 32) {LL_MAIN_ROUTER} > {LL_CLIENT}: [icmp6 sum ok] ICMP6, neighbor solicitation, length 32, who has {LL_CLIENT}
source link-address option (1), length 8 (1): {MAC_MAIN_ROUTER}
0x0000: 84a4 230b d2b6
09:25:53.740864 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 24) {LL_CLIENT} > {LL_MAIN_ROUTER}: [icmp6 sum ok] ICMP6, neighbor advertisement, length 24, tgt is {LL_CLIENT}, Flags [router, solicited]
09:25:55.239341 IP6 (flowlabel 0xb3dd2, hlim 1, next-header UDP (17) payload length: 232) {LL_CLIENT}.546 > ff02::1:2.547: [udp sum ok] dhcp6 release (xid=c4e614 (elapsed-time 0) (option-request SIP-servers-domain SIP-servers-address DNS-server DNS-search-list SNTP-servers NTP-server AFTR-Name opt_67 opt_94 opt_95 opt_96) (client-ID hwaddr type 1 2420c7646d62) (server-ID hwaddr type 1 84a4230bd2b6) (Client-FQDN) (IA_NA IAID:1 T1:0 T2:0 (IA_ADDR {PD}::2cf pltime:0 vltime:0) (IA_ADDR fd02::2cf pltime:0 vltime:0)) (IA_PD IAID:1 T1:0 T2:0 (IA_PD-prefix {PD2}::/62 pltime:0 vltime:0) (IA_PD-prefix fd02:0:0:4::/62 pltime:0 vltime:0)))
09:25:55.244085 IP6 (flowlabel 0xde964, hlim 64, next-header UDP (17) payload length: 74) {LL_MAIN_ROUTER}.547 > {LL_CLIENT}.546: [udp sum ok] dhcp6 reply (xid=c4e614 (server-ID hwaddr type 1 84a4230bd2b6) (client-ID hwaddr type 1 2420c7646d62) (opt_82) (DNS-server fd02::1) (status-code Success))
09:25:55.268247 IP6 (hlim 1, next-header Options (0) payload length: 36) {LL_CLIENT} > ff02::16: HBH (rtalert: 0x0000) (padn) [icmp6 sum ok] ICMP6, multicast listener report v2, 1 group record(s) [gaddr ff02::1:ff00:2cf to_in { }]
09:25:55.712313 IP6 (hlim 1, next-header Options (0) payload length: 36) {LL_CLIENT} > ff02::16: HBH (rtalert: 0x0000) (padn) [icmp6 sum ok] ICMP6, multicast listener report v2, 1 group record(s) [gaddr ff02::1:ff00:2cf to_in { }]


#
# WAN6 interface up.
#
09:26:15.378842 IP6 (flowlabel 0xb6326, hlim 255, next-header ICMPv6 (58) payload length: 16) {LL_CLIENT} > ff02::2: [icmp6 sum ok] ICMP6, router solicitation, length 16
source link-address option (1), length 8 (1): {MAC_WLAN1}
0x0000: 2420 c764 6d62
09:26:15.385684 IP6 (flowlabel 0x2c80f, hlim 255, next-header ICMPv6 (58) payload length: 176) {LL_MAIN_ROUTER} > {LL_CLIENT}: [icmp6 sum ok] ICMP6, router advertisement, length 176
hop limit 64, Flags [other stateful], pref medium, router lifetime 1800s, reachable time 0ms, retrans timer 0ms
source link-address option (1), length 8 (1): {MAC_MAIN_ROUTER}
0x0000: 84a4 230b d2b6
mtu option (5), length 8 (1): 1500
0x0000: 0000 0000 05dc
prefix info option (3), length 32 (4): {PD}::/64, Flags [onlink, auto], valid time 8589652s, pref. time 8589652s
0x0000: 40c0 0083 1154 0083 1154 0000 0000 2a00
0x0010: 23c2 59e8 9600 0000 0000 0000 0000
prefix info option (3), length 32 (4): fd02::/64, Flags [onlink, auto], valid time infinity, pref. time infinity
0x0000: 40c0 ffff ffff ffff ffff 0000 0000 fd02
0x0010: 0000 0000 0000 0000 0000 0000 0000
route info option (24), length 24 (3): {PD}::/56, pref=medium, lifetime=1800s
0x0000: 3800 0000 0708 2a00 23c2 59e8 9600 0000
0x0010: 0000 0000 0000
route info option (24), length 24 (3): fd02::/16, pref=medium, lifetime=1800s
0x0000: 1000 0000 0708 fd02 0000 0000 0000 0000
0x0010: 0000 0000 0000
rdnss option (25), length 24 (3): lifetime 1800s, addr: fd02::1
0x0000: 0000 0000 0708 fd02 0000 0000 0000 0000
0x0010: 0000 0000 0001
advertisement interval option (7), length 8 (1): 600ms
0x0000: 0000 0000 0258
09:26:15.797926 IP6 (flowlabel 0xb3dd2, hlim 1, next-header UDP (17) payload length: 110) {LL_CLIENT}.546 > ff02::1:2.547: [udp sum ok] dhcp6 solicit (xid=8937d9 (elapsed-time 0) (option-request SIP-servers-domain SIP-servers-address DNS-server DNS-search-list SNTP-servers NTP-server AFTR-Name opt_67 opt_94 opt_95 opt_96 opt_82) (client-ID hwaddr type 1 2420c7646d62) (reconfigure-accept) (Client-FQDN) (IA_NA IAID:1 T1:0 T2:0) (IA_PD IAID:1 T1:0 T2:0))
09:26:15.801331 IP6 (flowlabel 0xde964, hlim 64, next-header UDP (17) payload length: 218) {LL_MAIN_ROUTER}.547 > {LL_CLIENT}.546: [udp sum ok] dhcp6 advertise (xid=8937d9 (server-ID hwaddr type 1 84a4230bd2b6) (client-ID hwaddr type 1 2420c7646d62) (opt_82) (DNS-server fd02::1) (reconfigure-accept) (IA_NA IAID:1 T1:7200 T2:11520 (IA_ADDR {PD}::2cf pltime:8589652 vltime:8589652) (IA_ADDR fd02::2cf pltime:4294967295 vltime:4294967295)) (IA_PD IAID:1 T1:7200 T2:11520 (IA_PD-prefix {PD2}::/62 pltime:8589652 vltime:8589652) (IA_PD-prefix fd02:0:0:4::/62 pltime:4294967295 vltime:4294967295)))
09:26:17.460689 IP6 (flowlabel 0xb3dd2, hlim 1, next-header UDP (17) payload length: 236) {LL_CLIENT}.546 > ff02::1:2.547: [udp sum ok] dhcp6 request (xid=2f85da (elapsed-time 0) (option-request SIP-servers-domain SIP-servers-address DNS-server DNS-search-list SNTP-servers NTP-server AFTR-Name opt_67 opt_94 opt_95 opt_96) (client-ID hwaddr type 1 2420c7646d62) (server-ID hwaddr type 1 84a4230bd2b6) (reconfigure-accept) (Client-FQDN) (IA_NA IAID:1 T1:0 T2:0 (IA_ADDR {PD}::2cf pltime:8589652 vltime:8589652) (IA_ADDR fd02::2cf pltime:4294967295 vltime:4294967295)) (IA_PD IAID:1 T1:0 T2:0 (IA_PD-prefix {PD2}::/62 pltime:8589652 vltime:8589652) (IA_PD-prefix fd02:0:0:4::/62 pltime:4294967295 vltime:4294967295)))
09:26:17.465298 IP6 (flowlabel 0xde964, hlim 64, next-header UDP (17) payload length: 250) {LL_MAIN_ROUTER}.547 > {LL_CLIENT}.546: [udp sum ok] dhcp6 reply (xid=2f85da (server-ID hwaddr type 1 84a4230bd2b6) (client-ID hwaddr type 1 2420c7646d62) (opt_82) (DNS-server fd02::1) (reconfigure-accept) (authentication proto: reconfigure, alg: HMAC-MD5, RDM: mono, RD: 5f11 60a9 0000 0003 reconfig-key value: c9717e2a e1e10a2d dd6ec0d4 43970076) (IA_NA IAID:1 T1:7200 T2:11520 (IA_ADDR {PD}::2cf pltime:8589650 vltime:8589650) (IA_ADDR fd02::2cf pltime:4294967295 vltime:4294967295)) (IA_PD IAID:1 T1:7200 T2:11520 (IA_PD-prefix {PD2}::/62 pltime:8589650 vltime:8589650) (IA_PD-prefix fd02:0:0:4::/62 pltime:4294967295 vltime:4294967295)))
09:26:18.032260 IP6 (hlim 1, next-header Options (0) payload length: 116) {LL_CLIENT} > ff02::16: HBH (rtalert: 0x0000) (padn) [icmp6 sum ok] ICMP6, multicast listener report v2, 5 group record(s) [gaddr ff02::1:ff00:2cf to_ex { }] [gaddr ff02::1:ff00:1 to_ex { }] [gaddr ff02::1:ff00:0 to_ex { }] [gaddr ff02::1:ff64:6d62 to_ex { }] [gaddr ff02::2 to_ex { }]
09:26:18.400324 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 32) :: > ff02::1:ff64:6d62: [icmp6 sum ok] ICMP6, neighbor solicitation, length 32, who has fd02::{ADDR_WLAN1}
unknown option (14), length 8 (1):
0x0000: dc1c 81c3 65f1
09:26:18.528437 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 32) :: > ff02::1:ff00:2cf: [icmp6 sum ok] ICMP6, neighbor solicitation, length 32, who has {PD}::2cf
unknown option (14), length 8 (1):
0x0000: 744b 2099 f15c
09:26:18.688216 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 32) :: > ff02::1:ff64:6d62: [icmp6 sum ok] ICMP6, neighbor solicitation, length 32, who has {PD}:{ADDR_WLAN1}
unknown option (14), length 8 (1):
0x0000: 82d6 ce32 33b4
09:26:18.720162 IP6 (hlim 1, next-header Options (0) payload length: 116) {LL_CLIENT} > ff02::16: HBH (rtalert: 0x0000) (padn) [icmp6 sum ok] ICMP6, multicast listener report v2, 5 group record(s) [gaddr ff02::1:ff00:2cf to_ex { }] [gaddr ff02::1:ff00:1 to_ex { }] [gaddr ff02::1:ff00:0 to_ex { }] [gaddr ff02::1:ff64:6d62 to_ex { }] [gaddr ff02::2 to_ex { }]
09:26:18.976209 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 32) :: > ff02::1:ff00:2cf: [icmp6 sum ok] ICMP6, neighbor solicitation, length 32, who has fd02::2cf
unknown option (14), length 8 (1):
0x0000: 9d01 be7f bcab
09:26:20.620453 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 32) {LL_MAIN_ROUTER} > {LL_CLIENT}: [icmp6 sum ok] ICMP6, neighbor solicitation, length 32, who has {LL_CLIENT}
source link-address option (1), length 8 (1): {MAC_MAIN_ROUTER}
0x0000: 84a4 230b d2b6
09:26:20.620754 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 24) {LL_CLIENT} > {LL_MAIN_ROUTER}: [icmp6 sum ok] ICMP6, neighbor advertisement, length 24, tgt is {LL_CLIENT}, Flags [router, solicited]
09:26:43.916398 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 32) {LL_MAIN_ROUTER} > {LL_CLIENT}: [icmp6 sum ok] ICMP6, neighbor solicitation, length 32, who has {LL_CLIENT}
source link-address option (1), length 8 (1): {MAC_MAIN_ROUTER}
0x0000: 84a4 230b d2b6
09:26:43.916700 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 24) {LL_CLIENT} > {LL_MAIN_ROUTER}: [icmp6 sum ok] ICMP6, neighbor advertisement, length 24, tgt is {LL_CLIENT}, Flags [router, solicited]
09:26:45.952190 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 32) {LL_CLIENT} > {LL_MAIN_ROUTER}: [icmp6 sum ok] ICMP6, neighbor solicitation, length 32, who has {LL_MAIN_ROUTER}
source link-address option (1), length 8 (1): {MAC_WLAN1}
0x0000: 2420 c764 6d62
09:26:45.954009 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 24) {LL_MAIN_ROUTER} > {LL_CLIENT}: [icmp6 sum ok] ICMP6, neighbor advertisement, length 24, tgt is {LL_MAIN_ROUTER}, Flags [router, solicited]
09:27:16.684292 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 32) {LL_MAIN_ROUTER} > {LL_CLIENT}: [icmp6 sum ok] ICMP6, neighbor solicitation, length 32, who has {LL_CLIENT}
source link-address option (1), length 8 (1): {MAC_MAIN_ROUTER}
0x0000: 84a4 230b d2b6
09:27:16.684551 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 24) {LL_CLIENT} > {LL_MAIN_ROUTER}: [icmp6 sum ok] ICMP6, neighbor advertisement, length 24, tgt is {LL_CLIENT}, Flags [router, solicited]
  Print Thread

Jump to