Monday, July 1, 2013

Exercise 2: IP Routing

Last Tuesday, June 25, our laboratory topic was all about Internet Protocol and routing. The discussion was okay and I learned many things about IP, but dealing with the exercise was way better because we experienced how IP routing is done.

IP address has two parts: network address/id and host address/id. The hosts and networks depend on the class of IP. Here are they:
A : 0N.H.H.H - for IPv4, it has 2bits for network and 224 bits for host
B : 10N.N.H.H - for IPv4, it has 214 bits for network and 216 bits for host
C : 110N.N.N.H - for IPv4, it has 221 bits for network and 2bits for host
D : Multicast
E: Experimental

The default Subnet Mask for Classes A,B and C are the following:
A: 255.0.0.0
B: 255.255.0.0
C. 255.255.255.0

After the discussion on IP, we proceeded with routing of computers/IP addresses with the use of Scalable Cisco IOS Simulator for Virtual Networks. As a guide for our exercise, our laboratory instructor taught us how to route two IP addresses. He discussed it step-by-step.

For our exercise, we were tasked to do the routing to three(3) IP addresses/computers. At first, I really did not know how to do it, but upon rereading the handout, I already got the idea.

First, I connected each computer to a router, and connected those three routers through a switch. Then, I configured the three computers.



Configuration for Computer 1
Configuration for Computer 2
Configuration for Computer 3


The next step I did was to configure each router through the console. I connected each router to the other two using the ip route <interface> <netmask> <gateway> command.




To  check and to make sure that the IP routing worked, I pinged the IP addresses of the other two computers connected to a computer.

Pinged IP addresses of Computer 2 and 3 using Computer 1.


Pinged Computer 1 and 3 using Computer 2.


Pinged Computer 1 and 2 using Computer 3.


I was so happy for what I have learned and happier I finished the exercise within the laboratory hours. Kudos! :)

No comments:

Post a Comment