Send dhcp-users mailing list submissions to
        dhcp-users@lists.isc.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/dhcp-users
or, via email, send a message with subject or body 'help' to
        dhcp-users-requ...@lists.isc.org

You can reach the person managing the list at
        dhcp-users-ow...@lists.isc.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of dhcp-users digest..."


Today's Topics:

   1. Help in configuring DHCP server on ubuntu 18.04 (trgapp16)


----------------------------------------------------------------------

Message: 1
Date: Tue, 21 Feb 2023 13:58:57 +0530
From: "trgapp16" <trgap...@cdot.in>
To: dhcp-users@lists.isc.org
Subject: Help in configuring DHCP server on ubuntu 18.04
Message-ID: <20230221082432.m44...@cdot.in>
Content-Type: text/plain; charset="utf-8"

Hello,

I am setting up new ISC DHCP Server (version 4.3.5)on Ubuntu 18.04. This system 
is configured with single NIC.

Need to configure DHCP server for multiple leases on different Class C networks

Contents of? /etc/dhcpd/dhcpd.conf file?

authoritative;

shared-network companynetwork {

subnet 192.168.40.0 netmask 255.255.255.0{ 
?range 192.168.40.150 192.168.40.160 ; 
option domain-name-server 8.8.8.8; 
option subnet-mask 255.255.255.0; 
option routers 192.168.40.1; 
option broadcast-address 192.168.40.255; 
default-lease-time 600; 
max-lease-time 7200; 
} 
subnet 10.10.10.0 netmask 255.255.255.0{ 
?range 10.10.10.10 10.10.10.20; 
?option subnet-mask 255.255.255.0; 
?option routers 10.10.10.1; 
?option broadcast-address 10.10.10.255; 
?default-lease-time 600; 
?max-lease-time 7200; 
} 
subnet 192.168.37.0 netmask 255.255.255.0{ 
?range 192.168.37.131 192.168.37.140; 
?option subnet-mask 255.255.255.0; 
?option routers 192.168.37.1; 
?default-lease-time 600; 
?max-lease-time 7200; 
} 
}

Contents of/etc/netplan/50-cloud-init.yaml??? -----?? network configuration file

network: 
??? version: 2 
??? ethernets: 
?????? ens160: 
?????????????? addresses: 
?????????????????? - 192.168.40.29/24 
?????????????? gateway4: 192.168.40.1 
?????????????? nameservers: 
?????????????????? addresses: [8.8.8.8]

With this configuration, i get DHCP addresses from192.168.40.0 pool only, not 
from other pools.

Googled and found some people suggesting to configure the system network for 
trunk to handle multiple network pools.

Any help is greatly appreciated

Thanks in advance

Regards,

Mounika M

### Please consider the environment and print this email only if necessary . Go 
Green ### 
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
 
Disclaimer : 
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. 
If you are not the intended recipient you are notified that disclosing, 
copying, distributing or taking any action in reliance on the contents of this 
information is strictly prohibited. The sender does not accept liability 
for any errors or omissions in the contents of this message, which arise as a 
result.

-- 
Open WebMail Project (http://openwebmail.org)

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://lists.isc.org/pipermail/dhcp-users/attachments/20230221/0dc0f181/attachment-0001.htm>

------------------------------

Subject: Digest Footer

_______________________________________________
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
dhcp-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users


------------------------------

End of dhcp-users Digest, Vol 171, Issue 10
*******************************************

Reply via email to