0% found this document useful (0 votes)
2 views71 pages

Advanced Networking Concepts

The document is a project report submitted by Mr. Rajigare Prathamesh Arun for a Master of Science in Computer Science at the University of Mumbai. It details practical exercises involving the creation of networks using various routing protocols such as RIPv2, OSPF, and BGP, including configuration steps and network setups. The report concludes with successful establishment of connectivity for each networking scenario presented.

Uploaded by

Prathamesh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views71 pages

Advanced Networking Concepts

The document is a project report submitted by Mr. Rajigare Prathamesh Arun for a Master of Science in Computer Science at the University of Mumbai. It details practical exercises involving the creation of networks using various routing protocols such as RIPv2, OSPF, and BGP, including configuration steps and network setups. The report concludes with successful establishment of connectivity for each networking scenario presented.

Uploaded by

Prathamesh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 71

A Project Report Submitted in Fulfillment of the Degree of

MASTER OF SCIENCE

IN

COMPUTER SCIENCE

YEAR 2023-2024

By
Mr. Rajigare Prathamesh Arun

(Application Id : 32890)

Under the Guidance of

Prof. Trupti Rongare

Institute of Distance and Open Learning

Vidya Nagari, Kalina, Santacruz East - 400098.

University of Mumbai
Institute of Distance and Open Learning
Vidya Nagari, Kalina, Santacruz East – 400098

CERTIFICATE

This is to certify that,

Mr. Rajigare Prathamesh


, ApplicationID - 32890, Student of

Master of Science in Computer Science has

Satisfactorily Completed the Practical in

Advanced Networking Concepts.

Name Application ID

Mr. Rajigare Prathamesh Arun 32890

Subject In-charge Signature of Examiner


Prof. Trupti Rongare
INDEX

Sr.No Date Practicals Signature


M.Sc.Computer Science Part I 2023-2024

Practical 1
Aim: Create a network with routers with RIPv2 and each router associated
network will have minimum three PC. Show connectivity

STEP 1: Add the serial slot to the router

1. Switch off the router


2. Add the serial interface by dragging the slot to the router
3. Switch on the router

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

STEP 2: Add the connection between the devices and name the DEVICES AND THEIR
Interfaces

Step 3: Configure the router with their IP addresses

Device INTERFACE IP ADDRESS SUBNET MASK DEFAULT


GATEWAY

R1 G0/0 192.168.10.1 255.255.255.192 N/A

S0/0/0 10.0.0.1 255.255.255.252 N/A

R2 G0/0 172.50.1.1 255.255.240.0 N/A

S0/0/0 10.10.0.2 255.255.255.252 N/A

PC 0 NIC 192.168.10.2 255.255.255.192 192.168.10.1

PC 1 NIC 192.168.10.3 255.255.255.192 192.168.10.1

PC 2 NIC 192.168.10.4 255.255.255.192 192.168.10.1

PC 3 NIC 192.168.10.5 255.255.255.192 192.168.10.1

PC 4 NIC 172.50.1.2 255.255.240.0 172.50.1.1

PC 5 NIC 172.50.1.3 255.255.240.0 172.50.1.1

PC 6 NIC 172.50.1.4 255.255.240.0 172.50.1.1

PC 7 NIC 172.50.1.5 255.255.240.0 172.50.1.1

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

STEP 4: configure pc with IP address

STEP 5: Mark the networks for that logically and the IP address with subnet mask
192.168.1.1 and 255.255.255.0

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

RIP VERSION 2 CONFIGURATION (connected network)

1. Click on the router


2. Go to the cli tab
enable
Conf t
Router rip
Version 2
No auto-summary
Network 10.0.0.0
Network 192.168.10.0
or
3. Go to config tab click on rip
4. Add the network address of which it is connected
5. Click on add button
6 save the changes in global – settings-save

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

AT PC 0 and PC 4

CONCLUSION

Hence RIP V2 established.

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Practical 2

Aim: Create a network with three routers with OSPF and each router associated network
will have minimum three PC. Show connectivity.

