Basic Combination of Class C and Class A – Advance LAB

In this lab, I will show you the Basic Combination of Class C and Class A on 2 Routers

VLSM

Given Network: 207.0.0.0

Host Requirement on Router 1: 500,000

Host Requirement on Router 2: 250,000

Router 1<= 500,000

500,000<= 2n – 2

500,000<= 219 – 2

500,000<= 524,288 – 2

500,000<= 524,286

Total number of network bit = 32

32 – n = 32 – 19 = 13 (CIDR of Router 1 network i.e. Given network)

i.e. 207.0.0.0/13

N.S.M = 11111111.11111000.00000000.00000000

                        = 255.248.0.0

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 2.

so the new network is 207.8.0.0/?

Now find FVH, LVH and Broadcast address

Given Network207000
First Valid Host-FVH207001
Last Valid Host-LVH2077255254
Broadcast2077255255
New Network207800

Router 2<= 250,000

250,000 <= 2n – 2

250,000<= 218 – 2

250,000<= 262,144 – 2

250,000<= 262,142

Total number of network bits = 32

32 – n = 32 – 18 = 14 (CIDR of Router 2 network i.e. New network)

i.e. 207.8.0.0/14

N.S.M = 11111111.11111100.00000000.00000000

                        = 255.252.0.0

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 207.12.0.0/?

Now find FVH, LVH and Broadcast address

Given Network207800
First Valid Host-FVH207801
Last Valid Host-LVH20711255254
Broadcast20711255255
New Network2071200

Router 1 and Router 2 <= 2 (we required only two IP to connect two 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. 207.12.0.0/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. This network can be used in future.

so the new network is 207.12.0.4/?

Now find FVH, LVH and Broadcast address

Given Network2071200
First Valid Host-FVH2071201
Last Valid Host-LVH2071202
Broadcast2071203
New Network2071204

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 207.0.0.1 255.248.0.0
R1(config-if)#no shutdown
R1(config-if)#exit  

R1(config)#interface serial 0/0/0
R1(config-if)#ip address 207.12.0.1 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 207.8.0.1 255.252.0.0
R2(config-if)#no shutdown
R2(config-if)#exit
 
R2(config)#interface serial 0/1/0
R2(config-if)#ip address 207.12.0.2 255.255.255.252
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#exit
R2#write

Verification on Router 1

R1#show ip route
C    207.0.0.0/13 is directly connected, FastEthernet0/0     
207.12.0.0/30 is subnetted, 1 subnets
C       207.12.0.0 is directly connected, Serial0/0/0

Verification on Router 2

R2#show ip route
C    207.8.0.0/14 is directly connected, FastEthernet0/0     
207.12.0.0/30 is subnetted, 1 subnets
C       207.12.0.0 is directly connected, Serial0/1/0

Leave a Reply

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