<?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>深度VPS &#187; 多IP</title>
	<atom:link href="http://www.deepvps.com/tag/%E5%A4%9Aip/feed" rel="self" type="application/rss+xml" />
	<link>http://www.deepvps.com</link>
	<description>专注VPS技术，关注前端技术</description>
	<lastBuildDate>Sat, 04 Feb 2023 14:00:33 +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>Burst 配置多IP访问</title>
		<link>http://www.deepvps.com/burst-configure-more-ip.html</link>
		<comments>http://www.deepvps.com/burst-configure-more-ip.html#comments</comments>
		<pubDate>Sun, 13 Jun 2010 06:53:08 +0000</pubDate>
		<dc:creator>deepvps</dc:creator>
				<category><![CDATA[VPS管理维护]]></category>
		<category><![CDATA[Burst]]></category>
		<category><![CDATA[多IP]]></category>
		<category><![CDATA[配置]]></category>

		<guid isPermaLink="false">http://www.deepvps.com/?p=462</guid>
		<description><![CDATA[昨天一个客户在Burst购买了5个额外IP，今天官方开通，信件如下（摘示例，客户资料不在里面）：
INSTALLATION ASSISTANCE
The first two IPs (network &#38; gateway) and the last IP (broadcast) in your assignment are unusable for you.
/28 (13 usable) NETMASK = 255.255.255.240
/27 (29 usable) NETMASK = 255.255.255.224
/26 (61 usable) NETMASK = 255.255.255.192
/25 (125 usable) NETMASK = 255.255.255.128
/24 (253 usable) NETMASK = 255.255.255.0
For subnet calculation, please see: https://www.burst.net/SubnetCalc.php
EXAMPLE:
Assignment: 66.96.198.48/28
Network: 66.96.198.48
Gateway: 66.96.198.49
Broadcast: 66.96.198.63
Useable IPs: [...]]]></description>
			<content:encoded><![CDATA[<p>昨天一个客户在<a href="http://www.deepvps.com/go/burst" target="_blank">Burst</a>购买了5个额外IP，今天官方开通，信件如下（摘示例，客户资料不在里面）：</p>
<blockquote><p>INSTALLATION ASSISTANCE</p>
<p>The first two IPs (network &amp; gateway) and the last IP (broadcast) in your assignment are unusable for you.</p>
<p>/28 (13 usable) NETMASK = 255.255.255.240<br />
/27 (29 usable) NETMASK = 255.255.255.224<br />
/26 (61 usable) NETMASK = 255.255.255.192<br />
/25 (125 usable) NETMASK = 255.255.255.128<br />
/24 (253 usable) NETMASK = 255.255.255.0</p>
<p><span id="more-462"></span>For subnet calculation, please see: https://www.burst.net/SubnetCalc.php</p>
<p>EXAMPLE:<br />
Assignment: 66.96.198.48/28<br />
Network: 66.96.198.48<br />
Gateway: 66.96.198.49<br />
Broadcast: 66.96.198.63<br />
Useable IPs: 66.96.198.50-62 (13 useable)</p></blockquote>
<p>上面给出的示例，意思是如果你购买了66.96.198.48/28，那么你就有13个可以用的IP，是66.96.198.50-62。其中66.96.198.48作为网络，66.96.198.49作为网关，66.96.198.63作为广播，均不可用。<br />
也就是说，你购买了一段IP，那么认66.96.198.48/28，最后一个IP是作为广播的，第一个是作为网络，第二个作为网关，总共3个IP不能使用。</p>
<p>子网掩码上面也给出示例了，如果你无法确认你的资料，可以到<a href="https://www.burst.net/SubnetCalc.php" target="_blank">https://www.burst.net/SubnetCalc.php</a>输入巴斯给你的类似于66.96.198.48/28这样的代码，巴斯就会给你自动计算出相关IP资料。</p>
<p>那么如何绑定这些IP到VPS呢？<br />
以网卡是venet0为例，那么就新建个range，比如，vi /etc/sysconfig/network-scripts/ifcfg-venet0-range0</p>
<blockquote><p>DEVICE=venet0<br />
BOOTPROTO=static<br />
IPADDR_START=你的可用IP段开始<br />
IPADDR_END=你的可用IP段结束<br />
NETMASK=网关IP<br />
ONBOOT=yes<br />
BROADCAST=广播IP<br />
NETMASK=子网掩码</p></blockquote>
<p>然后service network restart重启网络，Over~~</p>
<p>不知道有没有错的地方请高手指正，谢谢~</p>
<p>转自：<a href="http://www.hostloc.com/thread-20354-1-1.html" target="_blank">http://www.hostloc.com/thread-20354-1-1.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.deepvps.com/burst-configure-more-ip.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
