Community discussions

MikroTik App
 
srijit92
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 78
Joined: Sun Jul 01, 2012 11:56 am
Location: India
Contact:

Clients not gettting IPv6 - Tunnelbroker Service

Mon Apr 29, 2013 6:50 pm

Hi,

I configured Mikrotik as 6to4 using Tunnelbroker Service. All routes and IPs are set up perfectly. I can ping both IPv4 and IPv6 address from Mikrotik winbox. But my clients (XP and Win 7) are not getting any IPv6 addresses. Where am I wrong?

Thanks,
Srijit
 
samsung172
Forum Guru
Forum Guru
Posts: 1191
Joined: Sat Apr 04, 2009 3:45 am
Location: Østfold - Norway
Contact:

Re: Clients not gettting IPv6 - Tunnelbroker Service

Wed May 01, 2013 1:46 am

you have to use some setup to "give" your clients a ipv6 address. my setup at home:

ros code

/ipv6 dhcp-server
add address-pool="ipv6 pool" disabled=no interface=bridge1 name=server1
/ipv6 pool
add name="ipv6 pool" prefix=2001:470:d13a::/48 prefix-length=48
/ipv6 address
add address=2001:470:1f14:623::2 interface=sit1
add address=2001:470:1f15:623:: advertise=no interface=bridge1
add address=2001:470:d13a::1/48 advertise=no interface=ether1
add address=2001:470:d13a:dead::1 interface=bridge1
/ipv6 firewall filter
add action=drop chain=output out-interface=ether1
/ipv6 nd
set [ find default=yes ] advertise-dns=yes
/ipv6 route
add !bgp-as-path !bgp-atomic-aggregate !bgp-communities !bgp-local-pref \
    !bgp-med !bgp-origin !bgp-prepend !check-gateway distance=1 dst-address=\
    2000::/3 gateway=2001:470:1f14:623::1 !route-tag
2001:470:1f14:623:: is my "linknet" to ipv6 provider
2001:470:d13a::0/48 is my routed net from provider (behind "linknet ip")

4 fun, I have my clients have dynamic ip's in the range:
2001:470:d13a:dead::1
(to make more fun, use something like 2001:470:d13a:dead:babe:bla:bla:bla:bla:1)
 
srijit92
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 78
Joined: Sun Jul 01, 2012 11:56 am
Location: India
Contact:

Re: Clients not gettting IPv6 - Tunnelbroker Service

Wed May 01, 2013 4:02 pm

Thanks for the reply.

These are info I received from tunnelbroker.net.

Client IPv6 Address:2001:470:18:1292::2/64
Routed /64:2001:470:19:1292::/64


I am showing you my detailed config (without DHCP)

ros code

[admin@MikroTik] /ipv6 address> print
Flags: X - disabled, I - invalid, D - dynamic, G - global, L - link-local 
 #    ADDRESS                                     FROM-... INTERFACE        ADV
 0  G 2001:470:18:1292::2/64                               IPV6             no 
 1  G 2001:470:19:1292::1/64                               LAN              yes
 2 DL fe80::c0a8:32/128                                    IPV6             no 
 3 DL fe80::20c:29ff:fe93:fb70/64                          WAN              no 
 4 DL fe80::20c:29ff:fe93:fb7a/64                          LAN              no 

[admin@MikroTik] /ipv6 nd> print
Flags: X - disabled, I - invalid, * - default 
 0  * interface=all ra-interval=3m20s-10m ra-delay=3s mtu=unspecified 
      reachable-time=unspecified retransmit-interval=unspecified 
      ra-lifetime=30m hop-limit=unspecified advertise-mac-address=yes 
      advertise-dns=yes managed-address-configuration=no other-configuration=no 

 1    interface=WAN ra-interval=3m20s-10m ra-delay=3s mtu=unspecified 
      reachable-time=unspecified retransmit-interval=unspecified 
      ra-lifetime=30m hop-limit=64 advertise-mac-address=yes advertise-dns=yes 
      managed-address-configuration=no other-configuration=no 

