<?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>ItsyourIP.com &#187; Redhat</title>
	<atom:link href="http://www.itsyourip.com/category/redhat/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.itsyourip.com</link>
	<description>Your gateway to Internet</description>
	<lastBuildDate>Sat, 24 Jan 2009 16:48:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<image>
<link>http://www.itsyourip.com</link>
<url>http://www.itsyourip.com/wp-content/mbp-favicon/Internet-Alt.ico</url>
<title>ItsyourIP.com</title>
</image>
		<item>
		<title>How to set the default gateway in Redhat Enterprise Linux</title>
		<link>http://www.itsyourip.com/redhat/how-to-set-the-default-gateway-in-redhat-enterprise-linux/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-set-the-default-gateway-in-redhat-enterprise-linux</link>
		<comments>http://www.itsyourip.com/redhat/how-to-set-the-default-gateway-in-redhat-enterprise-linux/#comments</comments>
		<pubDate>Wed, 30 Apr 2008 19:26:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Redhat]]></category>
		<category><![CDATA[default-gateway]]></category>
		<category><![CDATA[rhel]]></category>

		<guid isPermaLink="false">http://www.itsyourip.com/redhat/how-to-set-the-default-gateway-in-redhat-enterprise-linux/</guid>
		<description><![CDATA[The Default Gateway is the IP Address of a router or a routing device to which all the packet to a destination for which the server doesn&#39;t have a route will be forwarded to. Most of the servers in any network leave the routing job to the routers meaning there will be a default gateway [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p><!--adsense#content_336_280-->
<p>The Default Gateway is the IP Address of a router or a routing device to which all the packet to a destination for which the server doesn&#39;t have a route will be forwarded to. Most of the servers in any network leave the routing job to the routers meaning there will be a default gateway added to the system and very little (if any) static routes added to it. This makes management much easier.</p>
<p>This procedure should work on Redhat Enterprise Linux, Fedora, Centos.</p>
<p><span id="more-194"></span></p>
<p>The default gateway in Redhat Enterprise Linux is set in the <strong><em>/etc/network</em></strong> file.</p>
<p>Edit the file and the Default Gateway IP Address as follows:</p>
<blockquote><p><strong>rhel5# vi /etc/network</strong></p>
</blockquote>
<p>Add the following lines</p>
<p> <strong>NETWORKING=yes<br /> HOSTNAME=hostname.domain.com<br /> GATEWAY=192.168.1.1</strong></p>
<p>where HOSTNAME &#8211; sets the Hostname of the server or system</p>
<p>GATEWAY &#8211; sets the IP Address of the Default Gateway</p>
<p>This should add the default gateway to the server. For the changes to take effect, restart the network services as follows</p>
<blockquote><p><strong>rhel5# service network restart</strong></p>
</blockquote>
<p>or to just reread the interface config files</p>
<blockquote><p><strong>rhel5# service network reload</strong><br /> &nbsp;</p>
</blockquote>
<p>This should help. For information on adding or modifying IP Address <a href="http://www.itsyourip.com/redhat/how-to-addmodify-ip-address-in-redhat-enterprise-linux/" target="_blank" title="Add/Modify IP Address in Redhat Enterprise Linux">click here</a>. To add static routes in Redhat, <a href="http://www.itsyourip.com/Linux/howto-add-a-persistent-static-route-in-redhat-enterprise-linux/" target="_blank" title="Static Routes in Redhat Enterprise Linux">click here</a></p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.itsyourip.com%2Fredhat%2Fhow-to-set-the-default-gateway-in-redhat-enterprise-linux%2F';
  addthis_title  = 'How+to+set+the+default+gateway+in+Redhat+Enterprise+Linux';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
</div><!-- KonaBody -->]]></content:encoded>
			<wfw:commentRss>http://www.itsyourip.com/redhat/how-to-set-the-default-gateway-in-redhat-enterprise-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to add/modify IP Address in Redhat Enterprise Linux</title>
		<link>http://www.itsyourip.com/redhat/how-to-addmodify-ip-address-in-redhat-enterprise-linux/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-addmodify-ip-address-in-redhat-enterprise-linux</link>
		<comments>http://www.itsyourip.com/redhat/how-to-addmodify-ip-address-in-redhat-enterprise-linux/#comments</comments>
		<pubDate>Wed, 30 Apr 2008 19:13:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Redhat]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[ifconfig]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[netconfig]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[rhel]]></category>

		<guid isPermaLink="false">http://www.itsyourip.com/redhat/how-to-addmodify-ip-address-in-redhat-enterprise-linux/</guid>
		<description><![CDATA[Adding the IP Address in Redhat Enterprise Linux can be done by using the netconfig tool or by editing the network-scripts or by using the ifconfig command. While this procedure is tested on Redhat Enterprise Linux, I&#39;m sure it should work on CentOS, Fedora and older Redhat versions. Set IP Address using Netconfig Netconfig is [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p><!--adsense#content_336_280-->
<p>Adding the IP Address in Redhat Enterprise Linux can be done by using the netconfig tool or by editing the network-scripts or by using the ifconfig command. While this procedure is tested on Redhat Enterprise Linux, I&#39;m sure it should work on CentOS, Fedora and older Redhat versions.</p>
<p><span id="more-193"></span></p>
<p><strong><u>Set IP Address using Netconfig</u></strong></p>
<p>Netconfig is a utility in Redhat Enterprise Linux which allows you to add/modify the IP Address the system, the Netmask, default gateways and the Name Servers.</p>
<p>Launch Netconfig,</p>
<blockquote><p><strong>rhel5# /usr/bin/netconfig</strong></p>
</blockquote>
<p>This launches a window as follows:</p>
<p><a href="http://www.ncsu.edu/resnet/linux/netconfig.php"><img src="http://www.itsyourip.com/wp-content/uploads/netconfig.jpg" border="0" alt="Redhat Linux Netconfig" title="Redhat Linux Netconfig" width="529" height="394" /></a></p>
<p>For static IP uncheck the &quot;Use Dynamic IP configuration(BOOTP/DHCP)&quot;</p>
<p>Now, enter the IP Address, netmask, Default Gateway &amp; Primary Name Server.</p>
<p>Once done, restart the networking service</p>
<blockquote><p><strong>rhel5# service network restart</strong></p>
</blockquote>
<p>or to just reread the interface config files</p>
<blockquote><p><strong>rhel5# service network reload</strong></p>
</blockquote>
<p>This should set the IP Address.</p>
<p><strong><u>Manually edit Interface configuration files</u></strong></p>
<p>You can also manually edit the interface configuration files and add/modify the IP Address.</p>
<p>The Network interface configuration files are found in the directory</p>
<blockquote><p><strong>/etc/sysconfig/network-scripts/</strong></p>
</blockquote>
<p>Let&#39;s say there are 2 interfaces eth0 &amp; eth1. The files to edit will be</p>
<blockquote><p><strong>ifcfg-eth0 &#8211; For interface eth0</strong></p>
</blockquote>
<p><strong>ifcfg-eth1</strong> &#8211; For interface eth1</p>
<p>To add the IP Address for interface eth0, edit ifcfg-eth0</p>
<blockquote><p><strong>rhel5# cd /etc/sysconfig/network-scripts</strong></p>
<p><strong>rhel5# vi ifcfg-eth0</strong></p>
</blockquote>
<p>Enter the following Parameters</p>
<blockquote><p><strong>DEVICE=eth0<br /> BOOTPROTO=static<br /> BROADCAST=192.168.1.255<br /> HWADDR=00:0F:1F:2F:3F:4F<br /> IPADDR=192.168.1.10<br /> NETMASK=255.255.255.0<br /> NETWORK=192.168.1.0<br /> ONBOOT=yes<br /> TYPE=Ethernet</strong></p>
</blockquote>
<p>Where</p>
<p>DEVICE indicates the interface<br /> BOOTPROTO indicates if it is static IP or uses DHCP/BOOTP</p>
<p>The above sets the IP Address, Broadcast address, Network, Netmask etc.</p>
<p>Once done, save the file and restart the network service for the changes to take effect.</p>
<blockquote><p><strong>rhel5# service network restart</strong></p>
</blockquote>
<p>or to just reread the interface config files</p>
<blockquote><p><strong>rhel5# service network reload</strong></p>
</blockquote>
<p><strong><u>Using ifconfig</u></strong></p>
<p>This is dynamic and the change take effect instantly.</p>
<blockquote><p><strong>rhel5# ifconfig eth0 192.168.1.10 netmask 255.255.255.0 gw 192.168.1.1 up</strong></p>
</blockquote>
<p>This sets the IP Address, Netmask and the default gateway on the interface. For information on how to add Static Routes in Redhat Enterprise Linux, <a href="http://www.itsyourip.com/Linux/howto-add-a-persistent-static-route-in-redhat-enterprise-linux/" target="_blank" title="Static Route in Redhat Enterprise Linux">click here</a></p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.itsyourip.com%2Fredhat%2Fhow-to-addmodify-ip-address-in-redhat-enterprise-linux%2F';
  addthis_title  = 'How+to+add%2Fmodify+IP+Address+in+Redhat+Enterprise+Linux';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
</div><!-- KonaBody -->]]></content:encoded>
			<wfw:commentRss>http://www.itsyourip.com/redhat/how-to-addmodify-ip-address-in-redhat-enterprise-linux/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Set Maximum Segment Size (MSS) in Redhat Linux for Networks &amp; Hosts</title>
		<link>http://www.itsyourip.com/redhat/set-maximum-segment-size-mtt-in-redhat-linux-for-networks-hosts/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=set-maximum-segment-size-mtt-in-redhat-linux-for-networks-hosts</link>
		<comments>http://www.itsyourip.com/redhat/set-maximum-segment-size-mtt-in-redhat-linux-for-networks-hosts/#comments</comments>
		<pubDate>Tue, 11 Mar 2008 23:01:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Redhat]]></category>
		<category><![CDATA[ip-route]]></category>
		<category><![CDATA[Maximum-Segment-Size]]></category>
		<category><![CDATA[MSS]]></category>
		<category><![CDATA[mtu]]></category>
		<category><![CDATA[tcpip]]></category>

		<guid isPermaLink="false">http://www.itsyourip.com/redhat/set-maximum-segment-size-mtt-in-redhat-linux-for-networks-hosts/</guid>
		<description><![CDATA[Maximum Segment Size (MSS) value advertised by a Server or a System is the preffered size of the segment that it can receive. For an standard packet this is equivalent to the Maximum Transmission unit (MTU) &#8211; 40bytes (standard TCP/IP overhead of 40 bytes [20+20]). This is the value that the server advertises and not [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p><!--adsense#content_336_280-->
<p>Maximum Segment Size (MSS) value advertised by a Server or a System is the preffered size of the segment that it can receive. For an standard packet this is equivalent to the Maximum Transmission unit (MTU) &#8211; 40bytes (standard TCP/IP overhead of 40 bytes [20+20]). This is the value that the server advertises and not what we can transmit.</p>
<p>If the MTU is 1500 bytes then the MSS will be 1460 bytes.</p>
<p><span id="more-165"></span></p>
<p>In Redhat Linux, if not set manually, the Kernel calculates the MSS simply as MTU-MSS bytes. However, this advertised value of MSS can be manually set for individual networks or hosts by setting them in route commands</p>
<p>To set the MSS Value for a network</p>
<blockquote><p><strong>ip route add 192.168.1.0/24 dev eth0 advmss 1310</strong></p>
</blockquote>
<p>where the &quot;ip route&quot; command sets the static route for the network via ethernet 0 and the part &quot;advmss&quot; sets the MSS value of 1310 bytes.</p>
<p>To set the MSS Value for a Host</p>
<blockquote><p><strong>ip route add 192.168.1.1 dev eth0 advmss 1310</strong></p>
</blockquote>
<p>The above commands set the MSS values at a network / host basis dynamically when the server in use.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.itsyourip.com%2Fredhat%2Fset-maximum-segment-size-mtt-in-redhat-linux-for-networks-hosts%2F';
  addthis_title  = 'Set+Maximum+Segment+Size+%28MSS%29+in+Redhat+Linux+for+Networks+%26%23038%3B+Hosts';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
</div><!-- KonaBody -->]]></content:encoded>
			<wfw:commentRss>http://www.itsyourip.com/redhat/set-maximum-segment-size-mtt-in-redhat-linux-for-networks-hosts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to set MTU size for a Network Interface in Redhat Enterprise Linux(RHEL)</title>
		<link>http://www.itsyourip.com/redhat/how-to-set-mtu-size-for-a-network-interface-in-redhat-enterprise-linuxrhel/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-set-mtu-size-for-a-network-interface-in-redhat-enterprise-linuxrhel</link>
		<comments>http://www.itsyourip.com/redhat/how-to-set-mtu-size-for-a-network-interface-in-redhat-enterprise-linuxrhel/#comments</comments>
		<pubDate>Mon, 10 Mar 2008 17:37:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Redhat]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Maximum-Transmission-Unit]]></category>
		<category><![CDATA[mtu]]></category>
		<category><![CDATA[packets]]></category>
		<category><![CDATA[rhel]]></category>
		<category><![CDATA[tcpip]]></category>

		<guid isPermaLink="false">http://www.itsyourip.com/redhat/how-to-set-mtu-size-for-a-network-interface-in-redhat-enterprise-linuxrhel/</guid>
		<description><![CDATA[The Maximum Transmission Unit (MTU) can be set/modified in real time on Redhat Enterprise Linux or can be set force the value at boot time. The MTU in simple terms is the maximum size of a packet that can be sent on a Network Interface card. The default MTU size is 1500 bytes. To dynamically [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p><!--adsense#content_336_280-->The Maximum Transmission Unit (MTU) can be set/modified in real time on Redhat Enterprise Linux or can be set force the value at boot time.</p>
<p> The MTU in simple terms is the maximum size of a packet that can be sent on a Network Interface card. The default MTU size is 1500 bytes.</p>
<p><span id="more-164"></span></p>
<p> To dynamically change the MTU in real time while the server is in use,</p>
<blockquote><p><strong>redhatlinux# ip link set dev eth0 mtu 1350</strong> </p></blockquote>
<p> where eth0 is the Ethernet interface and 1350 is the mtu size (1350 bytes)</p>
<p> However, this change is lost when the server or the network interface restarts the next time.</p>
<p> To make the change permanent, edit the interface configuration file (for instance eth0)</p>
<blockquote><p><strong>/etc/sysconfig/network-scripts/ifcfg-eth0</strong></p>
<p> and add the following line</p>
<p> <strong>MTU=1350</strong> </p></blockquote>
<p> so a cat of the file should look something like this</p>
<blockquote><p>redhatlinux# cat /etc/sysconfig/network-scripts/ifcfg-eth0<br /> DEVICE=eth0<br /> MTU=1350<br /> BOOTPROTO=dhcp<br /> ONBOOT=yes<br /> TYPE=Ethernet </p></blockquote>
<p> Once done, simply restart the interface or reboot the server at the next available maintenance window for the changes to take effect.</p>
<p> To restart the Network Interface</p>
<blockquote><p><strong>redhatlinux# service network restart eth0</strong> </p></blockquote>
<p> To view the updated MTU</p>
<blockquote><p><strong>redhatlinux# ip link list</strong><br /> 1: lo:&nbsp; mtu 16436 qdisc noqueue<br /> &nbsp;&nbsp;&nbsp; link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00<br /> 2: eth0:&nbsp; mtu 1350 qdisc pfifo_fast qlen 1000<br /> &nbsp;&nbsp;&nbsp; link/ether 00:01:11:12:13:14 brd ff:ff:ff:ff:ff:ff<br /> 3: eth1:&nbsp; mtu 1500 qdisc noop qlen 1000<br /> &nbsp;&nbsp;&nbsp; link/ether 00:40:f4:98:8e:43 brd ff:ff:ff:ff:ff:ff </p></blockquote>
<p> or</p>
<blockquote><p><strong>redhatlinux# ifconfig eth0</strong><br /> eth0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Link encap:Ethernet&nbsp; HWaddr 00:01:11:12:13:14<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; inet addr:192.168.10.11&nbsp; Bcast:192.168.0.255&nbsp; Mask:255.255.255.0<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UP BROADCAST RUNNING MULTICAST&nbsp; MTU:1350&nbsp; Metric:1<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RX packets:12321 errors:0 dropped:0 overruns:0 frame:0<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TX packets:6610 errors:0 dropped:0 overruns:0 carrier:0<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; collisions:0 txqueuelen:1000<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RX bytes:201126104 (194.1 MiB)&nbsp; TX bytes:78293 (768.8 KiB)<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Interrupt:209 Memory:fb000000-0</p>
</blockquote>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.itsyourip.com%2Fredhat%2Fhow-to-set-mtu-size-for-a-network-interface-in-redhat-enterprise-linuxrhel%2F';
  addthis_title  = 'How+to+set+MTU+size+for+a+Network+Interface+in+Redhat+Enterprise+Linux%28RHEL%29';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
</div><!-- KonaBody -->]]></content:encoded>
			<wfw:commentRss>http://www.itsyourip.com/redhat/how-to-set-mtu-size-for-a-network-interface-in-redhat-enterprise-linuxrhel/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Dnsmasq &#8211; Opensource DNS Server Forwarder &amp; DHCP Server</title>
		<link>http://www.itsyourip.com/dns/dnsmasq-opensource-dns-server-forwarder-dhcp-server/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=dnsmasq-opensource-dns-server-forwarder-dhcp-server</link>
		<comments>http://www.itsyourip.com/dns/dnsmasq-opensource-dns-server-forwarder-dhcp-server/#comments</comments>
		<pubDate>Mon, 17 Dec 2007 16:41:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[DHCP]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[dns-forwarder]]></category>
		<category><![CDATA[dnsmasq]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[routers]]></category>

		<guid isPermaLink="false">http://www.itsyourip.com/dns/dnsmasq-opensource-dns-server-forwarder-dhcp-server/</guid>
		<description><![CDATA[Dnsmasq is an opensource light-weight,easy to configure and administer DNS and a DHCP Server. Dnsmasq is ideally suitable for smaller networks like Small Office and Home Office networks (SOHO) and branch office networks. Dnsmasq can be run on old PC and is very easy to configure and administer. Dnsmasq is seen to support upto 1000 [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p><!--adsense#content_336_280-->
<p>Dnsmasq is an opensource light-weight,easy to configure and administer DNS and a DHCP Server. Dnsmasq is ideally suitable for smaller networks like Small Office and Home Office networks (SOHO) and branch office networks. Dnsmasq can be run on old PC and is very easy to configure and administer. Dnsmasq is seen to support upto 1000 nodes on a network.</p>
<p><span id="more-129"></span></p>
<p>In essence, Dnsmasq is a Caching nameserver and a DNS forwarder with DHCP enabled on it. Dnsmasq can provide nameservice for local hosts while forwarding the queries for global public resources to a Public DNS Server (like an ISP DNS server). So, small networks which are behind a DSL/ADSL router or even a modem link and share a single internet connection can make the best use of Dnsmasq.</p>
<p>Dnsmasq is included in most of the opensource firewalls and opensource router firmware and in the most common Linux distributions. Some of them include:</p>
<p><strong>Opensource Firewalls:</strong></p>
<p><em>IPCop / Smoothwall / floppyfw / Firebox / LEAF / m0n0wall / PfSense / Endian Firewall / ClarkConnect</em></p>
<p><strong>Opensource router firmware:</strong></p>
<p><em>dd-wrt / openwrt / stock firmware / fli4l</em></p>
<p><strong>Linux Distributions:</strong></p>
<p><em>Debian / Gentoo / Slackware / Suse / Fedora / Coyote Linux</em></p>
<p><strong>*BSD</strong></p>
<p><em>FreeBSD / OpenBSD / NetBSD</em></p>
<p>Some of the highlighting features of Dnsmasq are as follows:</p>
<ul>
<li>Automatically update the Public DNS Servers through PPP or DHCP connections. So, change in a Public DNS server of an ISP that the network is connected to will be picked up by Dnsmasq</li>
<li>Caching Nameserver to reduce network traffic and improve performance</li>
<li>Forwarding to Private DNS servers for specific Domains can be configured</li>
<li>Nameservice for the localhosts using the /etc/hosts file and for DHCP Client hosts</li>
<li>Static and Dynamic client leases on DHCP</li>
<li>Multiple Network and IP Ranges on the DHCP server</li>
<li>BOOTP support for network booting using a secure read-only TFTP server</li>
<li>Simple global configuration using the /etc/dnsmasq.conf file</li>
<li>Supports BOOTP and DHCP Relays</li>
<li>Caches A records for IPv4 and AAAA records for IPv6 and PTR records</li>
<li>Supports IPv4 and IPv6 protocols and even can act as a IPv4 toIPv6 and IPv6 to IPv4 forwarder</li>
<li>Support MX records and SRV records for local machines</li>
<li>Block DNS redirect websites (like some websites which forward to a link for a website that doesn&#39;t exist)</li>
</ul>
<p>Dnsmasq does the name lookup from its /etc/hosts file and hence its all about maintaining a /etc/hosts file on one computer as against multiple PCs on the LAN. If the host is a DHCP client then even if there isn&#39;t an entry for the host in the &quot;hosts&quot; file it can still provide name resolution for the host.</p>
<p>Effectively, all hosts in the LAN will have the dnsmasq server as the nameserver in /etc/resolv.conf file (In windows under network connection) and you dont have to worry about the &quot;hosts&quot; file on the local system.</p>
<p>The /etc/hosts file on the Dnsmasq server can have only the hostname without the domain name (example: host1 instead of host1.mynetwork.com) as the domain name can be appended globally using configurations in the /etc/dnsmasq.conf file.</p>
<p>It&#39;s got .deb and rpm packages for Debian, Fedora and other distributions and also can be built from the Source files. For more information and download, <a href="http://thekelleys.org.uk/dnsmasq/doc.html" target="_blank" title="DNSMASQ - DNS Forwarder DHCP DNS BOOTP server">click here</a> for dnsmasq home page.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.itsyourip.com%2Fdns%2Fdnsmasq-opensource-dns-server-forwarder-dhcp-server%2F';
  addthis_title  = 'Dnsmasq+%26%238211%3B+Opensource+DNS+Server+Forwarder+%26%23038%3B+DHCP+Server';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
</div><!-- KonaBody -->]]></content:encoded>
			<wfw:commentRss>http://www.itsyourip.com/dns/dnsmasq-opensource-dns-server-forwarder-dhcp-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Disable ICMP Redirects in Linux for security (Redhat,Debian,Ubuntu,SuSe tested)</title>
		<link>http://www.itsyourip.com/Security/how-to-disable-icmp-redirects-in-linux-for-security-redhatdebianubuntususe-tested/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-disable-icmp-redirects-in-linux-for-security-redhatdebianubuntususe-tested</link>
		<comments>http://www.itsyourip.com/Security/how-to-disable-icmp-redirects-in-linux-for-security-redhatdebianubuntususe-tested/#comments</comments>
		<pubDate>Thu, 13 Dec 2007 19:38:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[ICMP-redirects]]></category>
		<category><![CDATA[suse]]></category>

		<guid isPermaLink="false">http://www.itsyourip.com/Security/how-to-disable-icmp-redirects-in-linux-for-security-redhatdebianubuntususe-tested/</guid>
		<description><![CDATA[ICMP Redirects Send and Accept are by default enabled on most of the linux flavours including Debian, Ubuntu, Redhat Enterprise Linux, Suse Linux. While ICMP Redirects are not the very efficient way to update a hosts Routing table of an optimal route to a target destination, it can cause serious security concerns where a hacker [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p><!--adsense#content_336_280-->
<p>ICMP Redirects Send and Accept are by default enabled on most of the linux flavours including Debian, Ubuntu, Redhat Enterprise Linux, Suse Linux.</p>
<p><span id="more-128"></span></p>
<p>While ICMP Redirects are not the very efficient way to update a hosts Routing table of an optimal route to a target destination, it can cause serious security concerns where a hacker or attacker can send malicously crafted ICMP redirect messages and cause a Denial of Service attack on the network.</p>
<p>If ICMP Redirects are not used in the network for route updates and if the server is not acting as a Router or a Gateway (ICMP Redirect send only) then ICMP Redirect send and accepts should be disabled on the server.</p>
<p>In most of the Linux flavors (tested on Debian,Ubuntu,Redhat Enterprise linux,Suse) ICMP Redirects can be dynamically disabled on the host by using</p>
<p><strong><u><font color="#009900">1. /sbin/sysctl utility which can modify Kernel paramters at runtime</font></u></strong></p>
<p>Login as root and run the following command to disable ICMP Redirects Send and Accept</p>
<p><font color="#009999">Server# /sbin/sysctl -w net.ipv4.conf.all.accept_redirects = 0<br /> Server# /sbin/sysctl -w net.ipv4.conf.all.send_redirects = 0</font></p>
<p><font color="#009999">Server# /sbin/sysctl -w net.ipv6.conf.all.accept_redirects = 0<br /> Server# /sbin/sysctl -w net.ipv6.conf.all.send_redirects = 0</font></p>
<p>The above disables ICMP Redirects globally on the server. However, if you want to disable on a per interface basis then in the above command, instead of using &quot;all&quot; use the inerface name (say &quot;eth0&quot;)</p>
<p><font color="#009999">Server# /sbin/sysctl -w net.ipv4.conf.eth0.accept_redirects = 0<br /> Server# /sbin/sysctl -w net.ipv4.conf.eth0.send_redirects = 0</font></p>
<p><font color="#009999">Server# /sbin/sysctl -w net.ipv6.conf.eth0.accept_redirects = 0<br /> Server# /sbin/sysctl -w net.ipv6.conf.eth0.send_redirects = 0</font></p>
<p>This will disable ICMP Redirects immediatly.</p>
<p>or even a simpler option would be to</p>
<p><strong><u><font color="#009900">2. Passing appropriate value (0 or 1) to the above kernel variables as follows:</font></u></strong></p>
<p><font color="#009999">Server# echo 0 &gt; /proc/sys/net/ipv4/conf/all/accept_redirects [for IPv4]<br /> Server# echo 0 &gt; /proc/sys/net/ipv4/conf/all/send_redirects [for IPv4]</font></p>
<p><font color="#009999">Server# echo 0 &gt; /proc/sys/net/ipv6/conf/all/accept_redirects [for IPv6]<br /> Server# echo 0 &gt; /proc/sys/net/ipv6/conf/all/send_redirects [for IPv6]</font></p>
<p>Again this can be used on a per interface basis as</p>
<p><font color="#009999">Server# echo 0 &gt; /proc/sys/net/ipv4/conf/eth0/accept_redirects [for IPv4]<br /> Server# echo 0 &gt; /proc/sys/net/ipv4/conf/eth0/send_redirects [for IPv4]</font></p>
<p><font color="#009999">Server# echo 0 &gt; /proc/sys/net/ipv6/conf/eth0/accept_redirects [for IPv6]<br /> Server# echo 0 &gt; /proc/sys/net/ipv6/conf/eth0/send_redirects [for IPv6]</font></p>
<p>However, these kernel changes made at runtime will be lost when the system reboots. So it is important that these are applied at boot time as well to ensure that the server is secure.</p>
<p><strong><u><font color="#009900">ICMP REDIRECT DISABLE AT BOOT TIME</font></u></strong></p>
<p>In order to disable ICMP Redirects at boot time,</p>
<p><strong><u><font color="#009900">1. Edit the /etc/sysctl.conf file</font></u></strong></p>
<p>Edit the /etc/sysctl.conf file and add the following lines:</p>
<p><font>In Debian and Ubuntu Linux:</font></p>
<p><font color="#009999">net/ipv4/conf/all/accept_redirects = 0 [for IPv4]<br /> net/ipv4/conf/all/send_redirects = 0 [for IPv4]</font></p>
<p><font color="#009999">net/ipv6/conf/all/accept_redirects = 0 [for IPv6]<br /> net/ipv6/conf/all/send_redirects = 0 [for IPv6]<br /> </font>&nbsp;<br /> Again, if you want to control ICMP redirects on a per interface basis then add the following lines (say for eth0):</p>
<p><font color="#009999">net/ipv4/conf/eth0/accept_redirects = 0 [for IPv4]<br /> net/ipv4/conf/eth0/send_redirects = 0 [for IPv4]</font></p>
<p><font color="#009999">net/ipv6/conf/eth0/accept_redirects = 0 [for IPv6]<br /> net/ipv6/conf/eth0/send_redirects = 0 [for IPv6]</font></p>
<p><font>In Redhat Enterprise Linux and Suse:</font></p>
<p><font color="#009999">net.ipv4.conf.all.accept_redirects = 0 [for IPv4]<br /> net.ipv4.conf.all.send_redirects = 0 [for IPv4]</font></p>
<p><font color="#009999">net.ipv6.conf.all.accept_redirects = 0 [for IPv6]<br /> net.ipv6.conf.all.send_redirects = 0 [for IPv6]</font><br /> &nbsp;<br /> Again, if you want to control ICMP redirects on a per interface basis then add the following lines (say for eth0):</p>
<p><font color="#009999">net.ipv4.conf.eth0.accept_redirects = 0 [for IPv4]<br /> net.ipv4.conf.eth0.send_redirects = 0 [for IPv4]</font></p>
<p><font color="#009999">net.ipv6.conf.eth0.accept_redirects = 0 [for IPv6]<br /> net.ipv6.conf.eth0.send_redirects = 0 [for IPv6]</font></p>
<p>This will allow the /etc/sysctl.conf be read by the /sbin/sysctl utility at the startup.</p>
<p><em>NOTE: In Debian and Ubuntu, this will be overiden by any options set in /etc/network/options as the /etc/init.d/networking script which sets the /etc/network/options file kernel paramters at boot time runs after the /etc/init.d/procps script which sets the kernel variable values specified in /etc/sysctl.conf file. It is advisable to make all change to /etc/sysctl.conf file instead of /etc/network/options file as this is being depreciated.</em></p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.itsyourip.com%2FSecurity%2Fhow-to-disable-icmp-redirects-in-linux-for-security-redhatdebianubuntususe-tested%2F';
  addthis_title  = 'How+to+Disable+ICMP+Redirects+in+Linux+for+security+%28Redhat%2CDebian%2CUbuntu%2CSuSe+tested%29';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
</div><!-- KonaBody -->]]></content:encoded>
			<wfw:commentRss>http://www.itsyourip.com/Security/how-to-disable-icmp-redirects-in-linux-for-security-redhatdebianubuntususe-tested/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>ClarkConnect &#8211; OpenSource Firewall Intrusion Prevention networking and collabration suite</title>
		<link>http://www.itsyourip.com/networking/clarkconnect-opensource-firewall-intrusion-prevention-networking-and-collabration-suite/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=clarkconnect-opensource-firewall-intrusion-prevention-networking-and-collabration-suite</link>
		<comments>http://www.itsyourip.com/networking/clarkconnect-opensource-firewall-intrusion-prevention-networking-and-collabration-suite/#comments</comments>
		<pubDate>Thu, 29 Nov 2007 20:17:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Opensource Firewall]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[antiphising]]></category>
		<category><![CDATA[antispam]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[idp]]></category>
		<category><![CDATA[intrusion-prevention]]></category>
		<category><![CDATA[ipsec]]></category>
		<category><![CDATA[multiwan]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[snort]]></category>
		<category><![CDATA[squid]]></category>
		<category><![CDATA[vpn]]></category>

		<guid isPermaLink="false">http://www.itsyourip.com/networking/clarkconnect-opensource-firewall-intrusion-prevention-networking-and-collabration-suite/</guid>
		<description><![CDATA[ClarkConnect is an all-in-one Opensource networking suite from Point Clark Networks. It is a full blown security suite on one front with Stateful firewall protection, Intrusion Detection and prevention, Maile Gateway with Antivirus, Anti-spam and Anti-phishing support, proxy &#38; web content filtering, peer to peer connection filtering for web protection while is also a networking [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p><!--adsense#content_336_280-->
<p>ClarkConnect is an all-in-one Opensource networking suite from Point Clark Networks. It is a full blown security suite on one front with Stateful firewall protection, Intrusion Detection and prevention, Maile Gateway with Antivirus, Anti-spam and Anti-phishing support, proxy &amp; web content filtering, peer to peer connection filtering for web protection while is also a networking suite with IPSec and PPTP support, bandwdith and system monitoring and a server with web-server, Database server support, file &amp; print sharing, mail server, system and mail backup. All built on a cut down redhat linux with&nbsp;a good web interface.</p>
<p><span id="more-117"></span></p>
<p>ClarkConnect is an opensource winner with all the features are directly enabled by opensource packages.</p>
<p>The top features of ClarkConnect are</p>
<ul>
<li>Statefule Firewall with DMZ interface enabled, NAT and port forwarding support</li>
<li>Intrusion Detection (Snort) and Preention (snortsam)</li>
<li>Peer to Peer connection prevention</li>
<li>MultiWAN support with bandwidth monitoring</li>
<li>VPN support with IPSec and PPTP support</li>
<li>Webproxy, Content Filtering, Popup/banner adblocker</li>
<li>Email Server support (POP, IMAP and SMTP) and webmail support</li>
<li>Dns, DynDNS, DHCP Support</li>
<li>Mail Gateway with antispam (spamassasin,Dspam,greylisting), Antivirus (ClamA), phishing filter,&nbsp; Mail Disclaimer support</li>
<li>Groupware and Flexshare</li>
<li>Webserver (LAMP)</li>
<li>File and Print Sharing, FTP server</li>
<li>Network Backup</li>
</ul>
<p>For more detailed listing of features, <a href="http://www.clarkconnect.com/info/features.php" target="_blank" title="ClarkConnect opensource networking and firewall security">click here</a></p>
<p>ClarkConnect comes in three different editions as Enterprise, Office and Community editions. The Community edition is a free edition with no support for the serices and hence is good for Home and Small Office. The Office edition has all of the network and security features enabled with the exception of the Grouware support and the all enabled version is the Enterprise edition. While the Office and Enterprise editions are commercial, the cost is not very pricey.</p>
<p>For a comparision on the versions, <a href="http://www.clarkconnect.com/info/compare.php" target="_blank" title="ClarkConnect Opensource networking suite pricing">click here</a></p>
<p>A detailed <a href="http://www.clarkconnect.com/info/requirements.php" target="_blank" title="ClarkConnect OpenSource networking Suite Hardware">hardware requirement</a> can be found on ClarkConnect website with downloads available <a href="http://www.clarkconnect.com/downloads/" target="_blank" title="ClarkConnect OpenSource Networking Suite download">here</a>.</p>
<p><strong><u>A Reader&#39;s Toolbox</u></strong></p>
<p>For <a href="http://www.braindumps.net/exam/640-802.htm">640-802</a>, it is important to qualify both <a href="http://www.braindumps.net/exam/350-001.htm">350-001</a> as well as <a href="http://www.braindumps.net/exam/70-291.htm">70-291</a>. Still a number of individuals settle for <a href="http://www.braindumps.net/exam/70-649.htm">70-649</a> too.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.itsyourip.com%2Fnetworking%2Fclarkconnect-opensource-firewall-intrusion-prevention-networking-and-collabration-suite%2F';
  addthis_title  = 'ClarkConnect+%26%238211%3B+OpenSource+Firewall+Intrusion+Prevention+networking+and+collabration+suite';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
</div><!-- KonaBody -->]]></content:encoded>
			<wfw:commentRss>http://www.itsyourip.com/networking/clarkconnect-opensource-firewall-intrusion-prevention-networking-and-collabration-suite/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>HowTo: Add a Persistent Static Route in Redhat Enterprise Linux</title>
		<link>http://www.itsyourip.com/Linux/howto-add-a-persistent-static-route-in-redhat-enterprise-linux/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=howto-add-a-persistent-static-route-in-redhat-enterprise-linux</link>
		<comments>http://www.itsyourip.com/Linux/howto-add-a-persistent-static-route-in-redhat-enterprise-linux/#comments</comments>
		<pubDate>Sat, 03 Nov 2007 19:47:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[gateway]]></category>
		<category><![CDATA[netmask]]></category>
		<category><![CDATA[rhel]]></category>
		<category><![CDATA[route]]></category>

		<guid isPermaLink="false">http://www.itsyourip.com/Linux/howto-add-a-persistent-static-route-in-redhat-enterprise-linux/</guid>
		<description><![CDATA[If you know there is always going to be a permanent route for a destination then a static route can be a viable option.To add a persistent static route in Redhat Enterprise Linux create a file called route-&#60;int&#62;X in the /etc/sysconfig/network-scripts/ directory where &#60;int&#62; is the interface number and X is the interface number. As [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p><!--adsense#content_336_280-->If you know there is always going to be a permanent route for a destination then a static route can be a viable option.To add a persistent static route in Redhat Enterprise Linux create a file called route-&lt;int&gt;X in the <strong><em>/etc/sysconfig/network-scripts/</em></strong> directory</p>
<p><span id="more-91"></span></p>
<p>where &lt;int&gt; is the interface number and X is the interface number. As you would expect, these are specified in seperate file for each of the available interface.</p>
<blockquote><p><strong><u>Example: </u></strong></p>
<p><strong>/etc/sysconfig/network-scripts/route-eth0<br /> /etc/sysconfig/network-scripts/route-eth1</strong></p>
</blockquote>
<p>Every entry or a route has three entities as follows:</p>
<blockquote><p><strong>GATEWAY&lt;N&gt;=xxx.xxx.xxx.xxx<br /> NETMASK&lt;N&gt;=yyy.yyy.yyy.yyy<br /> ADDRESS&lt;N&gt;=zzz.zzz.zzz.zzz</strong></p>
</blockquote>
<p>As the names implies, they are the gateway IP, Netmask and the IP/Network Address</p>
<p>Note the &lt;N&gt; next to each of the three entities. This number defines the route entry number and should be the same on all the entities.</p>
<blockquote><p><strong><u>Example:</u></strong></p>
<p><strong>GATEWAY0=192.168.1.1<br /> NETMASK0=255.255.255.0<br /> ADDRESS0=10.10.10.0</strong></p>
<p><strong>GATEWAY1=192.168.1.1<br /> NETMASK1=255.255.255.0<br /> ADDRESS1=20.20.20.2</strong></p>
</blockquote>
<p>A sample file <strong><em>/etc/sysconfig/static-routes</em></strong> is available for your reference.</p>
<p>Once the file is created, restart the network service as follows:</p>
<blockquote><p><strong># service network restart</strong></p>
</blockquote>
<p>To view the routes type</p>
<blockquote><p><strong># route<br /> Kernel IP routing table<br /> Destination&nbsp;&nbsp;&nbsp;&nbsp; Gateway&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Genmask&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Flags Metric Ref&nbsp;&nbsp;&nbsp; Use Iface<br /> 192.168.1.0&nbsp;&nbsp;&nbsp;&nbsp; *&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 255.255.255.0&nbsp;&nbsp; U&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 eth0<br /> 192.168.2.0&nbsp;&nbsp;&nbsp;&nbsp; *&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 255.255.255.0&nbsp;&nbsp; U&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 eth1<br /> 10.10.10.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 255.255.255.0&nbsp;&nbsp; U&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 eth0<br /> 20.20.20.2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 255.255.255.0&nbsp;&nbsp; U&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 eth0<br /> 169.254.0.0&nbsp;&nbsp;&nbsp;&nbsp; *&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 255.255.0.0&nbsp;&nbsp;&nbsp;&nbsp; U&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 eth1<br /> default&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 192.168.1.1&nbsp;&nbsp;&nbsp;&nbsp; 0.0.0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UG&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 eth0 </strong></p>
</blockquote>
<p>or</p>
<blockquote><p><strong># ip route show<br /> 192.168.1.0/24 dev eth0&nbsp; proto kernel&nbsp; scope link&nbsp; src 192.168.1.1<br /> 192.168.2.0/24 dev eth1&nbsp; proto kernel&nbsp; scope link&nbsp; src 192.168.2.1<br /> 10.10.10.0/24 via 192.168.1.1 dev eth0<br /> 20.20.20.2/24 via 192.168.1.1 dev eth0<br /> default via 192.168.1.1 dev eth0</strong></p>
</blockquote>
<p>To dynamically add a route, try the folowing:</p>
<blockquote><p><strong><u>Syntax:<br /> </u># ip route add &lt;Net/IP&gt;/&lt;Mask&gt; via &lt;Gateway&gt; dev &lt;Int&gt;X</strong></p>
<p><strong><u>Example:</u></strong></p>
<p><strong># ip route add 10.10.10.0/24 via 192.168.1.1 dev eth0</strong></p>
</blockquote>
<p>or</p>
<blockquote><p><u><strong>Syntax:<br /> </strong></u></p>
<p><strong># route add [-net|-host] &lt;IP/Net&gt; netmask &lt;Mask&gt; gw &lt;Gateway IP&gt; dev &lt;Int&gt;X</strong></p>
<p><u><strong>Example:<br /> </strong></u></p>
<p><strong># route add -net 10.10.10.0 netmask 255.255.255.0 gw 192.168.1.1 dev eth0</strong></p>
</blockquote>
<p>This should help.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.itsyourip.com%2FLinux%2Fhowto-add-a-persistent-static-route-in-redhat-enterprise-linux%2F';
  addthis_title  = 'HowTo%3A+Add+a+Persistent+Static+Route+in+Redhat+Enterprise+Linux';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
</div><!-- KonaBody -->]]></content:encoded>
			<wfw:commentRss>http://www.itsyourip.com/Linux/howto-add-a-persistent-static-route-in-redhat-enterprise-linux/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
