School of Computer Science and Engineering
Lab Assessment – I, Feb 2021
B-Tech Computer Science and Engineering
Course Code : CSE 1004
Course Name : Network & Communication lab
Slot : L25+L26
1. A) Write a C program to print the IP address of “www.google.com”.
B) Write a C program to print the IP address of “localhost”.
Note: Simulate in linux environment( Algorithm, Coding, Implementation
Snapshot)
2. Design the following network configuration using packet tracer:-
a) 1 Server (type “Reg.No –PT”)
b) 10 PC’s
c) 4 Laptops
d) 3 Routers
e) 5 Switches
i) Type all the names using label option ( Type your reg.number as a server name)
ii) Assign IP address to all PC’s – Using Class B IP address
iii) Implement DHCP to all Laptops – Using Class C IP address
iv) Assign IP address to Server – Using Class A IP address
v) Make the proper cable configuration between all the devices
vi) Enclose the following screenshot ( Switch MAC address table ; Simulate Ping
command; Simulate IP config command ; Simulate simple PDU )