User Tools

Site Tools


documentation:examples:ipv6_only_bgp_ospf_ripng_isis_lab_frrouting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revisionBoth sides next revision
documentation:examples:ipv6_only_bgp_ospf_ripng_isis_lab_frrouting [2020/01/30 11:21] – created fabiendocumentation:examples:ipv6_only_bgp_ospf_ripng_isis_lab_frrouting [2020/05/18 18:01] – add missing configuration part fabien
Line 355: Line 355:
  
 cat > /usr/local/etc/frr/frr.conf <<EOF cat > /usr/local/etc/frr/frr.conf <<EOF
 +frr version 7.2 
 +frr defaults traditional 
 +hostname RIPNG_R2 
 +
 +interface lo0 
 + ipv6 address 2001:db8:1:fff3::2/128 
 +
 +interface vtnet2 
 + ipv6 address 2001:db8:1:3afe::/64 
 + ipv6 nd prefix 2001:db8:1:3afe::/64 
 + ipv6 nd ra-interval 5 
 + no ipv6 nd suppress-ra 
 +
 +router-id 0.0.3.2 
 +
 +router ripng 
 + network vtnet1 
 + network vtnet0 
 + redistribute connected 
 +
 +line vty 
 +!
 EOF EOF
 hostname RIPNG_R2 hostname RIPNG_R2
Line 371: Line 392:
  
 cat > /usr/local/etc/frr/frr.conf <<EOF cat > /usr/local/etc/frr/frr.conf <<EOF
 +frr version 7.2 
 +frr defaults traditional 
 +hostname RIPNG_R3 
 +
 +interface lo0 
 + ipv6 address 2001:db8:1:fff3::3/128 
 +
 +interface vtnet2 
 + ipv6 address 2001:db8:1:ffff::8/127 
 +
 +router-id 0.0.3.3 
 +
 +router ripng 
 + network vtnet1 
 + network vtnet0 
 + redistribute connected 
 + redistribute bgp route-map Exclude_Internal 
 +
 +router bgp 65003 
 + bgp router-id 0.0.3.3 
 + neighbor 2001:db8:1:fff3::1 remote-as 65003 
 + neighbor 2001:db8:1:fff3::1 interface lo0 
 + neighbor 2001:db8:1:ffff::9 remote-as 65002 
 + ! 
 + address-family ipv4 unicast 
 +  no neighbor 2001:db8:1:fff3::1 activate 
 +  no neighbor 2001:db8:1:ffff::9 activate 
 + exit-address-family 
 + ! 
 + address-family ipv6 unicast 
 +  network 2001:db8:1:3afe::/64 
 +  network 2001:db8:1:fff3::/64 
 +  network 2001:db8:1:ffff::8/127 
 +  neighbor 2001:db8:1:fff3::1 activate 
 +  neighbor 2001:db8:1:fff3::1 route-map Tag_Internal in 
 +  neighbor 2001:db8:1:ffff::9 activate 
 +  neighbor 2001:db8:1:ffff::9 prefix-list receive_from_65002 in 
 +  neighbor 2001:db8:1:ffff::9 prefix-list send_to_65002 out 
 +  neighbor 2001:db8:1:ffff::9 route-map IPv6_Set-Nexthop_65002 out 
 + exit-address-family 
 +
 +ipv6 access-list all seq 5 permit any 
 +
 +ipv6 prefix-list receive_from_65002 seq 100 permit any 
 +ipv6 prefix-list send_to_65002 seq 100 permit any 
 +
 +route-map Exclude_Internal deny 65003 
 + match tag 65003 
 +
 +route-map Exclude_Internal permit 65535 
 +
 +route-map IPv6_Set-Nexthop_65002 permit 65535 
 + match ipv6 address all 
 + set ipv6 next-hop peer-address 
 +
 +route-map Tag_Internal permit 65535 
 + match ipv6 address all 
 + set tag 65003 
 +
 +line vty 
 +!
 EOF EOF
 hostname RIPNG_R3 hostname RIPNG_R3
