<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: How to Install and Configure Multihomed ISC DHCP Server on Debian Linux	</title>
	<atom:link href="https://www.tecmint.com/install-and-configure-multihomed-isc-dhcp-server-on-debian-linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/install-and-configure-multihomed-isc-dhcp-server-on-debian-linux/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Sat, 01 Dec 2018 13:28:55 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Mohammed Hafeezuddin Jeelani		</title>
		<link>https://www.tecmint.com/install-and-configure-multihomed-isc-dhcp-server-on-debian-linux/comment-page-1/#comment-1074901</link>

		<dc:creator><![CDATA[Mohammed Hafeezuddin Jeelani]]></dc:creator>
		<pubDate>Sat, 01 Dec 2018 13:28:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=12409#comment-1074901</guid>

					<description><![CDATA[Hello Guys,

I do remember my first dhcp server I ever set up was a Linux machine 12 years ago. Every time people say windows dhcp server for vlans and I smiled.

Any way keep in mind, Linux kernel which have support for &lt;strong&gt;802.q&lt;/strong&gt; will able to serve dhcp service also.

For example here:
&lt;pre&gt;
# yum install dhcpd      (for fedora or rhel /cent)
# dnf install dhcpd      (for fedora 22+)
# apt-get install dhcpd  (for Ubuntu or Debian)
&lt;/pre&gt;
Create virtual interfaces, you do no need more physical interfaces, in example to make 3 &lt;strong&gt;vlan&lt;/strong&gt; 10.10.10.x, 10.10.20.x, and 10.10.30.x
&lt;pre&gt;
# nmcli con modify type vlan ifname vlan10 dev ens33 id 10 ip4 10.10.10.1/24 gw4 10.10.10.254
# nmcli con add type vlan ifname vlan10 dev ens33 id 10 ip4 10.10.10.1/24 gw4 10.10.10.254
# nmcli con add type vlan ifname vlan20 dev ens33 id 20 ip4 10.10.20.1/24 gw4 10.10.20.254
# nmcli con add type vlan ifname vlan30 dev ens33 id 30 ip4 10.10.30.1/24 gw4 10.10.30.254
&lt;/pre&gt;
This for fedora or rhel latest versions.

For Ubuntu and Debian, command is:
&lt;pre&gt;
# vconfig add ens33 10
# vconfig add ens33 20
&lt;/pre&gt;
Then, configure the network settings for the VLAN interfaces:
&lt;pre&gt;
# ip addr add 10.10.10.1/24 dev ens33.10
&lt;/pre&gt;
Bring up the VLAN interface:
&lt;pre&gt;
# ip link set eth33.10 up 
&lt;/pre&gt;
Do for all interfaces in Ubuntu and then check ip address and see virutal interfaces pinging..

Nex, open &lt;strong&gt;dhcpd.conf&lt;/strong&gt; file and edit as follows.
&lt;pre&gt;
# option definitions common to all supported networks...
option domain-name &quot;example.org&quot;;
option domain-name-servers ns1.example.org, ns2.example.org;

default-lease-time 600;
max-lease-time 7200;

# Use this to enble / disable dynamic dns updates globally.
#ddns-update-style none;

# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
#authoritative;

# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;

# No service will be given on this subnet, but declaring it helps the 
# DHCP server to understand the network topology.

subnet 10.10.0.0 netmask 255.255.0.0 {
}

# This is a very basic subnet declaration.

subnet 10.10.10.0 netmask 255.255.255.0 {
  range 10.10.10.1 10.10.10.20;
  option routers 10.10.10.1;
}
subnet 10.10.20.0 netmask 255.255.255.0 {
  range 10.10.20.1 10.10.20.20;
  option routers 10.10.20.1;
}
  subnet 10.10.30.0 netmask 255.255.255.0 {
  range 10.10.30.1 10.10.30.20;
  option routers 10.10.30.1;
}
&lt;/pre&gt;
save the file and start the service and your good to go.

Connect to trunk port of switch and check it. Any doubts, do let me know.

my email :hafeezisbad@yahoo.com
]]></description>
			<content:encoded><![CDATA[<p>Hello Guys,</p>
<p>I do remember my first dhcp server I ever set up was a Linux machine 12 years ago. Every time people say windows dhcp server for vlans and I smiled.</p>
<p>Any way keep in mind, Linux kernel which have support for <strong>802.q</strong> will able to serve dhcp service also.</p>
<p>For example here:</p>
<pre>
# yum install dhcpd      (for fedora or rhel /cent)
# dnf install dhcpd      (for fedora 22+)
# apt-get install dhcpd  (for Ubuntu or Debian)
</pre>
<p>Create virtual interfaces, you do no need more physical interfaces, in example to make 3 <strong>vlan</strong> 10.10.10.x, 10.10.20.x, and 10.10.30.x</p>
<pre>
# nmcli con modify type vlan ifname vlan10 dev ens33 id 10 ip4 10.10.10.1/24 gw4 10.10.10.254
# nmcli con add type vlan ifname vlan10 dev ens33 id 10 ip4 10.10.10.1/24 gw4 10.10.10.254
# nmcli con add type vlan ifname vlan20 dev ens33 id 20 ip4 10.10.20.1/24 gw4 10.10.20.254
# nmcli con add type vlan ifname vlan30 dev ens33 id 30 ip4 10.10.30.1/24 gw4 10.10.30.254
</pre>
<p>This for fedora or rhel latest versions.</p>
<p>For Ubuntu and Debian, command is:</p>
<pre>
# vconfig add ens33 10
# vconfig add ens33 20
</pre>
<p>Then, configure the network settings for the VLAN interfaces:</p>
<pre>
# ip addr add 10.10.10.1/24 dev ens33.10
</pre>
<p>Bring up the VLAN interface:</p>
<pre>
# ip link set eth33.10 up 
</pre>
<p>Do for all interfaces in Ubuntu and then check ip address and see virutal interfaces pinging..</p>
<p>Nex, open <strong>dhcpd.conf</strong> file and edit as follows.</p>
<pre>
# option definitions common to all supported networks...
option domain-name "example.org";
option domain-name-servers ns1.example.org, ns2.example.org;

default-lease-time 600;
max-lease-time 7200;

# Use this to enble / disable dynamic dns updates globally.
#ddns-update-style none;

# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
#authoritative;

# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;

# No service will be given on this subnet, but declaring it helps the 
# DHCP server to understand the network topology.

subnet 10.10.0.0 netmask 255.255.0.0 {
}

# This is a very basic subnet declaration.

subnet 10.10.10.0 netmask 255.255.255.0 {
  range 10.10.10.1 10.10.10.20;
  option routers 10.10.10.1;
}
subnet 10.10.20.0 netmask 255.255.255.0 {
  range 10.10.20.1 10.10.20.20;
  option routers 10.10.20.1;
}
  subnet 10.10.30.0 netmask 255.255.255.0 {
  range 10.10.30.1 10.10.30.20;
  option routers 10.10.30.1;
}
</pre>
<p>save the file and start the service and your good to go.</p>
<p>Connect to trunk port of switch and check it. Any doubts, do let me know.</p>
<p>my email :hafeezisbad@yahoo.com</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: add		</title>
		<link>https://www.tecmint.com/install-and-configure-multihomed-isc-dhcp-server-on-debian-linux/comment-page-1/#comment-815065</link>

		<dc:creator><![CDATA[add]]></dc:creator>
		<pubDate>Sat, 10 Sep 2016 15:46:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=12409#comment-815065</guid>

					<description><![CDATA[its not control protokoll ist configuration protokoll]]></description>
			<content:encoded><![CDATA[<p>its not control protokoll ist configuration protokoll</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Rob Turner		</title>
		<link>https://www.tecmint.com/install-and-configure-multihomed-isc-dhcp-server-on-debian-linux/comment-page-1/#comment-812188</link>

		<dc:creator><![CDATA[Rob Turner]]></dc:creator>
		<pubDate>Fri, 02 Sep 2016 14:29:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=12409#comment-812188</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/install-and-configure-multihomed-isc-dhcp-server-on-debian-linux/comment-page-1/#comment-811976&quot;&gt;D&#039;jems Markenzy Mortimer&lt;/a&gt;.

D&#039;jems,

This particular server only has one NIC. On the network that it was used in, the Cisco router was setup with an ip helper address for other vlans.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/install-and-configure-multihomed-isc-dhcp-server-on-debian-linux/comment-page-1/#comment-811976">D&#8217;jems Markenzy Mortimer</a>.</p>
<p>D&#8217;jems,</p>
<p>This particular server only has one NIC. On the network that it was used in, the Cisco router was setup with an ip helper address for other vlans.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: D'jems Markenzy Mortimer		</title>
		<link>https://www.tecmint.com/install-and-configure-multihomed-isc-dhcp-server-on-debian-linux/comment-page-1/#comment-811976</link>

		<dc:creator><![CDATA[D'jems Markenzy Mortimer]]></dc:creator>
		<pubDate>Thu, 01 Sep 2016 21:04:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=12409#comment-811976</guid>

					<description><![CDATA[How many NICs are attached to this server exactly?  I&#039;m not too keen on the NIC bonding in Linux yet.  Can you elucidate?]]></description>
			<content:encoded><![CDATA[<p>How many NICs are attached to this server exactly?  I&#8217;m not too keen on the NIC bonding in Linux yet.  Can you elucidate?</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
