Thursday, October 22, 2009

Static Routing

Objective:

Design & develop a computer network between 3 routers in three buildings, using static routing.

Setup:

I have taken several steps to establish static routing between routers A, B, C are given below:

Router A: Network address 192.168.1.0 is used for hosts of the router A. PC 0 and PC 1 are connected through a switch ip configuration of 192.168.1.2 and subnet mask is 255.255.255.0 and 192.168.1.3 and subnet mask is 255.255.255.0. For the cable which connects router A with router B is configured with the ip address 192.168.4.1 and subnet mask is 255.255.255.0. Gateway address used for hosts of router A network is 192.168.1.1 and subnet mask is 255.255.255.0.

Router B: Network address 192.168.2.0 is used for hosts of the router B. PC 2 and PC 3 are connected through a switch ip configuration of 192.168.2.2 and subnet mask is 255.255.255.0 and 192.168.2.3 and subnet mask is 255.255.255.0. For the cable which connects router B with router A is configured with the ip address 192.168.4.2 and subnet mask is 255.255.255.0 and for the cable which connects router B with router C is configured with the ip address 192.168.5.1 and subnet mask is 255.255.255.0. Gateway address used for hosts of router B network is 192.168.2.1 and subnet mask is 255.255.255.0.

Router C: Network address 192.168.3.0 is used for hosts of the router A. PC 4 and PC 5 are connected through a switch ip configuration of 192.168.3.2 and subnet mask is 255.255.255.0 and 192.168.3.3 and subnet mask is 255.255.255.0. For the cable which connects router C with router B is configured with the ip address 192.168.5.2 and subnet mask is 255.255.255.0. Gateway address used for hosts of router C network is 192.168.3.1 and subnet mask is 255.255.255.0.

Network Diagram:

Image and video hosting by TinyPic

Commands in the routers:

Defining Routes:

Router A:

Router(config)#ip route 192.168.2.0 255.255.255.0 192.168.4.2

Router(config)#ip route 192.168.3.0 255.255.255.0 192.168.4.2

Router B:

Router(config)#ip route 192.168.1.0 255.255.255.0 192.168.4.1

Router(config)#ip route 192.168.3.0 255.255.255.0 192.168.5.2

Router C:

Router(config)#ip route 192.168.2.0 255.255.255.0 192.168.5.1

Router(config)#ip route 192.168.1.0 255.255.255.0 192.168.5.1


Objective:

Design & develop a computer network between 4 routers situated in different places, using static routing with redundancy.

Setup:

I have taken several steps to establish static routing between routers A, B, C, D are given below:

Router A: Network address 192.168.1.0 is used for hosts of the router A. PC 1 is connected through a switch ip configuration of 192.168.1.2 and subnet mask is 255.255.255.0. For the cable which connects router A with router B is configured with the ip address 192.168.5.1 and subnet mask is 255.255.255.0 and router C is configured with the ip address 192.168.6.2 and subnet mask is 255.255.255.0.There is another router D and For the cable which connects router A with router D is configured with the ip address 192.168.10.1 and subnet mask is 255.255.255.0 and the gateway address used for hosts of router A network is 192.168.1.1 and subnet mask is 255.255.255.0.

Router B: Network address 192.168.3.0 is used for hosts of the router B. PC 2 is connected through a switch ip configuration of 192.168.3.2 and subnet mask is 255.255.255.0. For the cable which connects router B with router A is configured with the ip address 192.168.5.2 and subnet mask is 255.255.255.0 and router C is configured with the ip address 192.168.9.2 and subnet mask is 255.255.255.0.There is another router D and For the cable which connects router A with router D is configured with the ip address 192.168.8.1 and subnet mask is 255.255.255.0 and the gateway address used for hosts of router B network is 192.168.3.1 and subnet mask is 255.255.255.0.

Router C: Network address 192.168.2.0 is used for hosts of the router C. PC 3 is connected through a switch ip configuration of 192.168.2.2 and subnet mask is 255.255.255.0. For the cable which connects router C with router B is configured with the ip address 192.168.9.1 and subnet mask is 255.255.255.0 and router A is configured with the ip address 192.168.6.1 and subnet mask is 255.255.255.0.There is another router D and For the cable which connects router A with router D is configured with the ip address 192.168.7.2 and subnet mask is 255.255.255.0 and the gateway address used for hosts of router A network is 192.168.2.1 and subnet mask is 255.255.255.0.

