14
11 DESIGN PROBLEM OF INT556 SUBMITTED TO:- SUBMITTED BY:- Mr. RAVI SHANKAR SUMIT KUMAR ROLL NO.-23 SEC NO.- A2703 7070070031 BT(H)- MT(IT)

Simulation of four router using boson

Embed Size (px)

Citation preview

Page 1: Simulation of four router using boson

11

DESIGN PROBLEM

OF

INT556

SUBMITTED TO:- SUBMITTED BY:-Mr. RAVI SHANKAR SUMIT KUMAR

ROLL NO.-23 SEC NO.-A2703 7070070031 BT(H)-MT(IT)

Page 2: Simulation of four router using boson

11

Ques:- Assume there are router setup in LIT building, LIM building, LSB building and LIE building. Draw the schematic diagram of LPU campus network. Give your idea how to interconnect one router to another. The router interconnection should be in such a manner that it should be cost effective, loop free, and if one router fails it will not affect the networking with other router. An example of such network is shown below. You have to make similar network such that PC1 can able to connect to PC2, PC3 and PC4.Expectation: 1. Make effective diagram.

2. Interconnectivity of router should be done.

3. Set the IP address to each router and PCs.

4. Show the demonstration by using BOSON network simulator.

5. User can able to ping from PC1 to any other PC and vice versa and the reply should come.

ANSWERUsing Boson network simulator component Boson Network Designer make the network diagram. I choose the router of 4500 series and four PC. And PC are have only one Ethernet 0 port.

These are the information of router:-MODEL 4500

Slot Options

2 ethernet,4 ethernet,1 fast ethernet,2 serial,4 serial,1 bri

To select a router just drag it from left panel and drop it in work space. After dragging it will ask for selecting slot. In this problem i choose 3 slot. Look Like this

Page 3: Simulation of four router using boson

11

After choosing the slot option it will ask for selecting the interfaces in each router and in each slot.

After choosing the interfaces click on select and it will ask to given a name to a router gibe name to router. At last one router is set in workspace.

We repeat this four times because we have to configure four router. Then select the PC and give the names to the PC. After doing above steps i make the net map shown below in the figure. The names of router in this problems are LSB, LIM, LIT, LIE and PC are respectively LSBPC, LIMPC, LITPC, LIEPC.

Page 4: Simulation of four router using boson

11

After making the net map load it to the Boson net simulator. And assign the IP to router and PC.

IP AddressesThe IP addresses and subnet masks used in this project are shown in the table below.DEVICE INTERFACE IP ADDRESS MASK

LSB Serial 0/1 176.10.1.1 255.255.255.0

Ethernet 1/0 163.10.1.1 255.255.255.0

Ethernet 1/1 161.10.1.1 255.255.255.0

LIT Serial 0/0 175.10.1.1 255.255.255.0

Ethernet 1/0 163.10.1.2 255.255.255.0

Ethernet 1/1 162.10.1.1 255.255.255.0

LIE Serial 0/1 176.10.1.2 255.255.255.0

Ethernet 1/0 163.10.1.2 255.255.255.0

Ethernet 1/1 162.10.1.2 255.255.255.0

LIM Serial 0/1 175.10.1.2 255.255.255.0

Serial 0/0 164.10.1.1 255.255.255.0

Fast Ethernet 2/0 161.10.1.2 255.255.255.0

LSBPC - 163.10.1.5 255.255.255.0

Page 5: Simulation of four router using boson

11

LIMPC - 161.10.1.6 255.255.255.0

LIEPC - 163.10.1.7 255.255.255.0

LITPC - 163.10.1.8 255.255.255.0

And default gateway is 195.10.1.1Let’s start playing with Boson network simulator for IP addressing to the routers.

Router LSB configurationFirst we set the ip address on Ethernet 1/1 and serial 0/1 port of router LSB.

1. Select LSB from the tool bar. Press enter to get to the user promptRouter>

2. The greater-than symbol ( >) in the prompt indicates you are in user mode. Type ? to see a list of commands that can be entered in user mode.Router> ?

