Wednesday, 28 August 2013

Monday, 26 August 2013

IPv6

Assignment - 03

What is IPv6?
Internet Protocol Version 6 (IPv6) is a network layer protocol that enables data communications over a packet switched network. Packet switching involves the sending and receiving of data in packets between two nodes in a network. The working standard for the IPv6 protocol was published by the Internet Engineering Task Force (IETF) in 1998. The IETF specification for IPv6 is RFC 2460. IPv6 was intended to replace the widely used Internet Protocol Version 4 (IPv4) that is considered the backbone of the modern Internet. IPv6 is often referred to as the "next generation Internet" because of it's expanded capabilities and it's growth through recent large scale deployments. In 2004, Japan and Korea were acknowledged as having the first public deployments of IPv6.
The explosive growth in mobile devices including mobile phones, notebook computers, and wireless handheld devices has created a need for additional blocks of IP addresses. IPv4 currently supports a maximum of approximately 4.3 billion unique IP addresses. IPv6 supports a theoretical maximum of 2128 addresses (340,282,366,920,938,463,463,374,607,431,768,211,456 to be exact!). Recent advancements in network technology including Network Address Translation (NAT) have temporarily lessened the urgency for new IP addresses, however, recent estimates indicate that IPv4 addresses could be exhausted as soon as 2012.
IPv6 and IPv4 share a similar architecture. The majority of transport layer protocols that function with IPv4 will also function with the IPv6 protocol. Most application layer protocols are expected to be interoperable with IPv6 as well, with the notable exception of File Transfer Protocol (FTP). FTP uses embedded network layer addresses to facilitate data transmission. An IPv6 address consists of eight groups of four hexadecimal digits. If a group consists of four zeros, the notation can be shortened using a colon to replace the zeros.
A main advantage of IPv6 is increased address space. The 128-bit length of IPv6 addresses is a significant gain over the 32-bit length of IPv4 addresses, allowing for an almost limitless number of unique IP addresses. The size of the IPv6 address space makes it less vulnerable to malicious activities such as IP scanning. IPv6 packets can support a larger payload than IPv4 packets resulting in increased throughput and transport efficiency.
A key enhancement over IPv4 is native support for mobile devices. IPv6 supports the Mobile IPv6 (MIPv6) protocol which enables mobile devices to switch between networks and receive a roaming notification regardless of physical location. MIPv6 is a hallmark of the protocol and was specified as a firm requirement during the design of IPv6. The IETF has separate specifications for MIPv6 that detail data structure, messaging, and security requirements.
Auto-configuration is another IPv6 enhancement that is considered a great benefit to network administrators. IPv6 devices can independently auto-configure themselves when connected with other IPv6 devices. Configuration tasks that can be carried out automatically include IP address assignment and device numbering. An IPv6 router has the ability to determine its own IPv6 address using data link layer addressing parameters. The IETF has issued RFC 2462 to set guidelines for IPv6 auto-configuration.
The IPv6 protocol improves upon IPv4 with increased authentication and privacy measures. IPSec security is embedded into the IPv6 specification to manage encryption and authentication between hosts. This built in security framework enables secure data traffic between hosts that is independent of any applications on either host. In this way, IPv6 provides an efficient end to end security framework for data transfer at the host or the network level.
The deployment of IPv6 networks is growing worldwide. Full replacement of IPv4 is expected to take some time, as it remains the most widely used Internet Protocol. The United States, China, and India are leading recent deployments of the IPv6 protocol and have large investments in IPv6 network infrastructure. The United States government has mandated that federal agencies must complete the transition to an IPv6 infrastructure no later than 2008. Software companies are also releasing operating systems that support the IPv6 standard. In 1997, IBM became the first commercial vendor to support IPv6 through its AIX 4.3 operating system. The latest version of Microsoft's Windows operating system, Windows Vista, has full IPv6 support enabled by default.

Reference : http://6lab.cisco.com/stats/index.php
ALL 

IPv6 Prefixes

Transit AS

Web Content

Users

Basic Networking (Myanmar)

Subnetting Keys

Sunday, 25 August 2013

Routing - 1

Static Route



R1#conf t
R1(config)#int f0/0
R1(config-if)#no sw  ----------------(for NM-16ESW SLOT)
R1(config-if)#ip add 10.1.12.1 255.255.255.0
R1(config-if)#no sh
R1(config-if)#exit
R1(config)#int f0/3
R1(config-if)#no sh
R1(config-if)#no sw
R1(config-if)#ip add 10.1.61.1 255.255.255.0
R1(config-if)#no sh
R1(config-if)#exit
R1(config)#int f0/1
R1(config-if)#no sw
R1(config-if)#ip add 10.1.71.1 255.255.255.0
R1(config-if)#no sh
R1(config-if)#end
R1#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
     10.0.0.0/24 is subnetted, 3 subnets
C       10.1.12.0 is directly connected, FastEthernet0/0
C       10.1.61.0 is directly connected, FastEthernet0/3
C       10.1.71.0 is directly connected, FastEthernet0/1

