Community discussions

MikroTik App
 
chrisintaipei
newbie
Topic Author
Posts: 31
Joined: Fri Sep 21, 2012 1:04 pm

IPv6 dual stack setup issue on ROS 5.20

Mon Jul 15, 2013 11:17 am

hello,

i've been trying to get IPv6 working on my x86 router, and so far have no success

my connection is IPoE, not PPPoE. if i am to set up IPv4 connection, i put the IPv4 ip into ip/address, then set up gateway in ip/route.

so i'd assume the same for setting up IPv6. and if i am reading the correct document, it seems to suggest, for my connection, the set up for IPv 6 should be very simillar to IPv4.
http://wiki.mikrotik.com/wiki/Manual:IPv6/Route

the attached picture is what i have done to try to get routeros to ping google DNS. and it's not doing it. could someone give me an idea where i have done wrong
Image

this is what my ISP provided me:
IPv6 2001:B030:xxxx:xxxx::/64
default GW 2001:B030:xxxx:xxxx::FFFF/64
GW WAN port IPv6 2001:B030:xxxx:xxxx::0001/64
WAN port default GW 2001:B030:xxxx:xxxx::FFFF/64
LAN port IPv6 range 2001:B030:xxxx:0000::/56
DNS 2001:b000:168::1
DNS 2001:b000:168::2
 
chrisintaipei
newbie
Topic Author
Posts: 31
Joined: Fri Sep 21, 2012 1:04 pm

Re: IPv6 dual stack setup issue on ROS 5.20

Tue Jul 16, 2013 5:46 am

just want to add that i am pretty sure the IPv6 connection works fine.

under win7, it's easy to set it up, i just need to go to the network adaptor setting, in IPv6's property, enter the IP + prefix length + default gateway + dns, that's all.

i am sure this must be fairly simple to setup in RouterOS too...

the box is 2000km away from me, else i'd hook up my spare RB751G to see if the same happens (as i am out of any idea what to do next)...

please help!
 
Rudios
Forum Veteran
Forum Veteran
Posts: 977
Joined: Mon Mar 11, 2013 12:58 pm
Location: The Netherlands

Re: IPv6 dual stack setup issue on ROS 5.20

Tue Jul 16, 2013 7:54 am

I'm not sure, but what I have done is only configure an IPv6 address on my local bridge, and done DHCP-client on my ISP interface (which is pppoe in my case)
Maybe you can give an overview of your connections?
The thing I assume is that it is routing to itself now, since ::1 is used as gateway, but is assigned to the Routerboard itself.

In my case I get my prefix from my ISP by DHCP-client, which is 2001:xxxx:xxxx::/48
I assigned a /64 myself on my local bridge (2001:xxx:xxx:babe::1/64)
 
chrisintaipei
newbie
Topic Author
Posts: 31
Joined: Fri Sep 21, 2012 1:04 pm

Re: IPv6 dual stack setup issue on ROS 5.20

Tue Jul 16, 2013 9:50 am

I'm not sure, but what I have done is only configure an IPv6 address on my local bridge, and done DHCP-client on my ISP interface (which is pppoe in my case)
Maybe you can give an overview of your connections?
The thing I assume is that it is routing to itself now, since ::1 is used as gateway, but is assigned to the Routerboard itself.

In my case I get my prefix from my ISP by DHCP-client, which is 2001:xxxx:xxxx::/48
I assigned a /64 myself on my local bridge (2001:xxx:xxx:babe::1/64)
ha, first of all, thanks for replying!!

there are many PPPoE examples, but i have yet to come across one for my type of connection.

like i explained, at the moment i am just trying to get ROS to at least be able to ping google's DNS, once that worked, i then go set up the rest (one step at a time).

i've tried quite a few different settings - with and without ::1. i might be wrong but i would tend to think it's probably just a minor error somewhere that i need to correct.

what i am seeing is, ROS connects with correct IPv6 IP, and when pinging google DNS, depends on the setting that i am testing, the built-in ping tool either says no route to host or timed out. that no route to host i think is pretty strange because under IPv6/route, i have put a static catch all route to go out of the WAN port, and it still says no route to host.

and from all the docs that i have read, it seems i just need to enter IPv6 IP + IPv6/route then it should work. but it isn't, at least not for me...
 
Rudios
Forum Veteran
Forum Veteran
Posts: 977
Joined: Mon Mar 11, 2013 12:58 pm
Location: The Netherlands

Re: IPv6 dual stack setup issue on ROS 5.20

Tue Jul 16, 2013 10:01 am

I'm not sure, but what I have done is only configure an IPv6 address on my local bridge, and done DHCP-client on my ISP interface (which is pppoe in my case)
Maybe you can give an overview of your connections?
The thing I assume is that it is routing to itself now, since ::1 is used as gateway, but is assigned to the Routerboard itself.

In my case I get my prefix from my ISP by DHCP-client, which is 2001:xxxx:xxxx::/48
I assigned a /64 myself on my local bridge (2001:xxx:xxx:babe::1/64)
ha, first of all, thanks for replying!!

there are many PPPoE examples, but i have yet to come across one for my type of connection.

like i explained, at the moment i am just trying to get ROS to at least be able to ping google's DNS, once that worked, i then go set up the rest (one step at a time).

