0% found this document useful (0 votes)
18 views6 pages

BCSL 056 Free Solved Assignment by ISM

The document is a solved assignment for the BCA course BCSL-056, focusing on Network Programming and Administration Lab for the academic year 2023-2024. It provides detailed steps to configure a DHCP server on a Linux operating system, including installation, configuration file editing, and sorting IP addresses. Additionally, it includes an example of a DHCP configuration file with network and DNS settings.

Uploaded by

Sewram Sewlochan
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)
18 views6 pages

BCSL 056 Free Solved Assignment by ISM

The document is a solved assignment for the BCA course BCSL-056, focusing on Network Programming and Administration Lab for the academic year 2023-2024. It provides detailed steps to configure a DHCP server on a Linux operating system, including installation, configuration file editing, and sorting IP addresses. Additionally, it includes an example of a DHCP configuration file with network and DNS settings.

Uploaded by

Sewram Sewlochan
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/ 6

IGNOU | BCA

2023-2024

F R E E

SOLVED
ASSIGNMENT
BCSL-056
Network Programming and
Administration Lab

Prepared by

730-339-3555
www.ignoustudymentor.com
@ism_ignoustudymentor_
ISM - IGNOU STUDY MENTOR
Youtube Channel and
Get a Complete Solution
for IGNOU Students

www.ignoustudymentor.com
STEP 1
www.ignoustudymentor.com

STEP 2

730-339-3555
BCA Solved Assignment 2023-2024

BCSL-056
NETWORK PROGRAMMING AND
ADMINISTRATION LAB [SEM-5]

Ques.2(b) Configure the DHCP server on the Linux operating system. Write
all the steps and also, sort each column of the table and show the result.
Ans. The steps on how to configure the DHCP server on the Linux operating system:

1. Install the DHCP server package. sudo apt-get install isc-dhcp-server


2. Edit the DHCP configuration file. sudo nano /etc/dhcp/dhcpd.conf
3. In the DHCP configuration file, you need to specify the following information:

The network that the DHCP server will serve.


The range of IP addresses that the DHCP server will lease.
The default gateway for the network.
The DNS servers for the network.

4. Save and close the DHCP configuration file.


5. Start the DHCP server. sudo service isc-dhcp-server start
6. To sort each column of the table, you can use the `sort` command. For example, to sort the IP
addresses in ascending order, you would use the following command:

sort-k 1 /etc/dhcp/dhcpd.conf

To sort the IP addresses in descending order, you would use the following command:

sort-k 1-r /etc/dhcp/dhcpd.conf

E
FRE

IGNOU SOLVED GUESS PAPER


Get IGNOU Important Questions with Answer,Video, PDF.

730-339-3555
BCA Solved Assignment 2023-2024

BCSL-056
NETWORK PROGRAMMING AND
ADMINISTRATION LAB [SEM-5]
You can also sort by other columns, such as the hostname or the lease time.

Here is an example of a DHCP configuration file:

#This is the DHCP configuration file

#Thenetwork that the DHCP server will serve network 192.168.1.0 netmask 255.255.255.0

#Therange of IP addresses that the DHCP server will lease range 192.168.1.10 192.168.1.254

#Thedefault gateway for the network default-gateway 192.168.1.1

#TheDNSservers for the network

dns-server 192.168.1.1
dns-server 8.8.8.8

E
FRE

IGNOU SOLVED ASSIGNMENTS


Get IGNOU Solved Assignments for all IGNOU courses

730-339-3555
Follow :
ism_ignoustudymentor_

Join Telegram Group :


ism_ignoustudymentor

Youtube Channel
ISM - IGNOU Study MENTOR

Website
www.ignoustudymentor.com

730-339-3555

You might also like