Step 1) Select 3 Routers, 3 Switches and 3 PC for each router

Step 2) Add the serial slot to the router

1. Switch off the router

2. Add the serial interface by dragging the slot to the router

3. Switch on the router

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Step 3) Add the connection between the devices and name the DEVICES AND THEIR Interfaces

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Step 4) Configure the router and other devices with their IP addresses

Device INTERFACE IP ADDRESS SUBNET MASK DEFAULT


GATEWAY
R0 FE0/0 192.168.1.4 255.255.255.0 N/A
S0/0/0 192.168.4.1 255.255.255.0 N/A
R1 FE0/0 192.168.2.4 255.255.255.0 N/A
S0/0/0 192.168.4.2 255.255.255.0 N/A
S0/1/0 192.168.5.1 255.255.255.0 N/A
R2 FE0/0 192.168.3.4 255.255.255.0 N/A
S0/0/0 192.168.5.2 255.255.255.0 N/A
PC 00 NIC 192.168.1.2 255.255.255.0 192.168.1.4
PC 01 NIC 192.168.1.3 255.255.255.0 192.168.1.4
PC 02 NIC 192.168.1.4 255.255.255.0 192.168.1.4
PC 11 NIC 192.168.2.1 255.255.255.0 192.168.2.4
PC 12 NIC 192.168.2.2 255.255.255.0 192.168.2.4
PC 13 NIC 192.168.2.3 255.255.255.0 192.168.2.4
PC 20 NIC 192.168.3.1 255.255.255.0 192.168.3.4
PC 21 NIC 192.168.3.2 255.255.255.0 192.168.3.4
PC 22 NIC 192.168.3.3 255.255.255.0 192.168.3.4

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Step 5) Connect everything and Mark the networks

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Step 6) OSPF Configuration for each Router

1. Click on the router

2. Go to the cli tab

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

R0:

Router>enable

Router#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#router ospf 1

Router(config-router)#network 192.168.1.0 0.0.0.255 area 1

Router(config-router)#network 192.168.4.0 0.0.0.255 area 1

Router(config-router)#exit

Router(config)#exit

Router#

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

R2

Router>enable

Router#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#router ospf 2

Router(config-router)#network 192.168.3.0 0.0.0.255 area 2

Router(config-router)#network 192.168.5.0 0.0.0.255 area 2

Router(config-router)#exit

Router(config)#exit

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

R1

Router>enable

Router#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#router ospf 3

Router(config-router)#network 192.168.2.0 0.0.0.255 area 0

Router(config-router)#network 192.168.4.0 0.0.0.255 area 1

Router(config-router)#network 192.168.5.0 0.0.0.255 area 2

Router(config-router)#exit

Router(config)#exit

Router#

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Step 7) Now pass the packets and check the result below.

1) Within network communication

Network 192.168.1.0

Network 192.168.2.0

Network 192.168.3.0

2) PC to router communication

3) Router to router communication

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

4) Network to network communication via PC

Conclusion:

Hence, we have created a network with three routers with OSPF and established connectivity
successfully.

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Practical 3
Aim: Create a network with three routers with BGP and each router associated network will
have minimum three PC. Show connectivity.

Step 1: Connect 3 Routers and each router connected to 3 pc with the help of switches.

Step 2: Set the module of each router in the physical device view by simply adding the WIC-IT
module and make sure to turn off the power of the device while adding the module, once the
module is added just turn on the power.

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Step 3: Set an IP address for all the pc and routers.

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

For router 3

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

For router 4

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

For router 5

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Step 4: Set the static IP address of serial interface of each router and make sure to ON it.

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Step 5: Establish the network area between each router connected with 3 pc. Also establish the
network area between routers and PCs.

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Step 6: Similarly make another connection of 3 routers each connected with 3 pc just beside this
diagram.

Step 7: Define an area for both the configurations.

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Step 8: Connect both the area's router and establish a network area between them.