Line 387: Line 468:
  
 cat > /usr/local/etc/frr/frr.conf <<EOF cat > /usr/local/etc/frr/frr.conf <<EOF
 +frr version 7.2 
 +frr defaults traditional 
 +hostname RIPNG_R4 
 +
 +interface lo0 
 + ipv6 address 2001:db8:1:fff3::4/128 
 +
 +router-id 0.0.3.4 
 +
 +router ripng 
 + network vtnet1 
 + network vtnet0 
 + redistribute connected 
 +
 +line vty 
 +!
 EOF EOF
 hostname RIPNG_R4 hostname RIPNG_R4
Line 403: Line 499:
  
 cat > /usr/local/etc/frr/frr.conf <<EOF cat > /usr/local/etc/frr/frr.conf <<EOF
 +frr version 7.2 
 +frr defaults traditional 
 +hostname ISIS_R1 
 +
 +interface lo0 
 + ipv6 address 2001:db8:1:fff2::1/128 
 +
 +interface vtnet0 
 + ipv6 router isis 65002 
 + isis circuit-type level-2-only 
 +
 +interface vtnet1 
 + ipv6 router isis 65002 
 + isis circuit-type level-2-only 
 +
 +interface vtnet2 
 + ipv6 address 2001:db8:1:ffff::10/127 
 +
 +router bgp 65002 
 + bgp router-id 0.0.2.1 
 + neighbor 2001:db8:1:ffff::11 remote-as 65000 
 + ! 
 + address-family ipv4 unicast 
 +  no neighbor 2001:db8:1:ffff::11 activate 
 + exit-address-family 
 + ! 
 + address-family ipv6 unicast 
 +  redistribute connected 
 +  redistribute isis 
 +  neighbor 2001:db8:1:ffff::11 activate 
 +  neighbor 2001:db8:1:ffff::11 prefix-list receive_from_65000 in 
 +  neighbor 2001:db8:1:ffff::11 prefix-list send_to_65000 out 
 +  neighbor 2001:db8:1:ffff::11 route-map IPv6_Set-Nexthop_65000 out 
 + exit-address-family 
 +
 +router isis 65002 
 + is-type level-2-only 
 + net 47.0023.0000.0000.0000.fdea.0000.0000.0000.0201.00 
 + redistribute ipv6 connected level-2 
 + redistribute ipv6 bgp level-2 
 +
 +ipv6 access-list all seq 5 permit any 
 +
 +ipv6 prefix-list receive_from_65000 seq 100 permit any 
 +ipv6 prefix-list send_to_65000 seq 100 permit any 
 +
 +route-map Exclude_Internal deny 65002 
 + match tag 65002 
 +
 +route-map Exclude_Internal permit 65535 
 +
 +route-map IPv6_Set-Nexthop_65000 permit 65535 
 + match ipv6 address all 
 + set ipv6 next-hop peer-address 
 +
 +route-map Tag_Internal permit 65535 
 + match ipv6 address all 
 + set tag 65002 
 +
 +line vty 
 +!
 EOF EOF
 hostname ISIS_R1 hostname ISIS_R1
Line 419: Line 575:
  
 cat > /usr/local/etc/frr/frr.conf <<EOF cat > /usr/local/etc/frr/frr.conf <<EOF
 +frr version 7.2 
 +frr defaults traditional 
 +hostname ISIS_R2 
 +
 +interface lo0 
 + ipv6 address 2001:db8:1:fff2::2/128 
 +
 +interface vtnet0 
 + ipv6 router isis 65002 
 + isis circuit-type level-2-only 
 +
 +interface vtnet1 
 + ipv6 router isis 65002 
 + isis circuit-type level-2-only 
 +
 +interface vtnet2 
 + ipv6 address 2001:db8:1:2afe::/64 
 + ipv6 nd prefix 2001:db8:1:2afe::/64 
 + ipv6 nd ra-interval 5 
 + no ipv6 nd suppress-ra 
 +
 +router isis 65002 
 + is-type level-2-only 
 + net 47.0023.0000.0000.0000.fdea.0000.0000.0000.0202.00 
 + redistribute ipv6 connected level-2 
 +
 +line vty 
 +!
 EOF EOF
 hostname ISIS_R2 hostname ISIS_R2
