Contents

IPv6 autoconfig, BGP

   Feb 27, 2023     1 min read

Router IPv6 주소 구성

  • ipv6 address ipv6-address/64
  • ipv6 address ipv6-prefix/64 eui-64
  • ipv6 address ipv6-address link-local
  • ipv6 address ipv6-address/64 anycast

  • ipv6 address autoconfig

  • 자신과 연결된 Router에게 Router의 Network 정보를 요청, 이때 Network 정보를 준 Router로 Default를 설정

Ex.

사진첨부

방법

vIOS)

ipv6 unicast-routing

int g0/0
ipv6 enable
ipv6 address 2011::2/64
no shutdown

int g0/1
ipv6 enable
ipv6 address 2022::2/64 
ipv6 address autoconfig
no shutdown



결과

W3)

cmd에서 ipconfig /all

사진첨부

IPv6 address 2022:XXXXX 보인다.


IPv6 BGP

사진첨부

방법

R3)

router bgp 100
bgp router-id 3.3.3.3
neighbor 2012::1 remote-as 100
neighbor 2023::2 remote-as 100
neighbor 2034::4 remote-as 200
address-family ipv6
neighbor 2012::1 activate 
neighbor 2023::2 activate 
neighbor 2034::4 activate 
network 2033::/64



R4)

router bgp 200
bgp router-id 4.4.4.4
neighbor 2034::3 remote-as 100
neighbor 2045::5 remote-as 200
address-family ipv6
neighbor 2034::3 activate 
neighbor 2045::5 activate 
neighbor 2045::5 next-hop-self
network 2044::/64



R5)

router bgp 200
bgp router-id 5.5.5.5
neighbor 2045::4 remote-as 200
neighbor 2056::6 remote-as 200
address-family ipv6
neighbor 2045::4 activate 
neighbor 2056::6 activate 
neighbor 2045::4 route-reflector-client 
neighbor 2045::6 route-reflector-client 
network 2055:/64



R7)

router bgp 10
bgp router-id 7.7.7.7
bgp confederation identifier 300
bgp confederation peers 20
neighbor 2067::6 remote-as 200
neighbor 2078::8 remote-as 20
address-family ipv6
neighbor 2067::6 activate 
neighbor 2078::8 activate 
network 2077::/64



결과

사진첨부

사진첨부


참고

  • 기존의 BGP가 제공하는 IPv4 Unicast 정보 외에도 Multicast, VPN, IPv6 정보까지 라우팅 시키도록 개선된 프로토콜이다.