Step 9: Add the network area of each routers using RIP routing configuration in the first area.

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Step 10: Now add the network area of each router of the second area using ospf commands.

Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router ospf 1
Router(config-router)#network 192.168.6.0 0.0.0.255 area 100
Router(config-router)#network 192.168.9.0 0.0.0.255 area 100
Router(config-router)#network 192.168.20.0 0.0.0.255 area 100
Router(config-router)#exit
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console

01:23:12: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.10.2 on Serial0/0/0 from LOADING to FULL,


Loading Done

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router ospf 1
Router(config-router)#network 192.168.7.0 0.0.0.255 area 100
Router(config-router)#network 192.168.9.0 0.0.0.255 area 100
Router(config-router)#network 192.168.10.0 0.0.0.255 area 100
Router(config-router)#exit
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console

01:28:36: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.10.3 on Serial0/1/0 from LOADING to FULL,


Loading Done

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router ospf 1
Router(config-router)#network 192.168.8.0 0.0.0.255 area 100
Router(config-router)#network 192.168.10.0 0.0.0.255 area 100
Router(config-router)#exit
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console

01:28:14: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.10.2 on Serial0/1/0 from LOADING to FULL,


Loading Done

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Step 11: Establish a bgp protocol between both the areas using commands.

for area 200:

Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router bgp 200
Router(config-router)#network 192.168.3.0
Router(config-router)#network 192.168.20.0
Router(config-router)#neighbor 192.168.6.1 remote-as 100
Router(config-router)#neighbor 192.168.6.4 remote-as 100
Router(config-router)#neighbor 192.168.20.3 remote-as 100
Router(config-router)%BGP-5-ADJCHANGE: neighbor 192.168.20.3 Up
%BGP-5-ADJCHANGE: neighbor 192.168.6.4 Up
%BGP-5-ADJCHANGE: neighbor 192.168.20.3 Up

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

for area 100:

Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router bgp 100
Router(config-router)#network 192.168.6.0
Router(config-router)#network 192.168.20.0
Router(config-router)#neighbor 192.168.3.3 remote-as 200
Router(config-router)#neighbor 192.168.3.4 remote-as 200
Router(config-router)#neighbor 192.168.20.2 remote-as 200
Router(config-router)#%BGP-5-ADJCHANGE: neighbor 192.168.20.2 Up
%BGP-5-ADJCHANGE: neighbor 192.168.20.2 Up
%BGP-5-ADJCHANGE: neighbor 192.168.3.4 Up

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Step 12: Now pass the packets and check the result below.

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Conclusion:
Hence, we have created a network with three routers with BGP and established connectivity
successfully.

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Practical 4

Aim: Configure DHCP server and client for DHCP service.

STEP 1: Prepare the above setup.

In the above figure we have 2 servers and 1 router respectively.

STEP 2: Assign the servers with their IP addresses

Device INTERFACE IP ADDRESS SUBNET MASK DEFAULT


GATEWAY

Server0 Fa0 172.168.10.2 255.255.255.0 172.168.10.1

Server1 Fa0 192.168.10.2 255.255.255.0 192.168.10.1

Step 3: Configure the servers to turn on the DHCP service

1. Go to Server0.
2. Here, select Services tab.
3. Go to DHCP.
4. Add the default gateway 172.168.10.1.
5. Assign the Start IP address range e.g., 172.168.10.30.
6. Click on SAVE.
7. Now turn ON the service.

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

8. For the Server1, repeat the same above steps with default gateway 192.168.10.1.

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Step 4: Configure the router with their IP addresses

Device INTERFACE IP ADDRESS SUBNET MASK DEFAULT


GATEWAY

Router0 Fa0/0 172.168.10.1 255.255.255.0 N/A

Fa0/1 192.168.10.1 255.255.255.0 N/A

NOTE: Remember to turn ON the Port Status on the Fa0/0 and Fa0/1

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

STEP 5: Configure DHCP on all PC’s

1. Go to the PC
2. Select Desktop tab
3. Select “IP Configuration”
4. Now here, select DHCP
5. This will automatically assign IP address to the respective PC.
6. Follow the above steps for all the PC’s by enabling DHCP in the IP configuration.

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