Line 435: Line 618:
  
 cat > /usr/local/etc/frr/frr.conf <<EOF cat > /usr/local/etc/frr/frr.conf <<EOF
 +frr version 7.2 
 +frr defaults traditional 
 +hostname ISIS_R3 
 +
 +interface lo0 
 + ipv6 address 2001:db8:1:fff2::3/128 
 +
 +interface vtnet0 
 + ipv6 router isis 65002 
 + isis circuit-type level-2-only 
 +
 +interface vtnet1 
 + ipv6 router isis 65002 
 + isis circuit-type level-2-only 
 +
 +interface vtnet2 
 + ipv6 address 2001:db8:1:ffff::9/127 
 + shutdown 
 +
 +router bgp 65002 
 + bgp router-id 0.0.2.3 
 + neighbor 2001:db8:1:ffff::8 remote-as 65003 
 + ! 
 + address-family ipv4 unicast 
 +  no neighbor 2001:db8:1:ffff::8 activate 
 + exit-address-family 
 + ! 
 + address-family ipv6 unicast 
 +  redistribute connected 
 +  redistribute isis 
 +  neighbor 2001:db8:1:ffff::8 activate 
 +  neighbor 2001:db8:1:ffff::8 prefix-list receive_from_65003 in 
 +  neighbor 2001:db8:1:ffff::8 prefix-list send_to_65003 out 
 +  neighbor 2001:db8:1:ffff::8 route-map IPv6_Set-Nexthop_65003 out 
 + exit-address-family 
 +
 +router isis 65002 
 + is-type level-2-only 
 + net 47.0023.0000.0000.0000.fdea.0000.0000.0000.0203.00 
 + default-information originate ipv6 level-2 
 + redistribute ipv6 connected level-2 
 + redistribute ipv6 bgp level-2 
 +
 +ipv6 access-list all seq 5 permit any 
 +
 +ipv6 prefix-list receive_from_65003 seq 100 permit any 
 +ipv6 prefix-list send_to_65003 seq 100 permit any 
 +
 +route-map Exclude_Internal deny 65002 
 + match tag 65002 
 +
 +route-map Exclude_Internal permit 65535 
 +
 +route-map IPv6_Set-Nexthop_65003 permit 65535 
 + match ipv6 address all 
 + set ipv6 next-hop peer-address 
 +
 +route-map Tag_Internal permit 65535 
 + match ipv6 address all 
 + set tag 65002 
 +
 +line vty 
 +!
 EOF EOF
 hostname ISIS_R3 hostname ISIS_R3
Line 451: Line 696:
  
 cat > /usr/local/etc/frr/frr.conf <<EOF cat > /usr/local/etc/frr/frr.conf <<EOF
 +frr version 7.2 
 +frr defaults traditional 
 +hostname ISIS_R4 
 +
 +interface lo0 
 + ipv6 address 2001:db8:1:fff2::4/128 
 +
 +interface vtnet0 
 + ipv6 router isis 65002 
 + isis circuit-type level-2-only 
 +
 +interface vtnet1 
 + ipv6 router isis 65002 
 + isis circuit-type level-2-only 
 +
 +router isis 65002 
 + is-type level-2-only 
 + net 47.0023.0000.0000.0000.fdea.0000.0000.0000.0204.00 
 + redistribute ipv6 connected level-2 
 +
 +line vty 
 +!
 EOF EOF
 hostname ISIS_R4 hostname ISIS_R4