Router D: Network address 192.168.4.0 is used for hosts of the router D. PC 4 is connected through a switch ip configuration of 192.168.4.2 and subnet mask is 255.255.255.0. For the cable which connects router D with router B is configured with the ip address 192.168.8.2 and subnet mask is 255.255.255.0 and router C is configured with the ip address 192.168.7.2 and subnet mask is 255.255.255.0.There is another router A and For the cable which connects router D with router A is configured with the ip address 192.168.10.2 and subnet mask is 255.255.255.0 and the gateway address used for hosts of router A network is 192.168.4.1 and subnet mask is 255.255.255.0.

Network Diagram:

Image and video hosting by TinyPic

Commands in the routers:

Defining Routes:

Router A:

Router(config)#ip route 192.168.2.0 255.255.255.0 192.168.6.1 10

Router(config)#ip route 192.168.2.0 255.255.255.0 192.168.10.2 11

Router(config)#ip route 192.168.2.0 255.255.255.0 192.168.5.2 12

Router(config)#ip route 192.168.3.0 255.255.255.0 192.168.5.2 13

Router(config)#ip route 192.168.3.0 255.255.255.0 192.168.10.2 14

Router(config)#ip route 192.168.3.0 255.255.255.0 192.168.6.1 15

Router(config)#ip route 192.168.4.0 255.255.255.0 192.168.10.2 16

Router(config)#ip route 192.168.4.0 255.255.255.0 192.168.5.2 17

Router(config)#ip route 192.168.4.0 255.255.255.0 192.168.6.1 18

Router B

Router(config)#ip route 192.168.4.0 255.255.255.0 192.168.8.2 10

Router(config)#ip route 192.168.4.0 255.255.255.0 192.168.9.1 11

Router(config)#ip route 192.168.4.0 255.255.255.0 192.168.5.1 12

Router(config)#ip route 192.168.1.0 255.255.255.0 192.168.5.1 13

Router(config)#ip route 192.168.1.0 255.255.255.0 192.168.9.1 14

Router(config)#ip route 192.168.1.0 255.255.255.0 192.168.8.2 15

Router(config)#ip route 192.168.2.0 255.255.255.0 192.168.9.1 16

Router(config)#ip route 192.168.2.0 255.255.255.0 192.168.8.2 17

Router(config)#ip route 192.168.2.0 255.255.255.0 192.168.5.1 18

Router C

Router(config)#ip route 192.168.1.0 255.255.255.0 192.168.6.2 10

Router(config)#ip route 192.168.1.0 255.255.255.0 192.168.9.2 11

Router(config)#ip route 192.168.1.0 255.255.255.0 192.168.7.1 12

Router(config)#ip route 192.168.4.0 255.255.255.0 192.168.7.1 13

Router(config)#ip route 192.168.4.0 255.255.255.0 192.168.9.2 14

Router(config)#ip route 192.168.4.0 255.255.255.0 192.168.6.2 15

Router(config)#ip route 192.168.3.0 255.255.255.0 192.168.9.2 16

Router(config)#ip route 192.168.3.0 255.255.255.0 192.168.7.1 17

Router(config)#ip route 192.168.3.0 255.255.255.0 192.168.6.2 18

Router D

Router(config)#ip route 192.168.2.0 255.255.255.0 192.168.7.2 10

Router(config)#ip route 192.168.2.0 255.255.255.0 192.168.10.1 11

Router(config)#ip route 192.168.2.0 255.255.255.0 192.168.8.1 12

Router(config)#ip route 192.168.3.0 255.255.255.0 192.168.8.1 13

Router(config)#ip route 192.168.3.0 255.255.255.0 192.168.10.1 14

Router(config)#ip route 192.168.3.0 255.255.255.0 192.168.7.2 15

Router(config)#ip route 192.168.1.0 255.255.255.0 192.168.10.1 16

Router(config)#ip route 192.168.1.0 255.255.255.0 192.168.7.2 17

Router(config)#ip route 192.168.1.0 255.255.255.0 192.168.8.1 18

No comments: