Transcript
Page 1: Cisco CCNA  IPV6 Static Configuration

CISCO CCNA IPV6 Static Configuration

To watch our Cisco CCNA Video Trainings Please Check out the link below:www.asmed.com/c1

ASM EDUCATIONAL CENTER INC. (ASM)WHERE TRAINING, TECHNOLOGY & SERVICE CONVERGE

PHONE: (301) 984-7400ROCKVILLE,MD

Page 2: Cisco CCNA  IPV6 Static Configuration

IPV6 Static Configuration

Page 3: Cisco CCNA  IPV6 Static Configuration

IPV6 Static Configuration Now I will do small Lab: The Goal is that seated at R4 be able to ping all the loopback of R10 , in order to do this , we will cover Static Route.

R4=10.10.10.4 R10=10.10.10.10 connected via LAN link Also I will have IPV6 as follow: r4 f0/0=2001:4444::4/64 r10 f0/0=2001:4444::10/64

Page 4: Cisco CCNA  IPV6 Static Configuration

IPV6 Static Configuration In here we have R4 and R10 with the following: Here is:

R4#Show run interface FastEthernet0/0 ip address 10.10.10.4 255.255.255.0 duplex auto speed auto ipv6 address 2001:4444::4/64

Page 5: Cisco CCNA  IPV6 Static Configuration

IPV6 Static Configuration Here is R10 with so many loopback address: interface Loopback0 ip address 100.100.100.100 255.255.255.0 ! interface Loopback1 no ip address ipv6 address FEC0:1000::1/128 ! interface Loopback2 no ip address ipv6 address FEC0:1000::2/128 !

Page 6: Cisco CCNA  IPV6 Static Configuration

IPV6 Static Configuration interface Loopback3 no ip address ipv6 address FEC0:1000::3/128 ! interface Loopback4 no ip address ipv6 address FEC0:1000::4/128 ! interface FastEthernet0/0 ip address 10.10.10.10 255.255.255.0 duplex auto speed auto ipv6 address 2001:4444::10/64

Page 7: Cisco CCNA  IPV6 Static Configuration

IPV6 Static Configuration Right now when i go to R4#show ipv6 route i do not see the loopback from R10 why? Since i need to run do ipv6 Static Route R4#show ipv6 route IPv6 Routing Table – 3 entries Codes: C – Connected, L – Local, S – Static, R – RIP, B – BGP U – Per-user Static route, M – MIPv6 I1 – ISIS L1, I2 – ISIS L2, IA – ISIS interarea, IS – ISIS summary O – OSPF intra, OI – OSPF inter, OE1 – OSPF ext 1, OE2 – OSPF ext 2 ON1 – OSPF NSSA ext 1, ON2 – OSPF NSSA ext 2 D – EIGRP, EX – EIGRP external C 2001:4444::/64 [0/0] via ::, FastEthernet0/0 L 2001:4444::4/128 [0/0] via ::, FastEthernet0/0 L FF00::/8 [0/0] via ::, Null0

Page 8: Cisco CCNA  IPV6 Static Configuration

IPV6 Static Configuration So remember you need enable unicast-routing Hint: on global Configuration start with IPV6? Here is my configuration on R4#

Step 1) Enable Unicast-routing on R4 R4#config t Enter configuration commands, one per line. End with CNTL/Z. R4(config)#ipv R4(config)#ipv6 ? access-list Configure access lists cef Cisco Express Forwarding dhcp Configure Ipv6 DHCP

Page 9: Cisco CCNA  IPV6 Static Configuration

IPV6 Static Configuration general-prefix Configure a general IPv6 prefix host Configure static hostnames inspect Context-based Access Control Engine local Specify local options nat NAT-PT Configuration commands neighbor Neighbor route Configure static routes router Enable an IPV6 routing process unicast-routing Enable unicast routing R4(config)#ipv6 unicast-routing

