Cisco IPv6: Dynamic Tunnel IPv6: Difference between revisions

From OnnoCenterWiki
Jump to navigationJump to search
Created page with "R1, enable configure terminal interface Ethernet 1/0 no shutdown ip address 12.12.12.1 255.255.255.0 exit interface Ethernet 1/1 no shutdown ip address 13.13.13.1..."
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[File:Dynamic-6to4-cisco.png|center|400px|thumb]]
R1,
R1,
  enable  
  enable  
Line 12: Line 15:
  exit
  exit
   
   
interface Ethernet 1/2
no shutdown
ip address 14.14.14.1 255.255.255.0
exit
  router ospf 1
  router ospf 1
  network 12.12.12.0 0.0.0.255 area 0  
  network 12.12.12.0 0.0.0.255 area 0  
  network 13.13.13.0 0.0.0.255 area 0
  network 13.13.13.0 0.0.0.255 area 0
network 14.14.14.0 0.0.0.255 area 0
  exit
  exit


Line 49: Line 58:
  router ospf 1
  router ospf 1
  network 13.13.13.0 0.0.0.255 area 0
  network 13.13.13.0 0.0.0.255 area 0
exit
R4,
enable
configure terminal
interface Ethernet 1/0
no shutdown
ip address 14.14.14.4 255.255.255.0
exit
interface Ethernet 1/1
no shutdown
ipv6 address 2001:7:8:9::1/64
exit
router ospf 1
network 14.14.14.0 0.0.0.255 area 0
  exit  
  exit  


Selanjutnya kita konfigurasikan 6to4 tunnel pada R2 dan R3
Selanjutnya kita konfigurasikan 6to4 tunnel pada R2 dan R3
Perhitungan IPv6 address-nya bisa di bantu dengan https://www.calculator.net/ip-subnet-calculator.html


R2,
R2,
Line 63: Line 90:
  interface tunnel0
  interface tunnel0
  ipv6 address 2002:0d0d:0d03::3/64  
  ipv6 address 2002:0d0d:0d03::3/64  
tunnel source Ethernet 1/0
tunnel mode ipv6ip 6to4
exit
R4,
interface tunnel0
ipv6 address 2002:0e0e:0e04::4/64
  tunnel source Ethernet 1/0
  tunnel source Ethernet 1/0
  tunnel mode ipv6ip 6to4  
  tunnel mode ipv6ip 6to4  
Line 74: Line 108:
  ipv6 route 2002::/16 tunnel 0
  ipv6 route 2002::/16 tunnel 0
  ipv6 route 2001:4:5:6::/64 2002:0d0d:0d03::3
  ipv6 route 2001:4:5:6::/64 2002:0d0d:0d03::3
ipv6 route 2001:7:8:9::/64 2002:0e0e:0e04::4


R3
R3
Line 79: Line 114:
  ipv6 route 2002::/16 tunnel 0
  ipv6 route 2002::/16 tunnel 0
  ipv6 route 2001:1:2:3::/64 2002:0c0c:0c02::2
  ipv6 route 2001:1:2:3::/64 2002:0c0c:0c02::2
ipv6 route 2001:7:8:9::/64 2002:0e0e:0e04::4
R4,
ipv6 unicast-routing
ipv6 route 2002::/16 tunnel 0
ipv6 route 2001:1:2:3::/64 2002:0c0c:0c02::2
ipv6 route 2001:4:5:6::/64 2002:0d0d:0d03::3


Cek
Cek
Line 86: Line 130:
  do show ipv6 route
  do show ipv6 route
  do ping 2001:4:5:6::1
  do ping 2001:4:5:6::1
do ping 2001:7:8:9::1


R3
R3
Line 91: Line 136:
  do show ipv6 route
  do show ipv6 route
  do ping 2001:1:2:3::1
  do ping 2001:1:2:3::1
do ping 2001:7:8:9::1
R4,
do show interface tunnel 0
do show ipv6 route
do ping 2001:1:2:3::1
do ping 2001:4:5:6::1
do ping 2001:7:8:9::1
Setup Virtual PC
VPC1
  ip 2001:1:2:3::100/64 2001:1:2:3::1
VPC2
  ip 2001:4:5:6::100/64 2001:4:5:6::1
VPC3
  ip 2001:7:8:9::100/64 2001:7:8:9::1