[admin@MikroTik] /ipv6 route> print
Flags: X - disabled, A - active, D - dynamic, 
C - connect, S - static, r - rip, o - ospf, b - bgp, U - unreachable 
 #      DST-ADDRESS              GATEWAY                  DISTANCE
 0 A S  2000::/3                 2001:470:18:1292::1             1
 1 ADC  2001:470:18:1292::/64    IPV6                            0
 2 ADC  2001:470:19:1292::/64    LAN                             0

With this setup I can ping IPv6 address.

ros code

[admin@MikroTik] > ping 2001:4860:4860::8844
HOST                                     SIZE TTL TIME  STATUS   
2001:4860:4860::8844                       56  59 266ms echo repl
2001:4860:4860::8844                       56  59 262ms echo repl
2001:4860:4860::8844                       56  59 262ms echo repl
2001:4860:4860::8844                       56  59 262ms echo repl
2001:4860:4860::8844                       56  59 262ms echo repl
    sent=5 received=5 packet-loss=0% min-rtt=262ms avg-rtt=262ms 
   max-rtt=266ms

Manual Working IPV6 config for my Windows 7 PC:
Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Network Connection
   Physical Address. . . . . . . . . : 00-0C-29-7D-EE-CD
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   IPv6 Address. . . . . . . . . . . : 2001:470:19:1292::3(Preferred)
   Link-local IPv6 Address . . . . . : fe80::3ddf:cd20:fbcd:25a0%12(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.41.49(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Wednesday, May 01, 2013 6:28:31 PM
   Lease Expires . . . . . . . . . . : Saturday, May 04, 2013 6:28:34 PM
   Default Gateway . . . . . . . . . : 2001:470:19:1292::1
                                       fe80::20c:29ff:fe93:fb7a%12
                                       192.168.41.50
   DHCP Server . . . . . . . . . . . : 192.168.41.50
   DNS Servers . . . . . . . . . . . : 2001:4860:4860::8888
                                       2001:4860:4860::4444
                                       8.8.8.8
                                       8.8.4.4
   NetBIOS over Tcpip. . . . . . . . : Enabled
Last edited by srijit92 on Wed May 01, 2013 4:17 pm, edited 1 time in total.
 
srijit92
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 78
Joined: Sun Jul 01, 2012 11:56 am
Location: India
Contact:

Re: Clients not gettting IPv6 - Tunnelbroker Service

Wed May 01, 2013 4:16 pm

I followed your config, but no luck. Please see my changed config

ros code

[admin@MikroTik] /ipv6 address> print
Flags: X - disabled, I - invalid, D - dynamic, G - global, L - link-local 
 #    ADDRESS                                     FROM-POOL INTERFACE   ADVERTISE
 0  G 2001:470:18:1292::2/64                                IPV6        no       
 1  G 2001:470:19:1292::1/64                                WAN         no       
 2 DL fe80::c0a8:32/128                                     IPV6        no       
 3 DL fe80::20c:29ff:fe93:fb70/64                           WAN         no       
 4 DL fe80::20c:29ff:fe93:fb7a/64                           LAN         no       
 5  G 2001:470:19:1292::100/64                              LAN         yes     

[admin@MikroTik] /ipv6 dhcp-server> print
Flags: D - dynamic, X - disabled, I - invalid 
 #    NAME              INTERFACE             ADDRESS
 0    IPv6Srv           LAN                   HePool 

[admin@MikroTik] /ipv6 pool> print
Flags: D - dynamic 
 #   NAME               PREFIX                                      PREFIX-LENGTH
 0   HePool             2001:470:19:1292::/64                                  64

[admin@MikroTik] /ipv6 route> print
Flags: X - disabled, A - active, D - dynamic, 
C - connect, S - static, r - rip, o - ospf, b - bgp, U - unreachable 
 #      DST-ADDRESS              GATEWAY                  DISTANCE
 0 A S  2000::/3                 2001:470:18:1292::1             1
 1 ADC  2001:470:18:1292::/64    IPV6                            0
 2 ADC  2001:470:19:1292::/64    WAN                             0
                                 LAN
With this setup I can ping IPv6 from Mikrotik Router OS. But client is not getting DHCP IPv6 addresses. Please help.
 
biomesh
Long time Member
Long time Member
Posts: 563
Joined: Fri Feb 10, 2012 8:25 pm

Re: Clients not gettting IPv6 - Tunnelbroker Service

Wed May 01, 2013 5:14 pm

I followed your config, but no luck. Please see my changed config

ros code

[admin@MikroTik] /ipv6 address> print
Flags: X - disabled, I - invalid, D - dynamic, G - global, L - link-local 
 #    ADDRESS                                     FROM-POOL INTERFACE   ADVERTISE
 0  G 2001:470:18:1292::2/64                                IPV6        no       
 1  G 2001:470:19:1292::1/64                                WAN         no       
 2 DL fe80::c0a8:32/128                                     IPV6        no       
 3 DL fe80::20c:29ff:fe93:fb70/64                           WAN         no       
 4 DL fe80::20c:29ff:fe93:fb7a/64                           LAN         no       
 5  G 2001:470:19:1292::100/64                              LAN         yes     

[admin@MikroTik] /ipv6 dhcp-server> print
Flags: D - dynamic, X - disabled, I - invalid 
 #    NAME              INTERFACE             ADDRESS
 0    IPv6Srv           LAN                   HePool 

[admin@MikroTik] /ipv6 pool> print
Flags: D - dynamic 
 #   NAME               PREFIX                                      PREFIX-LENGTH
 0   HePool             2001:470:19:1292::/64                                  64

[admin@MikroTik] /ipv6 route> print
Flags: X - disabled, A - active, D - dynamic, 
C - connect, S - static, r - rip, o - ospf, b - bgp, U - unreachable 
 #      DST-ADDRESS              GATEWAY                  DISTANCE
 0 A S  2000::/3                 2001:470:18:1292::1             1
 1 ADC  2001:470:18:1292::/64    IPV6                            0
 2 ADC  2001:470:19:1292::/64    WAN                             0
                                 LAN
With this setup I can ping IPv6 from Mikrotik Router OS. But client is not getting DHCP IPv6 addresses. Please help.
You need to show your neighbor discovery settings. DHCP isn't the normal way for IPv6 clients to get addresses (although it can be used - but not with RouterOS).

Post your

/ipv6 export

so we can see all of your settings.
 
srijit92
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 78
Joined: Sun Jul 01, 2012 11:56 am
Location: India
Contact:

Re: Clients not gettting IPv6 - Tunnelbroker Service

Wed May 01, 2013 5:16 pm

ros code

[admin@MikroTik] > /ipv6 export 
# apr/30/2013 01:10:03 by RouterOS 5.21
# software id = XXXX
#
/ipv6 dhcp-server
add address-pool=HePool authoritative=after-2sec-delay disabled=no interface=\
    LAN lease-time=3d name=IPv6Srv
/ipv6 pool
add name=HePool prefix=2001:470:19:1292::/64 prefix-length=64
/ipv6 address
add address=2001:470:18:1292::2/64 advertise=no disabled=no eui-64=no \
    interface=IPV6
add address=2001:470:19:1292::1/64 advertise=yes disabled=no eui-64=no \
    interface=LAN
/ipv6 nd
set [ find default=yes ] advertise-dns=yes advertise-mac-address=yes \
    disabled=no hop-limit=unspecified interface=all \
    managed-address-configuration=yes mtu=unspecified other-configuration=no \
    ra-delay=3s ra-interval=3m20s-10m ra-lifetime=30m reachable-time=\
    unspecified retransmit-interval=unspecified
add advertise-dns=yes advertise-mac-address=yes disabled=no hop-limit=64 \
    interface=WAN managed-address-configuration=no mtu=unspecified \
    other-configuration=no ra-delay=3s ra-interval=3m20s-10m ra-lifetime=30m \
    reachable-time=unspecified retransmit-interval=unspecified
add advertise-dns=yes advertise-mac-address=yes disabled=no hop-limit=64 \
    interface=LAN managed-address-configuration=yes mtu=unspecified \
    other-configuration=no ra-delay=3s ra-interval=3m20s-10m ra-lifetime=30m \
    reachable-time=unspecified retransmit-interval=unspecified
/ipv6 nd prefix
add autonomous=no disabled=no interface=LAN on-link=yes preferred-lifetime=1w \
    prefix=::/64 valid-lifetime=4w2d
/ipv6 nd prefix default
set autonomous=no preferred-lifetime=1w valid-lifetime=4w2d
/ipv6 route
add disabled=no distance=1 dst-address=2000::/3 gateway=2001:470:18:1292::1 \
    scope=30 target-scope=10
 
biomesh
Long time Member
Long time Member
Posts: 563
Joined: Fri Feb 10, 2012 8:25 pm

Re: Clients not gettting IPv6 - Tunnelbroker Service

Wed May 01, 2013 8:48 pm

Try this:
/ipv6 address
add address=2001:470:18:1292::2/64 advertise=no interface=IPV6
add address=2001:470:19:1292::1/64 interface=LAN
/ipv6 nd
set [ find default=yes ] disabled=yes
add advertise-dns=yes interface=LAN managed-address-configuration=yes mtu=1480 other-configuration=yes ra-delay=5s \
    ra-interval=5s-30s
/ipv6 nd prefix default
set autonomous=yes preferred-lifetime=4h valid-lifetime=4h
/ipv6 route
add distance=1 gateway=2001:470:18:1292::1
add distance=1 dst-address=2000::/3 gateway=2001:470:18:1292::1
 
srijit92
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 78
Joined: Sun Jul 01, 2012 11:56 am
Location: India
Contact:

Re: Clients not gettting IPv6 - Tunnelbroker Service

Thu May 02, 2013 6:10 am

Still DHCPv6 not working on clients. My New Config:

ros code

/ipv6 dhcp-server
add address-pool=pool1 authoritative=after-2sec-delay disabled=no interface=\
    LAN lease-time=3d name=server1
/ipv6 pool
add name=pool1 prefix=2001:470:19:1292::/64 prefix-length=64
/ipv6 address
add address=2001:470:18:1292::2/64 advertise=no disabled=no eui-64=no \
    interface=IPV6
add address=2001:470:19:1292::1/64 advertise=yes disabled=no eui-64=no \
    interface=LAN
/ipv6 nd
set [ find default=yes ] advertise-dns=yes advertise-mac-address=yes \
    disabled=yes hop-limit=unspecified interface=all \
    managed-address-configuration=no mtu=unspecified other-configuration=no \
    ra-delay=3s ra-interval=3m20s-10m ra-lifetime=30m reachable-time=\
    unspecified retransmit-interval=unspecified
/ipv6 nd prefix default
set autonomous=yes preferred-lifetime=4h valid-lifetime=4h
/ipv6 route
add disabled=no distance=1 dst-address=2000::/3 gateway=2001:470:18:1292::1 \
    scope=30 target-scope=10
 
biomesh
Long time Member
Long time Member
Posts: 563
Joined: Fri Feb 10, 2012 8:25 pm

Re: Clients not gettting IPv6 - Tunnelbroker Service

Thu May 02, 2013 6:51 am

Still DHCPv6 not working on clients. My New Config:

ros code

/ipv6 dhcp-server
add address-pool=pool1 authoritative=after-2sec-delay disabled=no interface=\
    LAN lease-time=3d name=server1
/ipv6 pool
add name=pool1 prefix=2001:470:19:1292::/64 prefix-length=64
/ipv6 address
add address=2001:470:18:1292::2/64 advertise=no disabled=no eui-64=no \
    interface=IPV6
add address=2001:470:19:1292::1/64 advertise=yes disabled=no eui-64=no \
    interface=LAN
/ipv6 nd
set [ find default=yes ] advertise-dns=yes advertise-mac-address=yes \
    disabled=yes hop-limit=unspecified interface=all \
    managed-address-configuration=no mtu=unspecified other-configuration=no \
    ra-delay=3s ra-interval=3m20s-10m ra-lifetime=30m reachable-time=\
    unspecified retransmit-interval=unspecified
/ipv6 nd prefix default
set autonomous=yes preferred-lifetime=4h valid-lifetime=4h
/ipv6 route
add disabled=no distance=1 dst-address=2000::/3 gateway=2001:470:18:1292::1 \
    scope=30 target-scope=10
Are you really using dhcpv6 clients or are you using autoconfig? The ros implementation of dhcpv6 only supports prefix delegation. From your config you still don't have nd enabled like the one I posted.
 
srijit92
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 78
Joined: Sun Jul 01, 2012 11:56 am
Location: India
Contact:

Re: Clients not gettting IPv6 - Tunnelbroker Service

Thu May 02, 2013 6:55 am

Yes I want to use DHCPv6 for my clients. In your config you had nd disabled=yes.
My intention is simple. I want my clients to get IPV6 address so that they can browse over IPv6 web addresses. Which config should I follow?
 
biomesh
Long time Member
Long time Member
Posts: 563
Joined: Fri Feb 10, 2012 8:25 pm

Re: Clients not gettting IPv6 - Tunnelbroker Service

Thu May 02, 2013 4:20 pm

Yes I want to use DHCPv6 for my clients. In your config you had nd disabled=yes.
My intention is simple. I want my clients to get IPV6 address so that they can browse over IPv6 web addresses. Which config should I follow?
You misread my config - my default ND entry is disabled. I have a separate ND entry for my lan. You must have ND enabled for a subnet and have autonomous=yes for clients to do autoconfig.
 
srijit92
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 78
Joined: Sun Jul 01, 2012 11:56 am
Location: India
Contact:

Re: Clients not gettting IPv6 - Tunnelbroker Service

Fri May 03, 2013 7:11 am

Yes I want to use DHCPv6 for my clients. In your config you had nd disabled=yes.
My intention is simple. I want my clients to get IPV6 address so that they can browse over IPv6 web addresses. Which config should I follow?
You misread my config - my default ND entry is disabled. I have a separate ND entry for my lan. You must have ND enabled for a subnet and have autonomous=yes for clients to do autoconfig.
Ok. Added ND for LAN but still not working.

ros code

/ipv6 dhcp-server
add address-pool=pool1 authoritative=after-2sec-delay disabled=no interface=\
    LAN lease-time=3d name=server1
/ipv6 pool
add name=pool1 prefix=2001:470:19:1292::/64 prefix-length=64
/ipv6 address
add address=2001:470:18:1292::2/64 advertise=no disabled=no eui-64=no \
    interface=IPV6
add address=2001:470:19:1292::1/64 advertise=yes disabled=no eui-64=no \
    interface=LAN
/ipv6 dhcp-client
add add-default-route=yes disabled=no interface=LAN pool-name=ty \
    pool-prefix-length=64
/ipv6 nd
set [ find default=yes ] advertise-dns=yes advertise-mac-address=yes \
    disabled=yes hop-limit=unspecified interface=all \
    managed-address-configuration=no mtu=unspecified other-configuration=no \
    ra-delay=3s ra-interval=3m20s-10m ra-lifetime=30m reachable-time=\
    unspecified retransmit-interval=unspecified
add advertise-dns=yes advertise-mac-address=yes disabled=no hop-limit=64 \
    interface=LAN managed-address-configuration=yes mtu=unspecified \
    other-configuration=no ra-delay=3s ra-interval=3m20s-10m ra-lifetime=30m \
    reachable-time=unspecified retransmit-interval=unspecified
/ipv6 nd prefix default
set autonomous=yes preferred-lifetime=4h valid-lifetime=4h
/ipv6 route
add disabled=no distance=1 dst-address=2000::/3 gateway=2001:470:18:1292::1 \
    scope=30 target-scope=10
 
biomesh
Long time Member
Long time Member
Posts: 563
Joined: Fri Feb 10, 2012 8:25 pm

Re: Clients not gettting IPv6 - Tunnelbroker Service

Fri May 03, 2013 4:22 pm

Yes I want to use DHCPv6 for my clients. In your config you had nd disabled=yes.
My intention is simple. I want my clients to get IPV6 address so that they can browse over IPv6 web addresses. Which config should I follow?
You misread my config - my default ND entry is disabled. I have a separate ND entry for my lan. You must have ND enabled for a subnet and have autonomous=yes for clients to do autoconfig.
Ok. Added ND for LAN but still not working.

ros code

/ipv6 dhcp-server
add address-pool=pool1 authoritative=after-2sec-delay disabled=no interface=\
    LAN lease-time=3d name=server1
/ipv6 pool
add name=pool1 prefix=2001:470:19:1292::/64 prefix-length=64
/ipv6 address
add address=2001:470:18:1292::2/64 advertise=no disabled=no eui-64=no \
    interface=IPV6
add address=2001:470:19:1292::1/64 advertise=yes disabled=no eui-64=no \
    interface=LAN
/ipv6 dhcp-client
add add-default-route=yes disabled=no interface=LAN pool-name=ty \
    pool-prefix-length=64
/ipv6 nd
set [ find default=yes ] advertise-dns=yes advertise-mac-address=yes \
    disabled=yes hop-limit=unspecified interface=all \
    managed-address-configuration=no mtu=unspecified other-configuration=no \
    ra-delay=3s ra-interval=3m20s-10m ra-lifetime=30m reachable-time=\
    unspecified retransmit-interval=unspecified
add advertise-dns=yes advertise-mac-address=yes disabled=no hop-limit=64 \
    interface=LAN managed-address-configuration=yes mtu=unspecified \
    other-configuration=no ra-delay=3s ra-interval=3m20s-10m ra-lifetime=30m \
    reachable-time=unspecified retransmit-interval=unspecified
/ipv6 nd prefix default
set autonomous=yes preferred-lifetime=4h valid-lifetime=4h
/ipv6 route
add disabled=no distance=1 dst-address=2000::/3 gateway=2001:470:18:1292::1 \
    scope=30 target-scope=10
You could be having a problem since you are running both a DHCPv6 server and DHCPv6 client on the LAN interface. You don't need those with the tunnelbroker/HE tunnel. Disable them and test again. Your RA ND interval is super long, try your full config like the following:
/ipv6 dhcp-server
add address-pool=pool1 authoritative=after-2sec-delay disabled=yes interface=\
    LAN lease-time=3d name=server1
/ipv6 pool
add name=pool1 prefix=2001:470:19:1292::/64 prefix-length=64
/ipv6 address
add address=2001:470:18:1292::2/64 advertise=no disabled=no eui-64=no \
    interface=IPV6
add address=2001:470:19:1292::1/64 advertise=yes disabled=no eui-64=no \
    interface=LAN
/ipv6 dhcp-client
add add-default-route=yes disabled=yes interface=LAN pool-name=ty \
    pool-prefix-length=64
/ipv6 nd
set [ find default=yes ] advertise-dns=yes advertise-mac-address=yes \
    disabled=yes hop-limit=unspecified interface=all \
    managed-address-configuration=no mtu=unspecified other-configuration=no \
    ra-delay=3s ra-interval=5s-30s ra-lifetime=30m reachable-time=\
    unspecified retransmit-interval=unspecified
add advertise-dns=yes advertise-mac-address=yes disabled=no hop-limit=64 \
    interface=LAN managed-address-configuration=yes mtu=unspecified \
    other-configuration=no ra-delay=3s ra-interval=5s-30s ra-lifetime=30m \
    reachable-time=unspecified retransmit-interval=unspecified
/ipv6 nd prefix default
set autonomous=yes preferred-lifetime=4h valid-lifetime=4h
/ipv6 route
add disabled=no distance=1 dst-address=::/0 gateway=2001:470:18:1292::1 scope=30 target-scope=10
add disabled=no distance=1 dst-address=2000::/3 gateway=2001:470:18:1292::1 \
    scope=30 target-scope=10
If this doesn't work, you should probably run radvdump (on a computer on your network) to see the RAs being sent on the network.
 
srijit92
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 78
Joined: Sun Jul 01, 2012 11:56 am
Location: India
Contact:

Re: Clients not gettting IPv6 - Tunnelbroker Service

Fri May 03, 2013 7:14 pm

Followed your config and did this.. But since I'm on windows, i cannot use the radvdump tool. Instead I booted another Mikrotik instance and added a DHCP client for the interface connected to the main router.

Main Router Config:

ros code

/ipv6 dhcp-server
add address-pool=pool1 authoritative=after-2sec-delay disabled=no interface=\
    LAN lease-time=3d name=server1
/ipv6 pool
add name=pool1 prefix=2001:470:19:1292::/64 prefix-length=64
/ipv6 address
add address=2001:470:18:1292::2/64 advertise=no disabled=no eui-64=no \
    interface=IPV6
add address=2001:470:19:1292::1/64 advertise=yes disabled=no eui-64=no \
    interface=LAN
/ipv6 nd
set [ find default=yes ] advertise-dns=yes advertise-mac-address=yes \
    disabled=yes hop-limit=unspecified interface=all \
    managed-address-configuration=no mtu=unspecified other-configuration=no \
    ra-delay=3s ra-interval=5s-30s ra-lifetime=30m reachable-time=unspecified \
    retransmit-interval=unspecified
add advertise-dns=yes advertise-mac-address=yes disabled=no hop-limit=64 \
    interface=LAN managed-address-configuration=yes mtu=unspecified \
    other-configuration=no ra-delay=3s ra-interval=5s-30s ra-lifetime=30m \
    reachable-time=unspecified retransmit-interval=unspecified
/ipv6 nd prefix default
set autonomous=yes preferred-lifetime=4h valid-lifetime=4h
/ipv6 route
add disabled=no distance=1 dst-address=2000::/3 gateway=2001:470:18:1292::1 \
    scope=30 target-scope=10
IPv6 Config if Client Router. (Still No IP assigned :( )

ros code

/ipv6 dhcp-client
add add-default-route=yes disabled=no interface=LAN pool-name=bg \
    pool-prefix-length=64
/ipv6 nd
set [ find default=yes ] advertise-dns=no advertise-mac-address=yes disab
    no hop-limit=unspecified interface=all managed-address-configuration=
    mtu=unspecified other-configuration=no ra-delay=3s ra-interval=3m20s-
    ra-lifetime=30m reachable-time=unspecified retransmit-interval=\
    unspecified
/ipv6 nd prefix default
set autonomous=yes preferred-lifetime=1w valid-lifetime=4w2d
Image
 
Sob
Forum Guru
Forum Guru
Posts: 9121
Joined: Mon Apr 20, 2009 9:11 pm

Re: Clients not gettting IPv6 - Tunnelbroker Service

Fri May 03, 2013 9:50 pm

Forget DHCPv6, in RouterOS it only supports prefixes so far, not individual addresses. To see RAs on Windows, you can use some packet capture tool, e.g. Wireshark with "icmpv6.type==134" filter.

Edit: And since you can't use DHCPv6, you definitely want managed-address-configuration=no.
 
biomesh
Long time Member
Long time Member
Posts: 563
Joined: Fri Feb 10, 2012 8:25 pm

Re: Clients not gettting IPv6 - Tunnelbroker Service

Fri May 03, 2013 10:20 pm

Forget DHCPv6, in RouterOS it only supports prefixes so far, not individual addresses. To see RAs on Windows, you can use some packet capture tool, e.g. Wireshark with "icmpv6.type==134" filter.

Edit: And since you can't use DHCPv6, you definitely want managed-address-configuration=no.
Good catch
 
y0d4
newbie
Posts: 31
Joined: Wed May 29, 2013 1:22 am

Re: Clients not gettting IPv6 - Tunnelbroker Service

Tue Dec 24, 2013 6:00 pm

hi, sorry for asking, but to be sure :)
i setup ipv6 tunnel on mikrotik and i can ping ipv6 address from him.
But what now?
is there option to give that tunnel ipv6 address to clients in LAN?


thank you.
 
User avatar
nxnlvz
just joined
Posts: 6
Joined: Tue Apr 17, 2012 9:44 pm
Location: Tulsa, USA

Re: Clients not gettting IPv6 - Tunnelbroker Service

Sun Apr 06, 2014 10:03 pm

Finally I see the issue.
I was bringing a new router and could not determine why my IPv6 tunnel was not working. It appeared as though I had mirrored the new router from the old router but I was missing some crucial items.

What seems to be the issue is that ARP and RSTP active on the local internal interface, bridge-local in this case, caused ND not to function. You have two choices to work around this. #1 Use STP instead of RSTP. #2 Use Proxy-ARP on the local interface instead of ARP. After doing this IPv6 tunnel and other IPv6 works.

Someone please tell me if I am wrong about this.

Who is online

Users browsing this forum: Bing [Bot], vingjfg and 54 guests