Page 10: Cisco CCNA  IPV6 Static Configuration

IPV6 Static Configuration Step 2) Now I will configure Static Route, in here I need to put the destination Network inside my R4 router

That is I need to have: ipv6 route FEC0:1000::1/128 2001:4444::10 Destination Network (Next Hop address) We must do above commands for all Loopback address , since the goal is that seated at R4 I should be able to ping all loopback address located on R10 ipv6 route FEC0:1000::2/128 2001:4444::10 ipv6 route FEC0:1000::3/128 2001:4444::10 ipv6 route FEC0:1000::4/128 2001:4444::10

Page 11: Cisco CCNA  IPV6 Static Configuration

IPV6 Static Configuration Now we will configure it on R4 (using the ? mark) R4#config t Enter configuration commands, one per line. End with CNTL/Z. R4(config)#ipv6 ? access-list Configure access lists cef Cisco Express Forwarding dhcp Configure Ipv6 DHCP general-prefix Configure a general IPv6 prefix host Configure static hostnames inspect Context-based Access Control Engine local Specify local options nat NAT-PT Configuration commands

Page 12: Cisco CCNA  IPV6 Static Configuration

IPV6 Static Configuration neighbor Neighbor route Configure static routes router Enable an IPV6 routing process unicast-routing Enable unicast routing R4(config)#ipv6 route ? X:X:X:X::X/<0-128> IPv6 prefix R4(config)#ipv6 route FEC0:1000::1/128 ? Ethernet IEEE 802.3 FastEthernet FastEthernet IEEE 802.3 GigabitEthernet GigabitEthernet IEEE 802.3z Loopback Loopback interface Serial Serial Vlan Catalyst Vlans X:X:X:X::X IPv6 address of next-hop

Page 13: Cisco CCNA  IPV6 Static Configuration

IPV6 Static Configuration R4(config)#ipv6 route FEC0:1000::1/128 2001:4444::10 ? <1-254> Administrative distance <cr> R4(config)#ipv6 route FEC0:1000::1/128 2001:4444::10 R4(config)# Now I will just use up arrow key and put the rest of loopback network R4(config)#ipv6 route FEC0:1000::1/128 2001:4444::10 R4(config)# R4(config)# R4(config)#ipv6 route FEC0:1000::2/128 2001:4444::10 R4(config)#ipv6 route FEC0:1000::3/128 2001:4444::10 R4(config)#ipv6 route FEC0:1000::4/128 2001:4444::10

Page 14: Cisco CCNA  IPV6 Static Configuration

IPV6 Static Configuration Here is my show run so far on R4# R4#show run ipv6 unicast-routing ! ! ! ipv6 route FEC0:1000::1/128 2001:4444::10 ipv6 route FEC0:1000::2/128 2001:4444::10 ipv6 route FEC0:1000::3/128 2001:4444::10 ipv6 route FEC0:1000::4/128 2001:4444::10 !

Page 15: Cisco CCNA  IPV6 Static Configuration

IPV6 Static Configuration Now If I try to ping from R4 to the loopback address of R10 , it will work . R4#ping FEC0:1000::1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to FEC0:1000::1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/0 ms R4#ping FEC0:1000::2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to FEC0:1000::2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/1 ms R4#ping FEC0:1000::3

Page 16: Cisco CCNA  IPV6 Static Configuration

IPV6 Static Configuration Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to FEC0:1000::3, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/0 ms R4#ping FEC0:1000::4 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to FEC0:1000::4, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 0/1/8 ms But if I had some loopback address on the R4 , then R10 can not ping that loopback address , we can use same concept as above or I Can show you the concept of Default route.

I go to R4 and create one Loopback address on R4#

Page 17: Cisco CCNA  IPV6 Static Configuration

IPV6 Static Configuration R4#config t Enter configuration commands, one per line. End with CNTL/Z. R4(config)#int loopback 1 R4(config-if)#ipv6 address FEC0:4000::1/128 R4(config-if)# R4(config-if)#int loopback 2 R4(config-if)#ipv6 address FEC0:4000::2/128 R10#

