Showing posts with label vlsm. Show all posts
Showing posts with label vlsm. Show all posts

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


Tuesday, 25 February 2014


Configure the network using VLSM.

Definition - What does Variable Length Subnet Mask (VLSM) mean?

A Variable Length Subnet Mask (VLSM) is a numerical masking sequence, or IP address subset, based on overall network requirements. A VLSM allows a network administrator to use long masks for networks with few hosts and short masks for networks with multiple hosts. A VLSM is used with a VLSM router and must have routing protocol support.

A VLSM is also known as a classless Internet Protocol (IP) address.

Techopedia explains Variable Length Subnet Mask (VLSM)

Key VLSM features include:
  • Simple network configuration
  • Network IP addressing through empty subnet filling
  • Greater efficiency than fixed-length subnet masks (FLSM)
  • Streamlined routing, where a router functions only with a VLSM sequence, versus a full IP address
VLSMs are used by a variety of network systems and services, including:
  • Intermediate System to Intermediate System Protocol (IS-IS)
  • Border Gateway Protocol (BGP)
  • Enhanced Interior Gateway Routing Protocol (EIGRP)
  • Cisco's Open Shortest Path First (OSPF)



Description: There are 2 switches (Switch 0 and Switch 1) joined together, also attached with 3 end devices. Switch0 has 2 PC’s having network 1 and 1 PC having network 2. Switch1 has 1 PC having network 1 and 2 PC’s having network 2. As it is VLSM, PC can only communicate with other PC that is attached to another switch provided they should have the same network. PC with one network cannot communicate with PC having different network also if they are attached to the same switch.

Solution: The given topology is:

     



Steps:
 Following are the PC’s attached to switch0:
Configuring steps for PC0:
Network 1
Ip address: 192.16.10.1
Subnet mask: 255.255.255.248
Configuring steps for PC1:
Network 1
Ip address: 192.16.10.2
Subnet mask: 255.255.255.248
Configuring steps for PC2:
Network 2
Ip address: 192.16.10.9
Subnet mask: 255.255.255.248
Following are the PC’s attached to switch1:
Configuring steps for PC3:
Network 2
Ip address: 192.16.10.10
Subnet mask: 255.255.255.248
Configuring steps for PC4:
Network 2
Ip address: 192.16.10.11
Subnet mask: 255.255.255.248
Configuring steps for PC5:
Network 1
Ip address: 192.16.10.3
Subnet mask: 255.255.255.248
Output:
Ping command from PC4 to PC0 and PC2