Line 465: Line 731:
  
 cat > /usr/local/etc/frr/frr.conf <<EOF cat > /usr/local/etc/frr/frr.conf <<EOF
 +frr version 7.2 
 +frr defaults traditional 
 +hostname BGP_R1 
 +
 +interface lo0 
 + ipv6 address 2001:db8:1:fff0::1/128 
 +
 +interface vtnet0 
 + ipv6 address 2001:db8:1::1/64 
 +
 +interface vtnet1 
 + ipv6 address 2001:db8:1:ffff::4/127 
 +
 +interface vtnet2 
 + ipv6 address 2001:db8:1:ffff::1/127 
 +
 +router bgp 65000 
 + bgp router-id 0.0.0.1 
 + neighbor 2001:db8:1::2 remote-as 65000 
 + neighbor 2001:db8:1::3 remote-as 65000 
 + neighbor 2001:db8:1::4 remote-as 65000 
 + neighbor 2001:db8:1:ffff:: remote-as 65500 
 + neighbor 2001:db8:1:ffff::5 remote-as 65001 
 + ! 
 + address-family ipv4 unicast 
 +  no neighbor 2001:db8:1::2 activate 
 +  no neighbor 2001:db8:1::3 activate 
 +  no neighbor 2001:db8:1::4 activate 
 +  no neighbor 2001:db8:1:ffff:: activate 
 +  no neighbor 2001:db8:1:ffff::5 activate 
 + exit-address-family 
 + ! 
 + address-family ipv6 unicast 
 +  redistribute connected 
 +  neighbor 2001:db8:1::2 activate 
 +  neighbor 2001:db8:1::3 activate 
 +  neighbor 2001:db8:1::4 activate 
 +  neighbor 2001:db8:1:ffff:: activate 
 +  neighbor 2001:db8:1:ffff:: prefix-list receive_from_65500 in 
 +  neighbor 2001:db8:1:ffff:: prefix-list send_to_65500 out 
 +  neighbor 2001:db8:1:ffff:: route-map IPv6_Set-Nexthop_65500 out 
 +  neighbor 2001:db8:1:ffff::5 activate 
 +  neighbor 2001:db8:1:ffff::5 prefix-list receive_from_65001 in 
 +  neighbor 2001:db8:1:ffff::5 prefix-list send_to_65001 out 
 +  neighbor 2001:db8:1:ffff::5 route-map IPv6_Set-Nexthop_65001 out 
 + exit-address-family 
 +
 +ipv6 access-list all seq 5 permit any 
 +
 +ipv6 prefix-list receive_from_65001 seq 100 permit any 
 +ipv6 prefix-list receive_from_65500 seq 100 permit any 
 +ipv6 prefix-list send_to_65001 seq 100 permit any 
 +ipv6 prefix-list send_to_65500 seq 100 permit any 
 +
 +route-map IPv6_Set-Nexthop_65001 permit 65535 
 + match ipv6 address all 
 + set ipv6 next-hop peer-address 
 +
 +route-map IPv6_Set-Nexthop_65500 permit 65535 
 + match ipv6 address all 
 + set ipv6 next-hop peer-address 
 +
 +line vty 
 +!
 EOF EOF
 hostname BGP_R1 hostname BGP_R1
Line 479: Line 808:
  
 cat > /usr/local/etc/frr/frr.conf <<EOF cat > /usr/local/etc/frr/frr.conf <<EOF
 +frr version 7.2 
 +frr defaults traditional 
 +hostname BGP_R2 
 +
 +interface lo0 
 + ipv6 address 2001:db8:1:fff0::2/128 
 +
 +interface vtnet0 
 + ipv6 address 2001:db8:1::2/64 
 +
 +interface vtnet1 
 + ipv6 address 2001:db8:1:afe::/64 
 + ipv6 nd prefix 2001:db8:1:afe::/64 
 + ipv6 nd ra-interval 5 
 + no ipv6 nd suppress-ra 
 +
 +router bgp 65000 
 + bgp router-id 0.0.0.2 
 + neighbor 2001:db8:1::1 remote-as 65000 
 + neighbor 2001:db8:1::3 remote-as 65000 
 + neighbor 2001:db8:1::4 remote-as 65000 
 + ! 
 + address-family ipv4 unicast 
 +  no neighbor 2001:db8:1::1 activate 
 +  no neighbor 2001:db8:1::3 activate 
 +  no neighbor 2001:db8:1::4 activate 
 + exit-address-family 
 + ! 
 + address-family ipv6 unicast 
 +  redistribute connected 
 +  neighbor 2001:db8:1::1 activate 
 +  neighbor 2001:db8:1::3 activate 
 +  neighbor 2001:db8:1::4 activate 
 + exit-address-family 
 +
 +ipv6 access-list all seq 5 permit any 
 +
 +line vty 
 +!
 EOF EOF
 hostname BGP_R2 hostname BGP_R2