Page 18: Cisco CCNA  IPV6 Static Configuration

IPV6 Static Configuration Step 3) Hint: remember to enable IPV6 unicast-routing on R10 R10#config t Enter configuration commands, one per line. End with CNTL/Z. R10(config)#ipv R10(config)#ipv6 un R10(config)#ipv6 ? access-list Configure access lists cef Cisco Express Forwarding dhcp Configure Ipv6 DHCP general-prefix Configure a general IPv6 prefix host Configure static hostnames

Page 19: Cisco CCNA  IPV6 Static Configuration

IPV6 Static Configuration inspect Context-based Access Control Engine local Specify local options nat NAT-PT Configuration commands neighbor Neighbor route Configure static routes router Enable an IPV6 routing process unicast-routing Enable unicast routing R10(config)#ipv6 uni R10(config)#ipv6 unicast-routing R10(config)#

Page 20: Cisco CCNA  IPV6 Static Configuration

IPV6 Static Configuration Step 4) Now I will do Default route on R10 and I will use next hop address R10# ipv6 route ::/0 2001:4444::4 Hint: for default route in Ipv4 we use 0.0.0.0 0.0.0.0 but for Ipv6 we will use ::/0

R10#config t Enter configuration commands, one per line. End with CNTL/Z. R10(config)#ipv R10(config)#ipv6 ? access-list Configure access lists cef Cisco Express Forwarding dhcp Configure Ipv6 DHCP general-prefix Configure a general IPv6 prefix

Page 21: Cisco CCNA  IPV6 Static Configuration

IPV6 Static Configuration host Configure static hostnames inspect Context-based Access Control Engine local Specify local options nat NAT-PT Configuration commands neighbor Neighbor route Configure static routes router Enable an IPV6 routing process unicast-routing Enable unicast routing R10(config)#ipv6 rout R10(config)#ipv6 route ? X:X:X:X::X/<0-128> IPv6 prefix R10(config)#ipv6 route ::/0 ? Ethernet IEEE 802.3 FastEthernet FastEthernet IEEE 802.3 GigabitEthernet GigabitEthernet IEEE 802.3z Loopback Loopback interface

Page 22: Cisco CCNA  IPV6 Static Configuration

IPV6 Static Configuration Serial Serial Vlan Catalyst Vlans X:X:X:X::X IPv6 address of next-hopR10(config)#ipv6 route ::/0 2001:4444::4

R10(config)# Here is my Show run on R10# ipv6 unicast-routing ipv6 route ::/0 2001:4444::4 Now seated on R10 I should be able to ping the Loopback address of R4 R10#ping FEC0:4000::1

Page 23: Cisco CCNA  IPV6 Static Configuration

IPV6 Static Configuration Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to FEC0:4000::1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/1 ms R10#ping FEC0:4000::2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to FEC0:4000::2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/0 ms R10#

Page 24: Cisco CCNA  IPV6 Static Configuration

IPV6 Static Configuration Here is show Ipv6 route on R4 and R10 R4#show ipv6 route IPv6 Routing Table – 9 entries Codes: C – Connected, L – Local, S – Static, R – RIP, B – BGP U – Per-user Static route, M – MIPv6 I1 – ISIS L1, I2 – ISIS L2, IA – ISIS interarea, IS – ISIS summary O – OSPF intra, OI – OSPF inter, OE1 – OSPF ext 1, OE2 – OSPF ext 2 ON1 – OSPF NSSA ext 1, ON2 – OSPF NSSA ext 2 D – EIGRP, EX – EIGRP external C 2001:4444::/64 [0/0] via ::, FastEthernet0/0 L 2001:4444::4/128 [0/0] via ::, FastEthernet0/0

Page 25: Cisco CCNA  IPV6 Static Configuration