R2#conf t
R2(config)#int f0/1
R2(config-if)#no sw
R2(config-if)#ip add 10.1.12.2 255.255.255.0
R2(config-if)#no sh
R2(config-if)#exit
R2(config)#int f0/2
R2(config-if)#no sw
R2(config-if)#ip add 10.1.23.1 255.255.255.0
R2(config-if)#no sh
R2(config-if)#exit
R2#sh ip route
     10.0.0.0/24 is subnetted, 2 subnets
C       10.1.12.0 is directly connected, FastEthernet0/1
C       10.1.23.0 is directly connected, FastEthernet0/2

R3#conf t
R3(config)#int f0/0
R3(config-if)#no sw
R3(config-if)#ip add 10.1.34.1 255.255.255.0
R3(config-if)#no sh
R3(config-if)#exit
R3(config)#int f0/1
R3(config-if)#no sw
R3(config-if)#ip add 10.1.35.1 255.255.255.0
R3(config-if)#no sh
R3(config-if)#exit
R3(config)#int f0/2
R3(config-if)#no sw
R3(config-if)#ip add 10.1.23.2 255.255.255.0
R3(config-if)#no sh
R3(config-if)#end
R3#sh ip rout
     10.0.0.0/24 is subnetted, 3 subnets
C       10.1.23.0 is directly connected, FastEthernet0/2
C       10.1.35.0 is directly connected, FastEthernet0/1
C       10.1.34.0 is directly connected, FastEthernet0/0

R4#conf t
R4(config)#int f0/1
R4(config-if)#no sw
R4(config-if)#ip add 10.1.34.2 255.255.255.0
R4(config-if)#no sh
R4(config-if)#exit
R4(config)#end
R4#sh ip rout
Gateway of last resort is not set
     10.0.0.0/24 is subnetted, 1 subnets
C       10.1.34.0 is directly connected, FastEthernet0/1

R5#conf t
R5(config)#int f0/2
R5(config-if)#no sw
R5(config-if)#ip add 10.1.35.2 255.255.255.0
R5(config-if)#no sh
R5(config-if)#end
R5#sh ip rout
Gateway of last resort is not set
     10.0.0.0/24 is subnetted, 1 subnets
C       10.1.35.0 is directly connected, FastEthernet0/2

R6#conf t
R6(config)#int f0/4
R6(config-if)#no sw
R6(config-if)#ip add 10.1.61.2 255.255.255.0
R6(config-if)#no sh
R6(config-if)#end
R6#sh ip rout
Gateway of last resort is not set
     10.0.0.0/24 is subnetted, 1 subnets
C       10.1.61.0 is directly connected, FastEthernet0/4

R7#conf t
R7(config)#int f0/2
R7(config-if)#no sw
R7(config-if)#ip add 10.1.71.2 255.255.255.0
R7(config-if)#no sh
R7(config-if)#end
R7#sh ip rout
Gateway of last resort is not set
     10.0.0.0/24 is subnetted, 1 subnets
C       10.1.71.0 is directly connected, FastEthernet0/2

R1#conf t
R1(config)#ip route 10.1.34.0 255.255.255.0 10.1.12.2
R1(config)#ip route 10.1.35.0 255.255.255.0 10.1.12.2
R1(config)#ip route 10.1.23.0 255.255.255.0 10.1.12.2
R1(config)#exit
R1#sh ip rout
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
     10.0.0.0/24 is subnetted, 6 subnets
C       10.1.12.0 is directly connected, FastEthernet0/0
S       10.1.23.0 [1/0] via 10.1.12.2
S       10.1.35.0 [1/0] via 10.1.12.2
S       10.1.34.0 [1/0] via 10.1.12.2
C       10.1.61.0 is directly connected, FastEthernet0/3
C       10.1.71.0 is directly connected, FastEthernet0/1

R2#conf t
R2(config)#ip route 10.1.34.0 255.255.255.0 10.1.23.2
R2(config)#ip route 10.1.35.0 255.255.255.0 10.1.23.2
R2(config)#ip route 10.1.61.0 255.255.255.0 10.1.12.1
R2(config)#ip route 10.1.71.0 255.255.255.0 10.1.12.1
R2(config)#end
R2#sh ip rout
     10.0.0.0/24 is subnetted, 6 subnets
C       10.1.12.0 is directly connected, FastEthernet0/1
C       10.1.23.0 is directly connected, FastEthernet0/2
S       10.1.35.0 [1/0] via 10.1.23.2
S       10.1.34.0 [1/0] via 10.1.23.2
S       10.1.61.0 [1/0] via 10.1.12.1
S       10.1.71.0 [1/0] via 10.1.12.1

R3#conf t
R3(config)#ip route 10.1.61.0 255.255.255.0 10.1.23.1
R3(config)#ip route 10.1.71.0 255.255.255.0 10.1.23.1
R3(config)#ip route 10.1.12.0 255.255.255.0 10.1.23.1
R3(config)#end
R3#sh ip rout
     10.0.0.0/24 is subnetted, 6 subnets