Cek
ping 2001:1:2:3::1
ping 2001:1:2:3::100
ping 2001:4:5:6::1
ping 2001:4:5:6::100
ping 2001:7:8:9::1
ping 2001:7:8:9::100

Latest revision as of 07:40, 16 January 2024


R1,

enable 
configure terminal
interface Ethernet 1/0
no shutdown
ip address 12.12.12.1 255.255.255.0
exit

interface Ethernet 1/1
no shutdown	
ip address 13.13.13.1 255.255.255.0 
exit

interface Ethernet 1/2
no shutdown	
ip address 14.14.14.1 255.255.255.0 
exit
router ospf 1
network 12.12.12.0 0.0.0.255 area 0 
network 13.13.13.0 0.0.0.255 area 0
network 14.14.14.0 0.0.0.255 area 0
exit

R2,

enable 
configure terminal
interface Ethernet 1/0
no shutdown 
ip address 12.12.12.2 255.255.255.0
exit

interface Ethernet 1/1
no shutdown
ipv6 address 2001:1:2:3::1/64
exit

router ospf 1
network 12.12.12.0 0.0.0.255 area 0
exit

R3,

enable 
configure terminal
interface Ethernet 1/0 
no shutdown 
ip address 13.13.13.3 255.255.255.0
exit

interface Ethernet 1/1
no shutdown
ipv6 address 2001:4:5:6::1/64 
exit

router ospf 1
network 13.13.13.0 0.0.0.255 area 0
exit 

R4,

enable 
configure terminal
interface Ethernet 1/0 
no shutdown 
ip address 14.14.14.4 255.255.255.0
exit

interface Ethernet 1/1
no shutdown
ipv6 address 2001:7:8:9::1/64 
exit

router ospf 1
network 14.14.14.0 0.0.0.255 area 0
exit 

Selanjutnya kita konfigurasikan 6to4 tunnel pada R2 dan R3 Perhitungan IPv6 address-nya bisa di bantu dengan https://www.calculator.net/ip-subnet-calculator.html

R2,

interface tunnel 0 
ipv6 address 2002:0c0c:0c02::2/64 
tunnel source Ethernet 1/0 
tunnel mode ipv6ip 6to4 
exit

R3,

interface tunnel0
ipv6 address 2002:0d0d:0d03::3/64 
tunnel source Ethernet 1/0
tunnel mode ipv6ip 6to4 
exit

R4,

interface tunnel0
ipv6 address 2002:0e0e:0e04::4/64 
tunnel source Ethernet 1/0
tunnel mode ipv6ip 6to4 
exit


Set routing

R2,

ipv6 unicast-routing
ipv6 route 2002::/16 tunnel 0
ipv6 route 2001:4:5:6::/64 2002:0d0d:0d03::3
ipv6 route 2001:7:8:9::/64 2002:0e0e:0e04::4

R3

ipv6 unicast-routing
ipv6 route 2002::/16 tunnel 0
ipv6 route 2001:1:2:3::/64 2002:0c0c:0c02::2
ipv6 route 2001:7:8:9::/64 2002:0e0e:0e04::4

R4,

ipv6 unicast-routing
ipv6 route 2002::/16 tunnel 0
ipv6 route 2001:1:2:3::/64 2002:0c0c:0c02::2
ipv6 route 2001:4:5:6::/64 2002:0d0d:0d03::3


Cek

R2

do show interface tunnel 0
do show ipv6 route
do ping 2001:4:5:6::1
do ping 2001:7:8:9::1

R3

do show interface tunnel 0
do show ipv6 route
do ping 2001:1:2:3::1
do ping 2001:7:8:9::1

R4,

do show interface tunnel 0
do show ipv6 route
do ping 2001:1:2:3::1
do ping 2001:4:5:6::1
do ping 2001:7:8:9::1


Setup Virtual PC

VPC1

 ip 2001:1:2:3::100/64 2001:1:2:3::1

VPC2

 ip 2001:4:5:6::100/64 2001:4:5:6::1

VPC3

 ip 2001:7:8:9::100/64 2001:7:8:9::1

Cek

ping 2001:1:2:3::1
ping 2001:1:2:3::100
ping 2001:4:5:6::1
ping 2001:4:5:6::100
ping 2001:7:8:9::1
ping 2001:7:8:9::100