Wednesday, 26 February 2014

On 23:11 by Unknown in , , , , ,    No comments
Description: VLSM is the process of subnetting a subnet and using different subnet masks for different networks in our IP plan. We need to make sure that there is no overlap in any of the addresses. Router 0 has 20 users, router 1 has 30 users and router 2 has 60 users. As it is VLSM, ip addresses should be given according to the no. of users i.e. higher the users lower is the network id. After configuring routers and PCs, RIP version 2 will be applied.

Solution: The given topology is:


Steps:

Configuring steps for router0:
Router0>enable
Router0#config terminal
Router0(config)#interface fa0/0
Router0(config-if)#ip address 192.168.10.98 255.255.255.224
Router0(config-if)#no shutdown
Router0(config-if)#exit
Router0(config)#interface se2/0
Router0(config-if)#ip address 192.168.10.129 255.255.255.252
Router0(config-if)#no shutdown
Router0(config-if)#clock rate 64000
Router0(config-if)#exit
Router0(config)#interface se3/0
Router0(config-if)#ip address 192.168.10.137 255.255.255.252
Router0(config-if)#no shutdown
Router0(config-if)#exit
Router0(config-if)#router rip
Router0(config-router)#version 2
Router0(config-router)#network 192.168.10.136
Router0(config-router)#network 192.168.10.128
Router0(config-router)#network 192.168.10.96
Router0(config-router)#exit

Configuring steps for router1:
Router1>enable
Router1#config terminal
Router1(config)#interface fa0/0
Router1(config-if)#ip address 192.168.10.66 255.255.255.224
Router1(config-if)#no shutdown
Router1(config-if)#exit
Router1(config)#interface se2/0
Router1(config-if)#ip address 192.168.10.130 255.255.255.252
Router1(config-if)#no shutdown
Router1(config-if)#exit
Router1(config)#interface se3/0
Router1(config-if)#ip address 192.168.10.133 255.255.255.252
Router1(config-if)#no shutdown
Router1(config-if)#clock rate 64000
Router1(config-if)#exit
Router1(config-if)#router rip
Router1(config-router)#version 2
Router1(config-router)#network 192.168.10.128
Router1(config-router)#network 192.168.10.64
Router1(config-router)#network 192.168.10.132
Router1(config-router)#exit

Configuring steps for router2:
Router2>enable
Router2#config terminal
Router2(config)#interface fa0/0
Router2(config-if)#ip address 192.168.10.2 255.255.255.192
Router2(config-if)#no shutdown
Router2(config-if)#exit
Router2(config)#interface se2/0
Router2(config-if)#ip address 192.168.10.138 255.255.255.192
Router2(config-if)#no shutdown
Router2(config-if)#clock rate 64000
Router2(config-if)#exit
Router2(config)#interface se3/0
Router2(config-if)#ip address 192.168.10.134 255.255.255.192
Router2(config-if)#no shutdown
Router2(config-if)#exit
Router2(config-if)#router rip
Router2(config-router)#version 2
Router2(config-router)#network 192.168.10.136
Router2(config-router)#network 192.168.10.132
Router2(config-router)#network 192.168.10.0
Router2(config-router)#exit

Configuring steps for PC0:
Ip address: 192.168.10.65
Subnet mask: 255.255.255.224
Default gateway: 192.168.10.66

Configuring steps for PC1:
Ip address: 192.168.10.94
Subnet mask: 255.255.255.224
Default gateway: 192.168.10.66

Configuring steps for PC2:
Ip address: 192.168.10.62
Subnet mask: 255.255.255.224
Default gateway: 192.168.10.2

Configuring steps for PC3:
Ip address: 192.168.10.1
Subnet mask: 255.255.255.192
Default gateway: 192.168.10.2

Configuring steps for PC4:
Ip address: 192.168.10.97
Subnet mask: 255.255.255.224
Default gateway: 192.168.10.98

Configuring steps for PC6:
Ip address: 192.168.10.126
Subnet mask: 255.255.255.224
Default gateway: 192.168.10.98

Output:
Ping command from PC1 to PC6


0 comments:

Post a Comment