cisco ipv6 구성 예시
< 라우터 R1 >
ipv6 unicast-routing
!--- IPv6 활성화
interface Loopback1
no ip address
ipv6 address 1010::1/128
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
ipv6 address 2000::1/126
!
ipv6 route 2001::/126 2000::2
ipv6 route 2020::1/128 2000::2
ipv6 route 3030::1/128 2000::2
!
end
< 라우터 R2 >
ipv6 unicast-routing
!
interface Loopback2
no ip address
ipv6 address 2020::1/128
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
ipv6 address 2000::2/126
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
ipv6 address 2001::1/126
!
ipv6 route 1010::1/128 2000::1
ipv6 route 3030::1/128 2001::2
end
< 라우터 R3 >
ipv6 unicast-routing
!
interface Loopback3
no ip address
ipv6 address 3030::1/128
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
ipv6 address 2001::2/126
!
ipv6 route 1010::1/128 2001::1
ipv6 route 2000::/126 2001::1
ipv6 route 2020::1/128 2001::1
end
< 라우터 R1에서 라우터 R3의 Lo3 으로 핑 테스트 >
R1#ping 3030::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3030::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/32/84 ms