Community discussions

MikroTik App
 
BlackFate
newbie
Topic Author
Posts: 30
Joined: Fri Aug 10, 2012 2:22 pm

Dhcpv6-client can't get prefix from ISP

Sat Aug 18, 2012 7:48 pm

hello! my dhcpv6-client is stuck to searching for days now. When i first set it up, it would work just fine. Then one day it just stopped working. Restarting my modem and router(routerboard/mikrotik 5.20) didn't help.
I tried plugging my modem directly to a windows 7 laptop and make a pppoe connection.The ipv6 prefix was successfully retrieved from the ISP, so i guess it's not an ISP issue

PS: The ipv6 prefix from my isp is dynamic and so i cant set it manually.
 
samsung172
Forum Guru
Forum Guru
Posts: 1191
Joined: Sat Apr 04, 2009 3:45 am
Location: Østfold - Norway
Contact:

Re: Dhcpv6-client can't get prefix from ISP

Sun Aug 19, 2012 2:10 am

Ask your ISP, how to get the ipv6 prefix. its not common to use ipv6 dhcp
 
BlackFate
newbie
Topic Author
Posts: 30
Joined: Fri Aug 10, 2012 2:22 pm

Re: Dhcpv6-client can't get prefix from ISP

Sun Aug 19, 2012 2:29 am

But how do windows 7 do it in the first place? It was working just fine the first 2 days with mikrotik.
 
samsung172
Forum Guru
Forum Guru
Posts: 1191
Joined: Sat Apr 04, 2009 3:45 am
Location: Østfold - Norway
Contact:

Re: Dhcpv6-client can't get prefix from ISP

Sun Aug 19, 2012 10:54 am

it use the ND feture. just put win 7 in auto, put an ipv6 subnet on the interface pointing to your win7 machine, and its all auto.

Mine ipv6 at home (isp dont provide ipv6)

a sit interface to hurricane. give me a /64. And a routed /48 (just for fun)

then add one subnet to the interface that have yur ipv4 addresses (typicly where nat is done)

enable advertise=yes and ND (i think its default)

my config:


/ipv6 address
add address=2001:470:xxxx:623::2/64 advertise=no disabled=no eui-64=no \
    interface=sit1
add address=2001:470:xxxx::1/48 advertise=no disabled=no eui-64=no interface=\
    sit1
add address=2001:470:xxxx:3::1/64 advertise=no disabled=no eui-64=no \
    interface=l2tp-bridge
add address=2001:470:xxxx:2::1/64 advertise=yes disabled=no eui-64=no \
    interface=bridge
/ipv6 firewall mangle
add action=change-mss chain=forward disabled=no in-interface=sit1 new-mss=\
    1240 passthrough=yes protocol=tcp tcp-flags=syn tcp-mss=1241-65535
add action=change-mss chain=forward disabled=no new-mss=1240 out-interface=\
    sit1 passthrough=yes protocol=tcp tcp-flags=syn tcp-mss=1241-65535
/ipv6 nd
set [ find default=yes ] advertise-dns=yes advertise-mac-address=yes \
    disabled=no hop-limit=64 interface=bridge managed-address-configuration=\
    no mtu=unspecified other-configuration=yes 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=1w valid-lifetime=4w2d
/ipv6 route
add disabled=no distance=1 dst-address=2000::/3 gateway=2001:470:xxxx:623::1 \
    scope=30 target-scope=10



Who is online

Users browsing this forum: r0nzzibb, Renfrew and 180 guests