Wednesday, July 3, 2013

IP Routing

In this session we have discussed IP Routing.

At the end of the session designed a network using the Network Simulator (netsim3.0) created by M.Detras and V.Lee.

Final Network Design
So how did we accomplish this desgin?

First let's start at the fundamentals of connecting 2 Computers
Basic Connection Between 2 Computers
In order to achieve this we must follow these simple steps

Step 1: Instantiate the Objects.
  • Click the button on the left side to create the appropriate objects accordingly and rename them according to the figure.

Step 1: Instantiate the Objects
Step 2: Connecting The Objects
  • After instantiating we must connect the objects
  • For Host -> Router
    • Right Click Host
    • Select Add Connection
    • Click the red text "ether0/0"
    • Connect it to its corresponding router selecting also "fastethernet0/0" as a port
    • fastethernet0/0 is used in connecting Host to Network
    • Do this to the other Host

  • For Router->Router
    • Right Click Router
    • Select Add Connection
    • Since we connected the "fastethernet0/0" it should be lit green
    • Now Select "ethe0/1"
    • Connect it to the other router by also selecting "ether0/1"
    • Now we have established to create a connection between 2 networks
Output

Step 3: Configuring the Connection
  • After doing step 2 we just accomplished the hardware part, now we need to configure it so the hosts can communicate with one another
    • Right Click the 1st router then click configure
    • Type this set of commands to assign an IP address of fastEthernet0/0 port (Host -> Router). This represents the set of all addresses in the network of Router1
Configuring the IP of fastEthernet0/0

    •  After configuring the IP Address of fastEthernet0/0 we need to do the same for fastEthernet0/1. This represents the IP  address of the whole sub network handled by router1

Configuring the IP of Ethernet0/1
    • Next, we will set the IP route of router1. This tells the router where to route it's request. It is in the format of Destination Subnetmask Gateway. Destination is the Network 

IP Config
  • Do this for both router1 and router2. Changing the appropriate IP values
Step 4: Configuring the Hosts
  • Right Click on the host Computer -> Configure
  • Input the appropriate values

Configuring Host1

Configuring Host2
 Step 5: Testing the Connection

  • After we have finished the setup we now test if we achieved network connectivity.
    • Rightclick on a host then -> Ping
    • Input the IP Address of the Router/Host you want to ping
    • Click Ping. Results are posted below

Host 1 Pinging Host 2



Now we have successfully replicated the Basic network setup and sent packets from Host1 to Host2. In order to do the Final Network Design, we only need to replicate the same steps as above, but we need to add another step in IP Config. The additional step requires you to add the route of the other computer (eg. in configuring Router1, you need to add Router2 and Router3. Same thing follows if you are configuring for Router2 and 3). We also need to add a Switch ( need not to be configured, just conenct the ethe0/1 of routers to the ethernet ports of the switch).  Afterwards test if the network is working.

SCREEN SHOTS (for the Final Network Design Connectivity)
Host1 Pinging Host2

Host1 Pinging Host3

Host2 Pinging Host1

Host2 Pinging Host3

Host3 Pinging Host1

Host3 Pinging Host2
Conclusion
Creating a network connection is quite a tedious task. You also need to be careful in putting the values because one wrong value can result to a lost of connectivity.

No comments:

Post a Comment