S       10.1.12.0 [1/0] via 10.1.23.1
C       10.1.23.0 is directly connected, FastEthernet0/2
C       10.1.35.0 is directly connected, FastEthernet0/1
C       10.1.34.0 is directly connected, FastEthernet0/0
S       10.1.61.0 [1/0] via 10.1.23.1
S       10.1.71.0 [1/0] via 10.1.23.1

R4#conf t
R4(config)#ip route 10.1.35.0 255.255.255.0 10.1.34.1
R4(config)#ip route 10.1.23.0 255.255.255.0 10.1.34.1
R4(config)#ip route 10.1.12.0 255.255.255.0 10.1.34.1
R4(config)#ip route 10.1.61.0 255.255.255.0 10.1.34.1
R4(config)#ip route 10.1.71.0 255.255.255.0 10.1.34.1
R4(config)#end
R4#sh ip rout
     10.0.0.0/24 is subnetted, 6 subnets
S       10.1.12.0 [1/0] via 10.1.34.1
S       10.1.23.0 [1/0] via 10.1.34.1
S       10.1.35.0 [1/0] via 10.1.34.1
C       10.1.34.0 is directly connected, FastEthernet0/1
S       10.1.61.0 [1/0] via 10.1.34.1
S       10.1.71.0 [1/0] via 10.1.34.1

R5#conf t
R5(config)#ip route 10.1.34.0 255.255.255.0 10.1.35.1
R5(config)#ip route 10.1.23.0 255.255.255.0 10.1.35.1
R5(config)#ip route 10.1.12.0 255.255.255.0 10.1.35.1
R5(config)#ip route 10.1.61.0 255.255.255.0 10.1.35.1
R5(config)#ip route 10.1.71.0 255.255.255.0 10.1.35.1
R5(config)#end
R5#sh ip rout
     10.0.0.0/24 is subnetted, 6 subnets
S       10.1.12.0 [1/0] via 10.1.35.1
S       10.1.23.0 [1/0] via 10.1.35.1
C       10.1.35.0 is directly connected, FastEthernet0/2
S       10.1.34.0 [1/0] via 10.1.35.1
S       10.1.61.0 [1/0] via 10.1.35.1
S       10.1.71.0 [1/0] via 10.1.35.1

R6#conf t
R6(config)#ip route 10.1.34.0 255.255.255.0 10.1.61.1
R6(config)#ip route 10.1.23.0 255.255.255.0 10.1.61.1
R6(config)#ip route 10.1.12.0 255.255.255.0 10.1.61.1
R6(config)#ip route 10.1.35.0 255.255.255.0 10.1.61.1
R6(config)#ip route 10.1.71.0 255.255.255.0 10.1.61.1
R6(config)#end
R6#sh ip rout
     10.0.0.0/24 is subnetted, 6 subnets
S       10.1.12.0 [1/0] via 10.1.61.1
S       10.1.23.0 [1/0] via 10.1.61.1
S       10.1.35.0 [1/0] via 10.1.61.1
S       10.1.34.0 [1/0] via 10.1.61.1
C       10.1.61.0 is directly connected, FastEthernet0/4
S       10.1.71.0 [1/0] via 10.1.61.1

R7#conf t
R7(config)#ip route 10.1.34.0 255.255.255.0 10.1.71.1
R7(config)#ip route 10.1.23.0 255.255.255.0 10.1.71.1
R7(config)#ip route 10.1.12.0 255.255.255.0 10.1.71.1
R7(config)#ip route 10.1.35.0 255.255.255.0 10.1.71.1
R7(config)#ip route 10.1.61.0 255.255.255.0 10.1.71.1
R7(config)#end
R7#sh ip rout
     10.0.0.0/24 is subnetted, 6 subnets
S       10.1.12.0 [1/0] via 10.1.71.1
S       10.1.23.0 [1/0] via 10.1.71.1
S       10.1.35.0 [1/0] via 10.1.71.1
S       10.1.34.0 [1/0] via 10.1.71.1
S       10.1.61.0 [1/0] via 10.1.71.1
C       10.1.71.0 is directly connected, FastEthernet0/2

R6#tclsh
R6(tcl)#foreach address {
+>(tcl)#10.1.61.1
+>(tcl)#10.1.62.2
+>(tcl)#10.1.12.1
+>(tcl)#10.1.12.2
+>(tcl)#10.1.23.1
+>(tcl)#10.1.23.2
+>(tcl)#10.1.34.1
+>(tcl)#10.1.34.2
+>(tcl)#10.1.35.1
+>(tcl)#10.1.35.2
+>(tcl)#10.1.71.1
+>(tcl)#10.1.72.2
+>(tcl)#} {
+>(tcl)#ping $address }

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.61.1, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 260/324/400 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.62.2, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.12.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 200/285/480 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.12.2, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 336/439/608 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.23.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 404/493/608 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.23.2, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 392/498/560 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.34.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 396/607/824 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.34.2, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 824/911/992 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.35.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 532/690/808 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.35.2, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 744/938/1096 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.71.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 268/411/496 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.72.2, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
R6(tcl)#