Community discussions

MikroTik App
 
Omosa
just joined
Topic Author
Posts: 7
Joined: Mon Sep 20, 2021 11:45 am

I cant figure out how to route through ipv6 pppoe-tunnel?

Wed Sep 22, 2021 8:35 pm

Hey guys, i need a little help! I tried to follow any manual i could find, but i am stuck.

My ISP wants me to log in via PPPoE and gives me the hint that i have to use dynamic IPv6.

So far so good. I used Quick Set to set the CRS328-24P-4S+ as router, connect to the PPPoE Server on ether1 (with success!), host a dhcp-server for 10.0.0.0/24 and activated nat.

After that i the ipv6-stuff as in an tutorials described, i used LAN as pool-name:
/ipv6 dhcp-client add add-default-route=yes interface=pppoe-out1 pool-name=LAN request=prefix
/ipv6/dhcp-client> print
Columns: INTERFACE, STATUS, REQUEST, PREFIX
# INTERFACE   STATUS  REQUEST  PREFIX                             
0 pppoe-out1  bound   prefix   2a03:b580:XXXX:XXXX::/56, 21h11m35s
Pool is created automatic:
 ipv6/ pool/ print
Flags: D - DYNAMIC
Columns: NAME, PREFIX, PREFIX-LENGTH, EXPIRES-AFTER#   NAME  PREFIX                    PREFIX-LENGTH  EXPIRES-AFTER
0 D LAN   2a03:b580:XXXX:XXXX::/56             64  21h16m  
And i started a ipv6 dhcp (do i need that?):
/ipv6 dhcp-server add address-pool=LAN interface=bridge1 name=server1
That sums up to this routing table:
 /ipv6/route> print
Flags: D - DYNAMIC; A - ACTIVE; c, d, v, y - COPY; + - ECMP
Columns: DST-ADDRESS, GATEWAY, DISTANCE     DST-ADDRESS               GATEWAY                               DISTANCE
DAd+ ::/0                      fe80::fe33:42ff:fe23:3007%pppoe-out1         1
DAv+ ::/0                      pppoe-out1                                   1
DAd  2a03:b580:XXXX:XXXX::/56                                               1
DAc  fe80::%ether1/64          ether1                                       0
DAc  fe80::%bridge1/64         bridge1                                      0
DAc  fe80::%pppoe-out1/64      pppoe-out1                                   0
Route in ipv4 only gives me:
DAc 10.0.0.0/24  bridge1         
Some guys at reddit suggested to advertise the router ip-adress to the local network. I think i am:
ipv6/ address/ print
Flags: D - DYNAMIC; G, L - LINK-LOCAL
Columns: ADDRESS, FROM-POOL, INTERFACE, ADVERTISE
#    ADDRESS                     FROM-POOL  INTERFACE   ADVERTISE
0 DL fe80::a55:31ff:fef7:cd1/64             bridge1     no       
1 DL fe80::a55:31ff:fef7:cd0/64             ether1      no       
2 DL fe80::1e/64                            pppoe-out1  no       
3  G 2a03:b580:XXXX:XXXX::/64    LAN        bridge1     yes      
4  G 2a03:b580:XXXX:XXXX::/64    LAN        ether1      yes


I believe i just missed something stupid. I cant ping any ip or host outside my local network from the router itself or any client.
 
Omosa
just joined
Topic Author
Posts: 7
Joined: Mon Sep 20, 2021 11:45 am

Re: I cant figure out how to route through ipv6 pppoe-tunnel?

Sun Sep 26, 2021 12:53 pm

Anybody?
 
nescafe2002
Forum Veteran
Forum Veteran
Posts: 897
Joined: Tue Aug 11, 2015 12:46 pm
Location: Netherlands

Re: I cant figure out how to route through ipv6 pppoe-tunnel?

Sun Sep 26, 2021 2:53 pm

You currently have two dynamic default routes, one from pppoe-client and one from dhcpv6-client. You may want to disable add-default-route on one of them. Sometimes adding a static route with dst-address=2000::/3 and gateway=pppoe-out1 could make it work (not sure why, but it worked for me).

Remove the global address on ether1, just bridge1 should be enough. As soon as you use multiple "from-pool" addresses, the MT will increment the prefix on every configuration change, which is generally not desired behavior.

The dhcpv6 server can be removed if you don't have any downstream routers. One address on bridge1 with advertise=yes is enough to make IPv6 work on the LAN. Have the clients correctly assigned a global IPv6 address?

Also, since you're using pppoe you probably have a lower MTU. Check the pppoe interface to make sure and advertise accordingly:

/ipv6 nd set [ find default=yes ] mtu=1480
or
/ipv6 nd set [ find default=yes ] mtu=1492

And make sure you have a proper firewall. Generally, after activating ipv6 package, firewall is not installed. Check /ipv6 firewall export for current firewall entries and /system default-configuration print for the default firewall.

Who is online

Users browsing this forum: GoogleOther [Bot], JDF, mtest001 and 52 guests