<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>directadmin ip gateway &#8211; VeriTeknik</title>
	<atom:link href="https://www.veriteknik.net.tr/en/tag/directadmin-ip-gateway/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.veriteknik.net.tr/en/</link>
	<description>VeriTeknik Bilişim &#124; VeriTeknik Bilişim</description>
	<lastBuildDate>Mon, 08 Oct 2012 13:04:56 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>Adding New IP to DirectAdmin From Different Subnet and Gateway</title>
		<link>https://www.veriteknik.net.tr/en/adding-new-ip-to-directadmin-from-different-subnet-and-gateway/</link>
					<comments>https://www.veriteknik.net.tr/en/adding-new-ip-to-directadmin-from-different-subnet-and-gateway/#respond</comments>
		
		<dc:creator><![CDATA[Mustafa Emre Aydın]]></dc:creator>
		<pubDate>Mon, 08 Oct 2012 13:04:56 +0000</pubDate>
				<category><![CDATA[DirectAdmin]]></category>
		<category><![CDATA[LINUX]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[directadmin ip gateway]]></category>
		<guid isPermaLink="false">http://www.plugged.in/?p=639</guid>

					<description><![CDATA[<p>Earlier I&#8217;ve posted an article describing how to add multiple ip addresses on a single network device. Even though you can add IP addresses on Direct Admin using it&#8217;s GUI, unfortunately the GUI fails if the netmask or the gateway is different. So if you have a server running Direct Admin with the IP address [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.veriteknik.net.tr/en/adding-new-ip-to-directadmin-from-different-subnet-and-gateway/">Adding New IP to DirectAdmin From Different Subnet and Gateway</a> appeared first on <a rel="nofollow" href="https://www.veriteknik.net.tr/en/">VeriTeknik</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Earlier I&#8217;ve posted an <a title="Bind Multiple IP Addresses on a Single Network Card IPv4 &amp; IPv6" href="http://www.plugged.in/linux/bind-multiple-ip-addresses-on-a-single-network-card.html">article</a> describing how to add multiple ip addresses on a single network device.</p>
<p>Even though you can add IP addresses on Direct Admin using it&#8217;s GUI, unfortunately the GUI fails if the netmask or the gateway is different. So if you have a server running Direct Admin with the IP address 10.10.10.5 and you want to add a new IP address like 192.168.16.7 then you&#8217;ll run into some problems.</p>
<p>To deal with it, we can add the IP&#8217;s manually. You can either add the IP&#8217;s to a new device, or an alias to a present device.</p>
<p>Let&#8217;s first learn what device we&#8217;re using.</p>
<pre class="brush: bash; gutter: true; first-line: 1">ifconfig</pre>
<p>This will probably return something like &#8220;eth0&#8221; which is he device.<br />
If you&#8217;d like to add your new IP as an alias to this one, simple create the file below:</p>
<pre class="brush: bash; gutter: true; first-line: 1">vi /etc/sysconfig/network-scripts/ifcfg-eth0:1</pre>
<pre class="brush: text; gutter: true; first-line: 1">DEVICE=eth0:1
BOOTPROTO=none
ONBOOT=yes
IPADDR=192.168.10.7
NETMASK=255.255.255.248</pre>
<p>Note that there&#8217;s no Gateway specified here, so if you&#8217;d like to add an IP address with a different gateway, create the file below (with your own settings ofcouse)</p>
<pre class="brush: bash; gutter: true; first-line: 1">vi /etc/sysconfig/network-scripts/ifcfg-eth1</pre>
<pre class="brush: text; gutter: true; first-line: 1">DEVICE=eth1
BOOTPROTO=static
ONBOOT=yes
HWADDR=AA:BB:CC:DD:EE:FF
IPADDR=192.168.10.7
NETMASK=255.255.255.248
GATEWAY=192.168.10.1</pre>
<p>After this, just restart your network service. (Don&#8217;t forget that if you do anything wrong, you probably won&#8217;t be able to reach your server over network)</p>
<pre class="brush: bash; gutter: true; first-line: 1">service network restart</pre>
<p>The post <a rel="nofollow" href="https://www.veriteknik.net.tr/en/adding-new-ip-to-directadmin-from-different-subnet-and-gateway/">Adding New IP to DirectAdmin From Different Subnet and Gateway</a> appeared first on <a rel="nofollow" href="https://www.veriteknik.net.tr/en/">VeriTeknik</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.veriteknik.net.tr/en/adding-new-ip-to-directadmin-from-different-subnet-and-gateway/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">639</post-id>	</item>
	</channel>
</rss>