IPV6 Static Configuration S FEC0:1000::1/128 [1/0] via 2001:4444::10 S FEC0:1000::2/128 [1/0] via 2001:4444::10 S FEC0:1000::3/128 [1/0] via 2001:4444::10 S FEC0:1000::4/128 [1/0] via 2001:4444::10 C FEC0:4000::1/128 [0/0] via ::, Loopback1 C FEC0:4000::2/128 [0/0] via ::, Loopback2 L FF00::/8 [0/0] via ::, Null0

Page 26: Cisco CCNA  IPV6 Static Configuration

IPV6 Static Configuration Here is show ipv6 route for R10 R10#show ipv6 route IPv6 Routing Table – 8 entries Codes: C – Connected, L – Local, S – Static, R – RIP, B – BGP U – Per-user Static route, M – MIPv6 I1 – ISIS L1, I2 – ISIS L2, IA – ISIS interarea, IS – ISIS summary O – OSPF intra, OI – OSPF inter, OE1 – OSPF ext 1, OE2 – OSPF ext 2 ON1 – OSPF NSSA ext 1, ON2 – OSPF NSSA ext 2 D – EIGRP, EX – EIGRP external S ::/0 [1/0] via 2001:4444::4

Page 27: Cisco CCNA  IPV6 Static Configuration

IPV6 Static Configuration C 2001:4444::/64 [0/0] via ::, FastEthernet0/0 L 2001:4444::10/128 [0/0] via ::, FastEthernet0/0 C FEC0:1000::1/128 [0/0] via ::, Loopback1 C FEC0:1000::2/128 [0/0] via ::, Loopback2 C FEC0:1000::3/128 [0/0] via ::, Loopback3 C FEC0:1000::4/128 [0/0] via ::, Loopback4 L FF00::/8 [0/0] via ::, Null0

Page 28: Cisco CCNA  IPV6 Static Configuration

IPV6 Static Configuration Here is summary on R4 and R10 show run: R4#show run interface Loopback0 ip address 4.4.4.4 255.255.255.0 ! interface Loopback1 no ip address ipv6 address FEC0:4000::1/128 ! interface Loopback2 no ip address ipv6 address FEC0:4000::2/128 !

Page 29: Cisco CCNA  IPV6 Static Configuration

IPV6 Static Configuration interface FastEthernet0/0 ip address 10.10.10.4 255.255.255.0 duplex auto speed auto ipv6 address 2001:4444::4/64 ! ipv6 route FEC0:1000::1/128 2001:4444::10 ipv6 route FEC0:1000::2/128 2001:4444::10 ipv6 route FEC0:1000::3/128 2001:4444::10 ipv6 route FEC0:1000::4/128 2001:4444::10 R10#show run Building configuration… ipv6 unicast-routing !

Page 30: Cisco CCNA  IPV6 Static Configuration

IPV6 Static Configuration interface Loopback1 no ip address ipv6 address FEC0:1000::1/128 ! interface Loopback2 no ip address ipv6 address FEC0:1000::2/128 ! interface Loopback3 no ip address ipv6 address FEC0:1000::3/128 !

Page 31: Cisco CCNA  IPV6 Static Configuration

IPV6 Static Configuration interface Loopback4 no ip address ipv6 address FEC0:1000::4/128 ! interface FastEthernet0/0 ip address 10.10.10.10 255.255.255.0 duplex auto speed auto ipv6 address 2001:4444::10/64 ! ! ipv6 route ::/0 2001:4444::4 !

Page 32: Cisco CCNA  IPV6 Static Configuration

ASM EDUCATIONAL CENTER INC. (ASM)WHERE TRAINING, TECHNOLOGY & SERVICE CONVERGE

PHONE: (301) 984-7400ROCKVILLE,MD

To watch our Cisco CCNA Video Trainings Please Check out the link below:www.asmed.com/c1


Top Related