본문 바로가기

Network

IPv6 OSPF Routing LAB

   

   

   

화면 캡처: 2008-07-17, 오후 4:40

   

위의 토폴로지를 ipv6 망으로 구현하기

   

우선 각 Router들의 총체적인 configuration 정보들을 확인하면

   

V6R1

V6R2

V6R3

interface FastEthernet0/0

ip address 10.10.2.1 255.255.255.0

duplex auto

speed auto

ipv6 address 2001:1:2::/64 eui-64

ipv6 enable

ipv6 ospf 222 area 0

!

interface FastEthernet0/1

ip address 10.10.1.1 255.255.255.0

duplex auto

speed auto

ipv6 address 2001:1:1::/64 eui-64

   

ipv6 route ::/0 FastEthernet0/1

ipv6 router ospf 222

router-id 10.10.2.1

  

interface FastEthernet0/0

ip address 10.10.2.2 255.255.255.0

duplex auto

speed auto

ipv6 address 2001:1:2::/64 eui-64

ipv6 enable

!

interface Serial1/0

bandwidth 1024

ip address 10.10.4.1 255.255.255.0

encapsulation ppp

ipv6 address 2001:1:4::/64 eui-64

ipv6 ospf 222 area 0

no fair-queue

serial restart-delay 0

!

interface Serial1/1

bandwidth 1024

ip address 10.10.3.1 255.255.255.0

encapsulation ppp

ipv6 address 2001:1:3::/64 eui-64

ipv6 enable

ipv6 ospf 222 area 0

serial restart-delay 0

!

ipv6 router ospf 222

router-id 10.10.2.2

log-adjacency-changes

   

  

interface Loopback0

ip address 10.10.5.1 255.255.255.0

ipv6 address 2001:1:5::/64 eui-64

ipv6 enable

ipv6 ospf 222 area 1

!

interface Serial1/0

bandwidth 1024

ip address 10.10.3.2 255.255.255.0

encapsulation ppp

ipv6 address 2001:1:3::/64 eui-64

ipv6 enable

ipv6 ospf 222 area 0

no fair-queue

serial restart-delay 0

!

interface Serial1/1

bandwidth 1024

ip address 10.10.7.1 255.255.255.0

encapsulation ppp

ipv6 address 2001:1:7::/64 eui-64

ipv6 enable

ipv6 ospf 222 area 1

serial restart-delay 0

!

ipv6 router ospf 222

router-id 10.10.5.1

log-adjacency-changes

  

V6R4

V6R5

  

interface Loopback0

ip address 10.10.6.1 255.255.255.0

ipv6 address 2001:1:6::/64 eui-64

ipv6 enable

ipv6 ospf 222 area 1

!

interface Serial1/0

bandwidth 1024

ip address 10.10.4.2 255.255.255.0

encapsulation ppp

ipv6 address 2001:1:4::/64 eui-64

ipv6 ospf 222 area 0

no fair-queue

serial restart-delay 0

!

interface Serial1/1

bandwidth 1024

ip address 10.10.8.1 255.255.255.0

encapsulation ppp

ipv6 address 2001:1:8::/64 eui-64

ipv6 enable

ipv6 ospf 222 area 1

serial restart-delay 0

ipv6 router ospf 222

router-id 10.10.6.1

log-adjacency-changes

!

interface Loopback0

ip address 10.10.9.1 255.255.255.0

ipv6 address 2001:1:9::/64 eui-64

ipv6 enable

ipv6 ospf 222 area 1

!

interface Serial1/0

bandwidth 1024

ip address 10.10.8.2 255.255.255.0

encapsulation ppp

ipv6 address 2001:1:8::/64 eui-64

ipv6 enable

ipv6 ospf 222 area 1

no fair-queue

serial restart-delay 0

!

interface Serial1/1

bandwidth 1024

ip address 10.10.7.2 255.255.255.0

encapsulation ppp

ipv6 address 2001:1:7::/64 eui-64

ipv6 enable

ipv6 ospf 222 area 1

serial restart-delay 0

!

ipv6 router ospf 222

router-id 10.10.9.1

log-adjacency-changes

  

위와 같다.

   

구성모드에서

ipv6 router ospf <OSPF No.>

router-id <router-id>

를 입력해주고

   

OSPF 프로토콜을 적용해 줄 각 인터페이스에서

ipv6 ospf <OSPF No.> area <AREA No.>

   

만 입력해주면 된다.

   

그럼 자동으로 OSPF 프로토콜이 DB를 동기화하고 업데이트하여 관리하게 된다.

   

'Network' 카테고리의 다른 글