How To Configure Default Routing On 4 Routers In Cisco Packet Tracer

In this lab, I am gonna teach you How To Configure Default Routing On 4 Routers In Cisco Packet Tracer

Default Routing On 4 Routers – VLSM

Given Network: 192.168.0.0

1) Required hosts on Router 1= 100

2) Required hosts on Router 2= 30

3) Required hosts on Router 3= 6

4) Required hosts on Router 4= 1

How To Configure Default Routing On 4 Routers In Cisco Packet Tracer

R1<= 100

100<= 2n – 2

100<= 27 – 2

100<= 128 – 2

100<= 126

Total number of network bits = 32

32 – n = 32 – 7 = 25 (CIDR value of given network i.e. Router 1)

i.e. 192.168.0.0/25

N.S.M = 11111111. 11111111. 11111111.10000000

                        = 255.255.255.128

Block Size       = 256 – N.S.M

                        = 256 – 128 = 128

Note: Add this block size in given network so that we can get our new network for Router 2.

So the new network is 192.168.0.128/?

Now find FVH, LVH and Broadcast address

Given Network19216800
First Valid Host-FVH19216801
Last Valid Host-LVH1921680126
Broadcast1921680127
New Network1921680128

R2<= 30

30<= 2n – 2

30<= 25 – 2

30<= 32 – 2

30<= 30

Total number of network bits = 32

32 – n = 32 – 5 = 27 (CIDR value of given network i.e. Router 2)

i.e. 192.168.0.128/27

N.S.M = 11111111. 11111111. 11111111.11100000

                        = 255.255.255.224

Block Size       = 256 – N.S.M

                        = 256 – 224 = 32

Note: Add this block size in given network so that we can get our new network for Router 3.

So the new network is 192.168.0.160/?

Now find FVH, LVH and Broadcast address

Given Network1921680128
First Valid Host-FVH1921680129
Last Valid Host-LVH1921680158
Broadcast1921680159
New Network1921680160

R3<= 6

6<= 2n – 2

6<= 23 – 2

6<= 8 – 2

6<= 6

Total number of network bits = 32

32 – n = 32 – 3 = 29 (CIDR value of given network i.e. Router 3)

i.e. 192.168.0.160/29

N.S.M = 11111111. 11111111. 11111111.11111000

                        = 255.255.255.248

Block Size       = 256 – N.S.M

                        = 256 – 248 = 8

Note: Add this block size in given network so that we can get our new network for Router 4.

So the new network is 192.168.0.168/?

Now find FVH, LVH and Broadcast address

Given Network1921680160
First Valid Host-FVH1921680161
Last Valid Host-LVH1921680165
Broadcast1921680167
New Network1921680168

R4 <= 1

1 <= 2n – 2

1 <= 22 – 2

1 <= 4 – 2

1 <= 2

Total number of network bits = 32

32 – n = 32 – 2 = 30 (CIDR of given network i.e. Router 4)

i.e. 192.168.0.168/30

N.S.M = 11111111.11111111.11111111.11111100

= 255.255.255.252

Block Size       = 256 – N.S.M

= 256 – 252 = 4

Note: Add this block size in given network so that we can get our new network for Router 1 and 2 (Virtual Network).

so the new network is 192.168.0.172/?

Now find FVH, LVH and Broadcast address

Given Network1921680168
First Valid Host-FVH1921680169
Last Valid Host-LVH1921680170
Broadcast1921680171
New Network1921680172

Router 1 & 2 <= 2 hosts (we required only two IP to connect 2 routers)

2 <= 2n – 2

2 <= 22 – 2

2 <= 4 – 2

2 <= 2

Total number of network bits = 32

