I have 2 sites connected by ospf on a vlan called "Fiber Trunk".
(Site 1) Router 1 Is the BGP Router
(Site 2) Router 2 Has Dhcp Clients On 1 Port/Vlan and connects with Router 1 via a different port/vlan
Internet->Router1->Router2->Dhcp Clients
I Have DHCP Clients fed off of a different Port and Vlan with a dhcp-relay called "Level3"
This all works for ipv4 however with ipv6 the routing is wrong. My clients can receive an ipv6 prefix however Router 2 has the wrong routing information. it has routes to router 1 via Fiber Trunk to get to the dhcpv6 clients that are only reachable on Lever3 and router 1 has routes to get to the dhcpv6 clients on router 2 via Fiber Trunk aswell. So the only way packets would be routed is back and forth.
also I have DHCPv6 clients on router 1 with a vlan directly and it works no problem so there is no misconfiguration on the client side.
Code: Select all
Router-1:
/ipv6 route print
0 ADb dst-address=::/0 gateway=fe80::4a8f:5aff:fe5b:4504%sfp-sfpplus1 gateway-status=fe80::4a8f:5aff:fe5b:4504%sfp-sfpplus1 reachable distance=200 scope=40
target-scope=30 bgp-local-pref=100 bgp-origin=igp received-from=IPV6-IN
1 ADS dst-address=xxxx:cac0::/56 gateway=fe80::a55:31ff:fe13:f2b1%IPV6 Clients gateway-status=fe80::a55:31ff:fe13:f2b1%IPV6 Clients reachable distance=1
scope=30 target-scope=10
2 ADC dst-address=xxxx:cac0::/64 gateway=Fiber Trunk gateway-status=Fiber Trunk reachable distance=0 scope=10
3 ADS dst-address=xxxx:cac0:0:100::/56 gateway=fe80::ba69:f4ff:fe93:8dab%IPV6 Clients gateway-status=fe80::ba69:f4ff:fe93:8dab%IPV6 Clients reachable
distance=1 scope=30 target-scope=10
4 ADS dst-address=xxxx:cac0:0:200::/56 gateway=fe80::a55:31ff:feac:a062%Fiber Trunk gateway-status=fe80::a55:31ff:feac:a062%Fiber Trunk reachable distance=1
scope=30 target-scope=10
5 ADS dst-address=xxxx:cac0:0:300::/56 gateway=fe80::a55:31ff:feac:a062%Fiber Trunk gateway-status=fe80::a55:31ff:feac:a062%Fiber Trunk reachable distance=1
scope=30 target-scope=10
6 ADC dst-address=xxxx:cac0:47::/126 gateway=sfp-sfpplus1 gateway-status=sfp-sfpplus1 reachable distance=0 scope=10
7 ADo dst-address=xxxx:cac0:53::1/128 gateway=fe80::a55:31ff:feac:a062%Fiber Trunk gateway-status=fe80::a55:31ff:feac:a062%Fiber Trunk reachable distance=110
scope=20 target-scope=10 ospf-metric=10
/ipv6 dhcp server binding print
0 RD xxxx:cac0::/56 0x08553113f2b1 server1 bound
1 RD xxxx:cac0:0:100::/56 0xb869f4938dab server1 bound
2 RD xxxx:cac0:0:200::/56 0x085531933532 server2 bound
3 RD xxxx:cac0:0:300::/56 0x0855319e292d server2 bound
4 RD xxxx:cac0:0:400::/56 0x085531d58f65 server2 bound
5 RD xxxx:cac0:0:500::/56 0x085531d58efc server2 bound
/ipv6 address print
0 DL fe80::2:40b4:756b/64 gre-tunnel1 no
1 G xxxx:cac0:47::2/126 sfp-sfpplus1 no
2 G xxxx:cac0::1/64 Fiber Trunk no
3 DL fe80::c6ad:34ff:feb6:45a1/64 sfp-sfpplus1 no
4 DL fe80::c6ad:34ff:feb6:45a2/64 sfp-sfpplus2 no
5 DL fe80::c6ad:34ff:feb6:45aa/64 ether8 no
6 DL fe80::c6ad:34ff:feb6:45a3/64 bridge1 no
7 DL fe80::ac47:33ff:fe2a:f477/64 loopback no
8 DL fe80::c6ad:34ff:feb6:45aa/64 RR MGMT no
9 DL fe80::c6ad:34ff:feb6:45a3/64 IPV6 Clients no
10 DL fe80::c6ad:34ff:feb6:45a2/64 ZTE MGMT no
11 DL fe80::c6ad:34ff:feb6:45a2/64 ZTE Trunk no
12 DL fe80::c6ad:34ff:feb6:45a6/64 ether4 no
13 DL fe80::c6ad:34ff:feb6:45a3/64 Fiber Trunk no
/routing ospf-v3 instance print
0 * name="default" router-id=10.255.255.211 distribute-default=if-installed-as-type-2 redistribute-connected=as-type-2 redistribute-static=as-type-2
redistribute-rip=no redistribute-bgp=no redistribute-other-ospf=as-type-2 metric-default=1 metric-connected=20 metric-static=20 metric-rip=20
metric-bgp=auto metric-other-ospf=auto
/routing ospf-v3 interface
add area=backbone interface=Fiber-Trunk
Router 2:
/interface vlan
add interface=ether1 name=Fiber-Trunk vlan-id=120
add interface=sfp-sfpplus1 name=Level1 vlan-id=100
add interface=sfp-sfpplus1 name=Level2 vlan-id=200
add interface=sfp-sfpplus1 name=Level3 vlan-id=300
add interface=sfp-sfpplus1 name=MGMT vlan-id=1000
/ipv6 route print
0 ADo dst-address=::/0 gateway=fe80::c6ad:34ff:feb6:45a3%Fiber-Trunk
gateway-status=fe80::c6ad:34ff:feb6:45a3%Fiber-Trunk reachable distance=110 scope=20 target-scope=10 ospf-metric=10
1 ADo dst-address=xxxx:cac0::/56 gateway=fe80::c6ad:34ff:feb6:45a3%Fiber-Trunk
gateway-status=fe80::c6ad:34ff:feb6:45a3%Fiber-Trunk reachable distance=110 scope=20 target-scope=10 ospf-metric=10
2 ADo dst-address=xxxx:cac0:0:100::/56 gateway=fe80::c6ad:34ff:feb6:45a3%Fiber-Trunk
gateway-status=fe80::c6ad:34ff:feb6:45a3%Fiber-Trunk reachable distance=110 scope=20 target-scope=10 ospf-metric=10
3 ADo dst-address=xxxx:cac0:0:200::/56 gateway=fe80::c6ad:34ff:feb6:45a3%Fiber-Trunk
gateway-status=fe80::c6ad:34ff:feb6:45a3%Fiber-Trunk reachable distance=110 scope=20 target-scope=10 ospf-metric=10
4 ADo dst-address=xxxx:cac0:0:300::/56 gateway=fe80::c6ad:34ff:feb6:45a3%Fiber-Trunk
gateway-status=fe80::c6ad:34ff:feb6:45a3%Fiber-Trunk reachable distance=110 scope=20 target-scope=10 ospf-metric=10
5 ADo dst-address=xxxx:cac0:47::/126 gateway=fe80::c6ad:34ff:feb6:45a3%Fiber-Trunk
gateway-status=fe80::c6ad:34ff:feb6:45a3%Fiber-Trunk reachable distance=110 scope=20 target-scope=10 ospf-metric=10
6 ADC dst-address=xxxx:cac0:53::1/128 gateway=MGMT gateway-status=MGMT reachable distance=0 scope=10
/ipv6 address print
0 G xxxx:cac0:53::1/128 MGMT no
1 DL fe80::a55:31ff:feac:a062/64 Fiber-Trunk no
2 DL fe80::a55:31ff:feac:a062/64 ether1 no
3 DL fe80::a55:31ff:feac:a06c/64 Level2 no
4 DL fe80::a55:31ff:feac:a06c/64 Level3 no
5 DL fe80::a55:31ff:feac:a06c/64 MGMT no
6 DL fe80::a55:31ff:feac:a06c/64 sfp-sfpplus1 no
7 DL fe80::a55:31ff:feac:a06c/64 Level1 no
8 DL fe80::a55:31ff:feac:a064/64 ether3 no
/ipv6 dhcp-relay
add dhcp-server=xxxx:cac0::1%Fiber-Trunk interface=Level3 link-address=\
fe80::a55:31ff:feac:a06c name=Level3
/routing ospf-v3 instance print
0 * name="default" router-id=0.0.0.0 distribute-default=never redistribute-connected=as-type-2 redistribute-static=no
redistribute-rip=no redistribute-bgp=no redistribute-other-ospf=no metric-default=1 metric-connected=20 metric-static=20
metric-rip=20 metric-bgp=auto metric-other-ospf=auto
/routing ospf-v3 interface
add area=backbone interface=Fiber-Trunk
-Jonah