<?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>Fnode Online &#187; Add Default Gateway on Solaris</title>
	<atom:link href="http://www.fnode.com/tag/add-default-gateway-on-solaris/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fnode.com</link>
	<description>A Network Systems &#38; Technology Blog</description>
	<lastBuildDate>Fri, 01 Jan 2010 19:57:07 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to add IP Address / Default Gateway on Sun Solaris</title>
		<link>http://www.fnode.com/2008/08/how-to-add-ip-address-default-gateway-on-sun-solaris/</link>
		<comments>http://www.fnode.com/2008/08/how-to-add-ip-address-default-gateway-on-sun-solaris/#comments</comments>
		<pubDate>Thu, 07 Aug 2008 23:39:07 +0000</pubDate>
		<dc:creator>Nish Vamadevan</dc:creator>
				<category><![CDATA[UNIX]]></category>
		<category><![CDATA[Add Default Gateway on Solaris]]></category>
		<category><![CDATA[Add IP on Solaris]]></category>

		<guid isPermaLink="false">http://www.nishv.com/?p=352</guid>
		<description><![CDATA[Adding IP address and default gateway is rather straight forward as long as the interface is loaded. To see whether the interface is loaded, issue the command ifconfig –a
You should see something like the following&#8230;

bash-3.00# ifconfig -a
lo0: flags=2001000849&#60;UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL&#62; mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
rtls0: flags=1000842&#60;BROADCAST,RUNNING,MULTICAST,IPv4&#62; mtu 1500 index 2
inet 0.0.0.0 netmask 0
ether 0:6:4f:47:76:1e

In this [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Adding IP address and default gateway is rather straight forward as long as the interface is loaded. To see whether the interface is loaded, issue the command <strong>ifconfig –a</strong></p>
<p>You should see something like the following&#8230;</p>
<p><code><br />
bash-3.00# ifconfig -a<br />
lo0: flags=2001000849&lt;UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL&gt; mtu 8232 index 1<br />
inet 127.0.0.1 netmask ff000000<br />
rtls0: flags=1000842&lt;BROADCAST,RUNNING,MULTICAST,IPv4&gt; mtu 1500 index 2<br />
inet 0.0.0.0 netmask 0<br />
ether 0:6:4f:47:76:1e<br />
</code></p>
<p>In this case, we will be adding the IP address and subnet mask to <strong>rtls0</strong> along with the default gateway.</p>
<p><strong>IP Address:</strong> 192.168.1.60<br />
<strong>Subnet Mask:</strong> 255.255.255.0<br />
<strong>Default Gateway:</strong> 192.168.1.1</p>
<p>Here is how its done&#8230;</p>
<p><code><br />
bash-3.00# ifconfig rtls0 192.168.1.60 netmask 255.255.255.0 up<br />
bash-3.00# route add default 192.168.1.1<br />
add net default: gateway 192.168.1.1<br />
bash-3.00# ping 4.2.2.2<br />
4.2.2.2 is alive<br />
</code></p>
<p>Success! We can now ping a WAN IP! and here is the new output of <strong>ifconfig -a</strong></p>
<p><code><br />
bash-3.00# ifconfig -a<br />
lo0: flags=2001000849&lt;UP,LOOPBACK,RUNNING,MULTICAST,IPv 4,VIRTUAL&gt; mtu 8232 index 1<br />
inet 127.0.0.1 netmask ff000000<br />
rtls0: flags=1000843&lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4&gt; mtu 1500 index 2<br />
inet 192.168.1.60 netmask ffffff00 broadcast 192.168.1.255<br />
ether 0:6:4f:47:76:1e<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.fnode.com/2008/08/how-to-add-ip-address-default-gateway-on-sun-solaris/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