32 – n = 32 – 2 = 30 (CIDR of Virtual network (R1&R2)

i.e. 192.168.0.172/30

N.S.M = 11111111.11111111.11111111.11111100

= 255.255.255.252

Block Size       = 256 – N.S.M

= 256 – 252 = 4

Note: Add this block size in given network so that we can get our new network for Router 2 and 3 (Virtual Network).

so the new network is 192.168.0.176/?

Now find FVH, LVH and Broadcast address

Given Network1921680172
First Valid Host-FVH1921680173
Last Valid Host-LVH1921680174
Broadcast1921680175
New Network1921680176

Router 2 & 3 <= 2 hosts (we required only two IP to connect 2 routers)

2 <= 2n – 2

2 <= 22 – 2

2 <= 4 – 2

2 <= 2

Total number of network bits = 32

32 – n = 32 – 2 = 30 (CIDR of Virtual network (R2&R3)

i.e. 192.168.0.176/30

N.S.M = 11111111.11111111.11111111.11111100

= 255.255.255.252

Block Size       = 256 – N.S.M

= 256 – 252 = 4

Note: Add this block size in given network so that we can get our new network for Router 3 and 4 (Virtual Network).

so the new network is 192.168.0.180/?

Now find FVH, LVH and Broadcast address

Given Network1921680176
First Valid Host-FVH1921680177
Last Valid Host-LVH1921680178
Broadcast1921680179
New Network1921680180

Router 3 & 4 <= 2 hosts (we required only two IP to connect 2 routers)

2 <= 2n – 2

2 <= 22 – 2

2 <= 4 – 2

2 <= 2

Total number of network bits = 32

32 – n = 32 – 2 = 30 (CIDR of Virtual network (R2&R3)

i.e. 192.168.0.180/30

N.S.M = 11111111.11111111.11111111.11111100

= 255.255.255.252

Block Size       = 256 – N.S.M

= 256 – 252 = 4

Note: Add this block size in given network so that we can get our new network for Router 5. This network can be used in future.

so the new network is 192.168.0.184/?

Now find FVH, LVH and Broadcast address

Given Network1921680180
First Valid Host-FVH1921680181
Last Valid Host-LVH1921680182
Broadcast1921680183
New Network1921680184

Basic Configuration On Router 1

Router>enable
Router#configure terminal
Router(config)#hostname R1
R1(config)#interface fastEthernet 0/0
R1(config-if)#ip address 192.168.0.1 255.255.255.128
R1(config-if)#no shutdown
R1(config-if)#exit  

R1(config)#interface serial 0/0/0
R1(config-if)#ip address 192.168.0.173 255.255.255.252
R1(config-if)#clock rate 64000
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#exit
R1#write

Basic Configuration On Router 2

Router>enable
Router#configure terminal
Router(config)#hostname R2
R2(config)#interface fastEthernet 0/0
R2(config-if)#ip address 192.168.0.129 255.255.255.224
R2(config-if)#no shutdown
R2(config-if)#exit  

R2(config)#interface serial 0/1/0
R2(config-if)#ip address 192.168.0.174 255.255.255.252
R2(config-if)#no shutdown
R2(config-if)#exit  

R2(config)#interface serial 0/0/0
R2(config-if)#ip address 192.168.0.177 255.255.255.252
R2(config-if)#clock rate 64000
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#exit
R2#write

Basic Configuration On Router 3

Router>enable
Router#configure terminal
Router(config)#hostname R3
R3(config)#interface fastEthernet 0/0
R3(config-if)#ip address 192.168.0.161 255.255.255.248
R3(config-if)#no  shutdown
R3(config-if)#exit  

R3(config)#interface serial 0/1/0
R3(config-if)#ip address 192.168.0.178 255.255.255.252
R3(config-if)#no  shutdown
R3(config-if)#exit  

R3(config)#interface serial 0/0/0
R3(config-if)#ip address 192.168.0.181 255.255.255.252
R3(config-if)#clock rate 64000
R3(config-if)#no shutdown
R3(config-if)#exit
R3(config)#exit
R3#write

Basic Configuration On Router 4

Router>enable
Router#configure terminal
Router(config)#hostname R4
R4(config)#interface fastEthernet 0/0
R4(config-if)#ip address 192.168.0.169 255.255.255.252
R4(config-if)#no shutdown
R4(config-if)#exit  

R4(config)#interface serial 0/1/0
R4(config-if)#ip address 192.168.0.182 255.255.255.252
R4(config-if)#no shutdown
R4(config-if)#exit
R4(config)#exit
R4#write
How To Configure Default Routing On 4 Routers In Cisco Packet Tracer

Default Routing On 4 RoutersDefault Configuration on Router 1

R1>enable
R1#configure terminal
R1(config)#ip route 0.0.0.0               0.0.0.0             192.168.0.174
R1(config)#exit
R1#write

Default Routing On 4 Routers – Static Configuration on Router 2

R2>enable
R2#configure terminal
R2(config)#ip route 192.168.0.0                   255.255.255.128         192.168.0.173
R2(config)#ip route 192.168.0.160               255.255.255.248         192.168.0.178
R2(config)#ip route 192.168.0.168               255.255.255.252         192.168.0.178
R2(config)#
R2(config)#ip route 192.168.0.172               255.255.255.252         192.168.0.173
R2(config)#ip route 192.168.0.176               255.255.255.252         192.168.0.178
R2(config)#ip route 192.168.0.180               255.255.255.252         192.168.0.178
R2(config)#exit
R2#write

Default Routing On 4 Routers – Static Configuration on Router 3

R3>enable
R3#configure terminal
R3(config)#ip route 192.168.0.0                   255.255.255.128         192.168.0.177
R3(config)#ip route 192.168.0.128               255.255.255.224         192.168.0.177
R3(config)#ip route 192.168.0.168               255.255.255.252         192.168.0.182
R3(config)#
R3(config)#ip route 192.168.0.172               255.255.255.252         192.168.0.177
R3(config)#ip route 192.168.0.176               255.255.255.252         192.168.0.177
R3(config)#ip route 192.168.0.180               255.255.255.252         192.168.0.182
R3(config)#exit
R3#write

Default Routing On 4 Routers – Default Configuration Router 4

R4>enable
R4#configure terminal
R4(config)#ip route 0.0.0.0               0.0.0.0             192.168.0.181
R4(config)#exit
R4#write

Verification on Router 1

R1#show ip route     
192.168.0.0/24 is variably subnetted, 2 subnets, 2 masks
C       192.168.0.0/25 is directly connected, FastEthernet0/0
C       192.168.0.172/30 is directly connected, Serial0/0/0
S*   0.0.0.0/0 [1/0] via 192.168.0.174

Verification on Router 2

R2#show ip route     
192.168.0.0/24 is variably subnetted, 7 subnets, 4 masks
S       192.168.0.0/25 [1/0] via 192.168.0.173
C       192.168.0.128/27 is directly connected, FastEthernet0/0
S       192.168.0.160/29 [1/0] via 192.168.0.178
S       192.168.0.168/30 [1/0] via 192.168.0.178
C       192.168.0.172/30 is directly connected, Serial0/1/0
C       192.168.0.176/30 is directly connected, Serial0/0/0
S       192.168.0.180/30 [1/0] via 192.168.0.178

Verification on Router 3

R3#show ip route     
192.168.0.0/24 is variably subnetted, 7 subnets, 4 masks
S       192.168.0.0/25 [1/0] via 192.168.0.177
S       192.168.0.128/27 [1/0] via 192.168.0.177
C       192.168.0.160/29 is directly connected, FastEthernet0/0
S       192.168.0.168/30 [1/0] via 192.168.0.182
S       192.168.0.172/30 [1/0] via 192.168.0.177
C       192.168.0.176/30 is directly connected, Serial0/1/0
C       192.168.0.180/30 is directly connected, Serial0/0/0

Verification on Router 4

R4#show ip route     
192.168.0.0/30 is subnetted, 2 subnets
C       192.168.0.168 is directly connected, FastEthernet0/0
C       192.168.0.180 is directly connected, Serial0/1/0
S*   0.0.0.0/0 [1/0] via 192.168.0.181
How To Configure Default Routing On 4 Routers In Cisco Packet Tracer

Comment your opinion, let me know if you want this help full or want something different. Keep sharing!

Leave a Reply

Your email address will not be published. Required fields are marked *