CONCLUSION:

Hence IP addresses get automatically assigned to the PCs via the configured DHCP server.

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Practical No 5

Aim: Create virtual PC based network using virtualization software and virtual NIC

Software used: VMware (for virtualization and virtual NIC)

Steps:

1. Open VMware software.

2. There we need two operating systems already setup/installed.

3. In the VMware software, edit the configuration for both the Virtual machines(VM’s) eg: Ubuntu
and CentOS machines here.

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

4. Click on the “Network Adapter” option.

5. Change the option to “Custom:Specific virtual network” and select the network e.g: VMnet0.

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

6. For both the Virtual machines, change the network adapter and set the same virtual network.
7. Now Power On both the VM’s.
8. Now after the VM’s power on, open the “Terminal”
9. Type the command “ifconfig” to check the IP configuration of both the machines. Here we only
need the IP address of both the VM’s.

Note: In case ifconfig command does not work, install the package using the command – “sudo
apt-get install net-tools”

10. Now we know the IP address of both the machines.


11. Now try pinging both the VM’s with the ping command : “ping <IP address>”

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

12. Since, both the VM’s are on the same virtual network(NIC), pings are successful for both the
VM’s and hence connectivity is established.

OUTPUT:

Here the pings are successful for both the VM’s and hence connectivity is established, since both the
VM’s are on the same network. In this way, we have created a virtual PC based network using
virtualization software and virtual NIC

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Practical 6

Aim: Create network cloud and hosts

Step 1: Create the below diagram.

Step2: Add the interface WMP 300N to all the PC’s.

Select PC in physical -> Switch off the device

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Step 3: Configure PC, laptop and router with static IP.

Add IP address and default gateway address.

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Step 4: Configure router’s default gateway for wireless networking.

In Laptop -> Desktop -> Web browser -> Add “default gateway address” in url and click go

add username and password

Username = admin

Password = admin

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Again, here go to Administration and add new router password -> click save setting -> continue

Go to Wireless tab and add network name r3d0x -> save -> continue

Note: You can add your own custom name and password to the router SSID.

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

After Continue ->> add passphrase “r00t@r3d0x:~#” -> save and continue

Goto pc -> Desktop -> PC Wireless -> in connect tab -> select signal -> r3d0x -> connect

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Add pre-configured key of passphrase “r00t@r3d0x:~#” and continue

Similarly connect all the pcs

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

All the connections are now done and established. We can see the output as “Successful” when
connecting via Laptop to PC0, Laptop to PC1, PC0 to PC2 and PC2 to Laptop.

Alternatively, we can check the connectivity by the ping method too.

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

For this, on PC0, go to Desktop  command prompt and ping with another PC IP addresses.

CONCLUSION:

Hence, we have successfully created a network cloud and established connectivity between its hosts.

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

Practical 7

Aim: Create simple Adhoc network (Omnet)

Software used: Omnet++ (v5.7)

STEP 1: Launch Omnet++ software

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

The above screen will open.

STEP 2: Now open the sample files

1. In the left side on “Project Explorer”, click on “inet4”


2. Then click on examples  adhoc  idealwirelessasd

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

3. Open the two files “NetIdealRadios.ned” and “omnetpp.ini” by double clicking them.

STEP 3: Now run the simulation

1. On the top toolbar, click on Run. This can also be done by pressing “Ctrl+F11”, this will
automatically run the project.

2. The following output will be shown:

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

4. Again, click on Run here from the above toolbar.

5. The reply gets passed between the two hosts.

Name Advance Networking


M.Sc.Computer Science Part I 2023-2024

6. In case we want to increase the number of hosts, this can be done. We need to go to

File Set up a configurationchange config parameter to “Net.numHosts”  click


OK Input the number of hosts required (e.g.: 7) Click on OK

This will be the output screen when number of hosts selected is “7”.

CONCLUSION:

Hence simple adhoc network is tested and verified.

Name Advance Networking

You might also like