i've tried quite a few different settings - with and without ::1. i might be wrong but i would tend to think it's probably just a minor error somewhere that i need to correct.

what i am seeing is, ROS connects with correct IPv6 IP, and when pinging google DNS, depends on the setting that i am testing, the built-in ping tool either says no route to host or timed out. that no route to host i think is pretty strange because under IPv6/route, i have put a static catch all route to go out of the WAN port, and it still says no route to host.

and from all the docs that i have read, it seems i just need to enter IPv6 IP + IPv6/route then it should work. but it isn't, at least not for me...
Concluding from your screenshot and your story, ether1 should be your ISP connected interface. You should remove the IPv6 address from that interface, so from the screenshot the ::2 address.
In your story your reffering to the ::1 address, which is probably your internal local address.

I'm also interested in your bridge config. I assume that your PC is connected to ether5. If so, it should be ok, but than IPv6 will only work for ether5 connected devices.
 
chrisintaipei
newbie
Topic Author
Posts: 31
Joined: Fri Sep 21, 2012 1:04 pm

Re: IPv6 dual stack setup issue on ROS 5.20

Tue Jul 16, 2013 10:57 am

my WAN is on eth5

LAN is on eth1

i should have had it changed but didn't ha

just want to double check, should i give ROS WAN port 2001:B030:xxxx:xxxx:: or 2001:B030:xxxx:xxxx::1?

and on the gateway should i set it as ::2?
 
Rudios
Forum Veteran
Forum Veteran
Posts: 977
Joined: Mon Mar 11, 2013 12:58 pm
Location: The Netherlands

Re: IPv6 dual stack setup issue on ROS 5.20

Tue Jul 16, 2013 11:31 am

I think the WAN does not need an IP at all.
Only our local LAN interface (or bridge).
And your static route should than route ::/0 out of your WAN interface or to the IP address you wrote 2001:B030:xxxx:xxxx::FFFF/64.
 
chrisintaipei
newbie
Topic Author
Posts: 31
Joined: Fri Sep 21, 2012 1:04 pm

Re: IPv6 dual stack setup issue on ROS 5.20

Tue Jul 16, 2013 12:08 pm

I think the WAN does not need an IP at all.
Only our local LAN interface (or bridge).
And your static route should than route ::/0 out of your WAN interface or to the IP address you wrote 2001:B030:xxxx:xxxx::FFFF/64.
ok on LAN port i set the address to 2001:B030:xxxx:xxxx::FFFF/64 (and later on also 2001:B030:xxxx:xxxx::/64)

that creates a route of 2001:B030:xxxx:xxxx::/64 on LAN port

then i created ::/0 on WAN port

when pinging, it says no route to host.

any other idea that i can try is more than welcome!! :)
 
Rudios
Forum Veteran
Forum Veteran
Posts: 977
Joined: Mon Mar 11, 2013 12:58 pm
Location: The Netherlands

Re: IPv6 dual stack setup issue on ROS 5.20

Tue Jul 16, 2013 1:04 pm

Like I said, give your ether1 (local LAN) interface a IPv6 address inside the pool assigned to you by ISP
(2001:B030:xxxx:xxxx::/64)
Create a static route for ::/0 towards 2001:B030:xxxx:xxxx::FFFF/64
 
chrisintaipei
newbie
Topic Author
Posts: 31
Joined: Fri Sep 21, 2012 1:04 pm

Re: IPv6 dual stack setup issue on ROS 5.20

Tue Jul 16, 2013 1:46 pm

Like I said, give your ether1 (local LAN) interface a IPv6 address inside the pool assigned to you by ISP
(2001:B030:xxxx:xxxx::/64)
Create a static route for ::/0 towards 2001:B030:xxxx:xxxx::FFFF/64
this is what i have entered:

ipv6/address 2001:B030:xxxx:xxxx::/64 on ether1 (that's the LAN port)

then ipv6/route - add dst address ::/0 gateway 2001:B030:xxxx:xxxx::ffff
here it says reachable ether1 -> ether1 is LAN port, but we want it to be on WAN port

in here http://wiki.mikrotik.com/wiki/Manual:IPv6/Route there is an example looks like forcing to use specific port:
dst-address=2002::/16
gateway=fe80::21a:4dff:fe56:1f4d%ether1 reachable distance=1
scope=30 target-scope=10

so, add dst address ::/0 gateway 2001:B030:xxxx:xxxx::ffff%ether5 -> it says invalid gateway configuration (well, the ip format looks different).

so, i add dst address ::/0 gateway ether5 (WAN port). ping it and it says no route to host.

am i entering what you are expecting me to enter correctly?
 
Rudios
Forum Veteran
Forum Veteran
Posts: 977
Joined: Mon Mar 11, 2013 12:58 pm
Location: The Netherlands

Re: IPv6 dual stack setup issue on ROS 5.20

Tue Jul 16, 2013 2:00 pm

Maybe you must use 2001:B030:xxxx:xxxx:0000::/56 prefix for your LAN, like the ISP supplied
Try setting the address for LAN (ether1) to 2001:B030:xxxx:xxxx:0000::1/56.
Than again the static route for ::/0 towards the FFFF/64 address

EDIT
After some thinking I don't think I can help you any further in solving the issue. :(