3. Type enable to get into privileged mode. The pound sign (#) indicates you are now inprivileged mode.

Router> enableRouter#

4. Type configure terminal to get into configuration modeRouter# configure terminalRouter(config)#

5. Configure a hostname of ‘LSB’. Router(config)# hostname LSBLSB(config)#

6. In global configuration mode on LSB, Configure an enable password of ‘sumit’ that will not be encrypted when viewing the router configuration file and an enablepassword of ’kamboj’ that will be encrypted.LSB(config)# enable ?LSB(config)# enable password sumitLSB(config)# enable secret kamboj

7. Configure an IP address for the Ethernet 1/1 interface on LSB. Activate the interface – it is currently in ‘shutdown’ mode.LSB(config)# interface Ethernet 1/1LSB(config-if)# ip address 161.10.1.1 255.255.255.0LSB(config-if)# no shutdown

LSB(config)# interface Ethernet 1/0LSB(config-if)# ip address 163.10.1.1 255.255.255.0LSB(config-if)# no shutdown

8. Configure an IP address for LSB’s Serial 0/1 interface and activate the interface. And also set the bandwidth and clock rate.LSB(config-if)# interface serial 0/1LSB(config-if)# ip address 175.10.1.1 255.255.255.0LSB(config-if)#bandwidth 64LSB(config-if)#clock rate 64000LSB(config-if)# no shut

Page 6: Simulation of four router using boson

11

9. Exit configuration mode by keying ctrl-z . This will bring you back to the privileged mode prompt.LSB(config-if)# ctrl-zLSB#

10. Save the running (active) configuration to NVRAM by typing:LSB# copy running-config startup-config

11. Issue the command to show which Layer 3 protocols are currently running on the router.LSB# show protocols

Router LIM configuration Now we set the ip address on fast Ethernet 2//0 and serial 0/1 port of router LIM.

1. Select LIM from the tool bar. Press enter to get to the user promptRouter>

2. The greater-than symbol ( >) in the prompt indicates you are in user mode. Type ? to see a list of commands that can be entered in user mode.Router> ?

3. Type enable to get into privileged mode. The pound sign (#) indicates you are now inprivileged mode.

Router> enableRouter#

4. Type configure terminal to get into configuration modeRouter# configure terminalRouter(config)#

5. Configure a hostname of ‘LIM’. Router(config)# hostname LIMLIM(config)#

6. In global configuration mode on LIM, Configure an enable password of ‘sumit’ that will not be encrypted when viewing the router configuration file and an enablepassword of ’kamboj’ that will be encrypted.LIM(config)# enable ?LIM(config)# enable password sumitLIM(config)# enable secret kamboj

7. Configure an IP address for the fast Ethernet 2/0 interface on LIM. Activate the interface – it is currently in ‘shutdown’ mode.LIM(config)# interface fast Ethernet 2/0LIM(config-if)# ip address 161.10.1.2 255.255.255.0LIM(config-if)# no shutdown

8. Configure an IP address for LIM’s Serial 0/1 interface and activate the interface. And also set the bandwidth and clock rate.LIM(config-if)# interface serial 0/1LIM(config-if)# ip address 175.10.1.2 255.255.255.0LIM(config-if)#bandwidth 64LIM(config-if)#clock rate 64000LIM(config-if)# no shut

LIM(config-if)# interface serial 0/0LIM(config-if)# ip address 164.10.1.1 255.255.255.0LIM(config-if)#bandwidth 64

Page 7: Simulation of four router using boson

11

LIM(config-if)#clock rate 64000LIM(config-if)# no shut

9. Exit configuration mode by keying ctrl-z . This will bring you back to the privileged mode prompt.LIM(config-if)# ctrl-zLIM#

10. Save the running (active) configuration to NVRAM by typing:LIM# copy running-config startup-config

11. Issue the command to show which Layer 3 protocols are currently running on the router.LIM# show protocols

Now you are able to ping LIM from LSB and vice versa (only through Ethernet port).

Router LIT configuration

we set the ip address on Ethernet 1//1 and serial 0/0 port of router LIT.1. Select LIT from the tool bar. Press enter to get to the user prompt

Router>

2. The greater-than symbol ( >) in the prompt indicates you are in user mode. Type ? to see a list of commands that can be entered in user mode.Router> ?

3. Type enable to get into privileged mode. The pound sign (#) indicates you are now inprivileged mode.

Router> enableRouter#

4. Type configure terminal to get into configuration modeRouter# configure terminalRouter(config)#

5. Configure a hostname of ‘LIT’. Router(config)# hostname LITLIT(config)#

6. In global configuration mode on LIT, Configure an enable password of ‘sumit’ that will not be encrypted when viewing the router configuration file and an enablepassword of ’kamboj’ that will be encrypted.LIT(config)# enable ?LIT(config)# enable password sumitLIT(config)# enable secret kamboj

7. Configure an IP address for the fast Ethernet 1/1 interface on LIT. Activate the interface – it is currently in ‘shutdown’ mode.LIT(config)# interface Ethernet 1/1LIT(config-if)# ip address 162.10.1.1 255.255.255.0LIT(config-if)# no shutdown

LIT(config)# interface Ethernet 1/0LIT(config-if)# ip address 163.10.1.2 255.255.255.0LIT(config-if)# no shutdown

Page 8: Simulation of four router using boson

11

8. Configure an IP address for LIT’s Serial 0/0 interface and activate the interface. And also set the bandwidth and clock rate.LIT(config-if)# interface serial 0/0LIT(config-if)# ip address 175.10.1.1 255.255.255.0LIT(config-if)#bandwidth 64LIT(config-if)#clock rate 64000LIT(config-if)# no shut

9. Exit configuration mode by keying ctrl-z . This will bring you back to the privileged mode prompt.LIT(config-if)# ctrl-zLIT#

10. Save the running (active) configuration to NVRAM by typing:LIT# copy running-config startup-config

11. Issue the command to show which Layer 3 protocols are currently running on the router.LIT# show protocols

Now you are able to ping LIM from LIT and vice versa (only through serial port). But not from LIT to LSB.

Router LIE configurationwe set the ip address on Ethernet 1/1 and serial 0/1 port of router LIE.

1. Select LIE from the tool bar. Press enter to get to the user promptRouter>

2. The greater-than symbol ( >) in the prompt indicates you are in user mode. Type ? to see a list of commands that can be entered in user mode.Router> ?

3. Type enable to get into privileged mode. The pound sign (#) indicates you are now inprivileged mode.

Router> enableRouter#

4. Type configure terminal to get into configuration modeRouter# configure terminalRouter(config)#

5. Configure a hostname of ‘LIE’. Router(config)# hostname LIELIE(config)#

6. In global configuration mode on LIE, Configure an enable password of ‘sumit’ that will not be encrypted when viewing the router configuration file and an enablepassword of ’kamboj’ that will be encrypted.LIE(config)# enable ?LIE(config)# enable password sumitLIE(config)# enable secret kamboj

7. Configure an IP address for the fast Ethernet 1/1 interface on LIE. Activate the interface – it is currently in ‘shutdown’ mode.LIE(config)# interface Ethernet 1/1LIE(config-if)# ip address 162.10.1.2 255.255.255.0

Page 9: Simulation of four router using boson

11

LIE(config-if)# no shutdown

LIE(config)# interface Ethernet 1/0LIE(config-if)# ip address 163.10.1.3 255.255.255.0LIE(config-if)# no shutdown

8. Configure an IP address for LIE’s Serial 0/1 interface and activate the interface. And also set the bandwidth and clock rate.LIE(config-if)# interface serial 0/1LIE(config-if)# ip address 176.10.1.2 255.255.255.0LIE(config-if)#bandwidth 64LIE(config-if)#clock rate 64000LIE(config-if)# no shut

9. Exit configuration mode by keying ctrl-z . This will bring you back to the privileged mode prompt.LIE(config-if)# ctrl-zLIE#

10. Save the running (active) configuration to NVRAM by typing:LIE# copy running-config startup-config

11. Issue the command to show which Layer 3 protocols are currently running on the router.LIE# show protocols

Now you are able to ping LIE from LIT and vice versa (only through ethernet port) an also can ping LIE from LSB and vice versa(only through serial port refer netmap).

Now every router can ping to it’s neighbor router. But the problem is that to how to ping second next neighbor. To jump from this hurdle we use RIP (routing information protocol).

Configure RIP to all routers

Configure RIP. On LSB, LIM, LIT, and LIE routers.LSB(config)#router ripLSB(config-router)#network 176.10.0.0LSB(config-router)#network 161.10.0.0LSB(config-router)#network 163.10.0.0

LIM(config)#router ripLIM(config-router)#network 175.10.0.0LIM(config-router)#network 161.10.0.0LIM(config-router)#network 164.10.0.0

LIT(config)#router ripLIT(config-router)#network 175.10.0.0LIT(config-router)#network 162.10.0.0LIT(config-router)#network 163.10.0.0

LIE(config)#router ripLIE(config-router)#network 176.10.0.0LIE(config-router)#network 162.10.0.0LIE(config-router)#network 163.10.0.0

Now you are able to ping any router from any other router.

Page 10: Simulation of four router using boson

11

IP addressing to all PC’s

Now we assign the ip to all PC’s in the networkWe select the all PC’s one by one from toolbar and run the command.

C:>winipcfg.It will show us a dialogue box(below). For every PC run this command and assign the IP addresses. The assigned IP in this projects are:-LSBPC- 163.10.1.5Gateway-163.10.1.1

LIMPC- 161.10.1.6Gateway-161.10.1.2

LITPC- 163.10.1.8Gateway-163.10.1.2

LIEPC- 163.10.1.7Gateway-163.10.1.3

subnet mask is 255.255.255.0.

ping from LSB to LIT router.

Page 11: Simulation of four router using boson

11

Ping from LSBPC to LITPC

C:>ping 163.10.1.8Pinging 163.10.1.8 with 32 bytes of data:

Reply from 163.10.1.8: bytes=32 time=60ms TTL=241Reply from 163.10.1.8: bytes=32 time=60ms TTL=241Reply from 163.10.1.8: bytes=32 time=60ms TTL=241Reply from 163.10.1.8: bytes=32 time=60ms TTL=241Reply from 163.10.1.8: bytes=32 time=60ms TTL=241

Ping statistics for 163.10.1.8: Packets: Sent = 5, Received = 5, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 50ms, Maximum = 60ms, Average = 55ms