<?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>マルクのブロッグ &#187; ipv6</title> <atom:link href="http://b.cpalm.org/tag/ipv6/feed/" rel="self" type="application/rss+xml" /><link>http://b.cpalm.org</link> <description>馬魯酷+單車+Linux+PSP+3DS+PSVita</description> <lastBuildDate>Mon, 05 Dec 2011 08:34:51 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.2.1</generator> <item><title>Configuring DHCPv6 on Linux</title><link>http://b.cpalm.org/2009/09/configuring-dhcpv6-on-linux/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=configuring-dhcpv6-on-linux</link> <comments>http://b.cpalm.org/2009/09/configuring-dhcpv6-on-linux/#comments</comments> <pubDate>Mon, 07 Sep 2009 12:56:37 +0000</pubDate> <dc:creator>マルク</dc:creator> <category><![CDATA[硬體]]></category> <category><![CDATA[dhcpv6]]></category> <category><![CDATA[ipv6]]></category> <category><![CDATA[Linux]]></category> <guid
isPermaLink="false">http://b.cpalm.org/?p=408</guid> <description><![CDATA[As I am building up a total IPv6 network of Linux servers on VMWare, today I will write about how we can configure DHCPv6 server &#38; client. I tested only on RedHat/Fedora/CentOS based platforms. But it should work on other platforms with some minor changes. So lets start…Server Configuration: (dhcp6s) First we will install DHCPv6 [...]]]></description> <content:encoded><![CDATA[<p><span> </span></p><div>As I am building up a total IPv6 network of Linux servers on VMWare, today I will write about how we can configure DHCPv6 server &amp; client. I tested only on RedHat/Fedora/CentOS based platforms. But it should work on other platforms with some minor changes. So lets start…<strong><span
style="font-size: small;">Server Configuration: (dhcp6s)</span></strong></p><p>First we will install DHCPv6 RPM on the server:</p><blockquote><p><strong># yum -y install dhcpv6</strong></p></blockquote><p>After installing the above mentioned RPM we will turn on global IPv6 initialization and will also enable forwarding of IPv6 packets:<span
id="more-408"></span></p><blockquote><p><strong># vi /etc/sysconfig/network</strong>NETWORKING_IPV6=yes<br
/> IPV6FORWARDING=yes</p></blockquote><p>Then we will turn on IPv6 on a particular device and we will also a set an IPv6 address for that device by adding the following lines:</p><blockquote><p><strong># vi /etc/sysconfig/network-scripts/ifcfg-eth0</strong>IPV6INIT=yes<br
/> IPV6ADDR="2002:1851:c622:1::1/64&#8243;</p></blockquote><p>Now we will specify the interface for DHCPv6 server:</p><blockquote><p><strong># vi /etc/sysconfig/dhcp6s</strong>DHCP6SIF=eth0<br
/> DHCP6SARGS=</p></blockquote><p>Next, we will edit the main DHCPv6 server configuration file as following:</p><blockquote><p><strong># cp /usr/share/doc/dhcpv6-*/dhcp6s.conf /etc/<br
/> # vi /etc/dhcp6s.conf</strong></p><pre><span style="font-family: verdana,arial,helvetica,sans-serif;">interface eth0 {
	server-preference 255;
	renew-time 60;
	rebind-time 90;
	prefer-life-time 130;
	valid-life-time 200;
	allow rapid-commit;
	option dns_servers 2002:1851:c622:1::1 example.com;
	link AAA {
		pool{
			range 2002:1851:c622:1::2 to 2002:1851:c622:1::9/64;
			prefix 2002:1851:c622:1::/64;
		};
	};
};</span></pre></blockquote><p>Finally, we will start DHCPv6 server daemon:</p><blockquote><p><strong># service network restart &amp;&amp; service dhcp6s start &amp;&amp; chkconfig dhcp6s on</strong></p></blockquote><p><strong><span
style="font-size: small;">Client Configuration: (dhcp6c)</span></strong></p><p>We will start client configuration by installing DHCPv6 client RPM:</p><blockquote><p><strong># yum –y install dhcpv6_client</strong></p></blockquote><p>Then we will enable IPv6 networking on the client:</p><blockquote><p><strong># vi /etc/sysconfig/network</strong>NETWORKING_IPV6=yes</p></blockquote><p>Next we will configure a particular device to participate as DHCPv6 client by adding the following lines to that device configuration file:</p><blockquote><p><strong># vi /etc/sysconfig/network-scripts/ifcfg-eth0</strong>IPV6INIT=yes<br
/> DHCPV6C=yes</p></blockquote><p>After that we will edit the main DHCPv6 client configuration file as following:</p><blockquote><p><strong># cp /usr/share/doc/dhcpv6_client-*/dhcp6c.conf /etc/<br
/> # vi /etc/dhcp6c.conf</strong></p><pre><span style="font-family: verdana,arial,helvetica,sans-serif;">interface eth0 {
	send rapid-commit;
	request domain-name-servers;
};</span></pre></blockquote><p>Finally we will restart networking on the client to acquire an IPv6 address from the DHCPv6 server:</p><blockquote><p><strong># service network restart</strong></p></blockquote><p>That’s all. If everything goes right we will see a global IPv6 address on the client by running:</p><blockquote><p><strong># ifconfig eth0</strong></p></blockquote><blockquote><p><strong>Ref: http://blog.zakir.net/index.php?/archives/3-Configuring-DHCPv6-on-Linux.html<br
/> Ref: http://pandaeatsbamboo.blogspot.com/2009/08/configuring-ipv6-address-on-linux.html</strong></p></blockquote></div> ]]></content:encoded> <wfw:commentRss>http://b.cpalm.org/2009/09/configuring-dhcpv6-on-linux/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>IPV6 ip assign &amp; ping under Linux</title><link>http://b.cpalm.org/2009/08/ipv6-ip-assign-ping-under-linux/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ipv6-ip-assign-ping-under-linux</link> <comments>http://b.cpalm.org/2009/08/ipv6-ip-assign-ping-under-linux/#comments</comments> <pubDate>Mon, 31 Aug 2009 15:36:46 +0000</pubDate> <dc:creator>マルク</dc:creator> <category><![CDATA[軟體]]></category> <category><![CDATA[ipv6]]></category> <guid
isPermaLink="false">http://b.cpalm.org/?p=401</guid> <description><![CDATA[#ip -6 addr add 3ffe:501:ffff::200/64 dev eth0 #ping6 3ffe:501:ffff::200 Server side: #iperf -s -w 512K -l 64K -p 5001 -V Client side: #iperf -c 3ffe:501:ffff::200 -w 512K -l 64K -i 3 -t 28800 -P 16 -p 5001 -V (Run 8 小時/ipv6)]]></description> <content:encoded><![CDATA[<blockquote><p>#ip -6 addr add 3ffe:501:ffff::200/64 dev eth0</p><p>#ping6 3ffe:501:ffff::200</p></blockquote><blockquote><p>Server side:<br
/> #iperf -s -w 512K -l 64K -p 5001 -V</p></blockquote><blockquote><p>Client side:<br
/> #iperf -c 3ffe:501:ffff::200 -w 512K -l 64K -i 3 -t 28800 -P 16 -p 5001 -V</p></blockquote><p>(Run 8 小時/ipv6)</p> ]]></content:encoded> <wfw:commentRss>http://b.cpalm.org/2009/08/ipv6-ip-assign-ping-under-linux/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