Line 493: Line 860:
  
 cat > /usr/local/etc/frr/frr.conf <<EOF cat > /usr/local/etc/frr/frr.conf <<EOF
 +frr version 7.2 
 +frr defaults traditional 
 +hostname BGP_R3 
 +
 +interface lo0 
 + ipv6 address 2001:db8:1:fff0::3/128 
 +
 +interface vtnet0 
 + ipv6 address 2001:db8:1::3/64 
 +
 +interface vtnet1 
 + ipv6 address 2001:db8:1:ffff::11/127 
 +
 +router bgp 65000 
 + bgp router-id 0.0.0.3 
 + neighbor 2001:db8:1::1 remote-as 65000 
 + neighbor 2001:db8:1::2 remote-as 65000 
 + neighbor 2001:db8:1::4 remote-as 65000 
 + neighbor 2001:db8:1:ffff::10 remote-as 65002 
 + ! 
 + address-family ipv4 unicast 
 +  no neighbor 2001:db8:1::1 activate 
 +  no neighbor 2001:db8:1::2 activate 
 +  no neighbor 2001:db8:1::4 activate 
 +  no neighbor 2001:db8:1:ffff::10 activate 
 + exit-address-family 
 + ! 
 + address-family ipv6 unicast 
 +  redistribute connected 
 +  neighbor 2001:db8:1::1 activate 
 +  neighbor 2001:db8:1::2 activate 
 +  neighbor 2001:db8:1::4 activate 
 +  neighbor 2001:db8:1:ffff::10 activate 
 +  neighbor 2001:db8:1:ffff::10 prefix-list receive_from_65002 in 
 +  neighbor 2001:db8:1:ffff::10 prefix-list send_to_65002 out 
 +  neighbor 2001:db8:1:ffff::10 route-map IPv6_Set-Nexthop_65002 out 
 + exit-address-family 
 +
 +ipv6 access-list all seq 5 permit any 
 +
 +ipv6 prefix-list receive_from_65002 seq 100 permit any 
 +ipv6 prefix-list send_to_65002 seq 100 permit any 
 +
 +route-map IPv6_Set-Nexthop_65002 permit 65535 
 + match ipv6 address all 
 + set ipv6 next-hop peer-address 
 +
 +line vty 
 +!
 EOF EOF
 hostname BGP_R3 hostname BGP_R3
Line 507: Line 922:
  
 cat > /usr/local/etc/frr/frr.conf <<EOF cat > /usr/local/etc/frr/frr.conf <<EOF
 +frr version 7.2 
 +frr defaults traditional 
 +hostname BGP_R4 
 +
 +interface lo0 
 + ipv6 address 2001:db8:1:fff0::4/128 
 +
 +interface vtnet0 
 + ipv6 address 2001:db8:1::4/64 
 +
 +router bgp 65000 
 + bgp router-id 0.0.0.4 
 + neighbor 2001:db8:1::1 remote-as 65000 
 + neighbor 2001:db8:1::2 remote-as 65000 
 + neighbor 2001:db8:1::3 remote-as 65000 
 + ! 
 + address-family ipv4 unicast 
 +  no neighbor 2001:db8:1::1 activate 
 +  no neighbor 2001:db8:1::2 activate 
 +  no neighbor 2001:db8:1::3 activate 
 + exit-address-family 
 + ! 
 + address-family ipv6 unicast 
 +  redistribute connected 
 +  neighbor 2001:db8:1::1 activate 
 +  neighbor 2001:db8:1::2 activate 
 +  neighbor 2001:db8:1::3 activate 
 + exit-address-family 
 +
 +ipv6 access-list all seq 5 permit any 
 +
 +line vty 
 +!
 EOF EOF
 hostname BGP_R4 hostname BGP_R4
documentation/examples/ipv6_only_bgp_ospf_ripng_isis_lab_frrouting.txt · Last modified: 2021/02/19 17:17 by fabien

Except where otherwise noted, content on this wiki is licensed under the following license: BSD 2-Clause
Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki