0% found this document useful (1 vote)
234 views

Netcom 1

This document contains instructions for a network and communication lab assessment with two parts. The first part instructs students to write C programs to print the IP addresses of "www.google.com" and "localhost" in a Linux environment. The second part instructs students to design a network configuration in Packet Tracer with specific devices and IP address assignments, implement DHCP for laptops, and provide screenshots of switch MAC tables, ping commands, IP configurations, and PDU simulations.

Uploaded by

Vicky V
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
234 views

Netcom 1

This document contains instructions for a network and communication lab assessment with two parts. The first part instructs students to write C programs to print the IP addresses of "www.google.com" and "localhost" in a Linux environment. The second part instructs students to design a network configuration in Packet Tracer with specific devices and IP address assignments, implement DHCP for laptops, and provide screenshots of switch MAC tables, ping commands, IP configurations, and PDU simulations.

Uploaded by

Vicky V
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

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 )

You might also like