Notepad:Chain of IP addresses: Difference between revisions

From Amar
Jump to navigationJump to search
No edit summary
No edit summary
Line 2: Line 2:
1.  Create a file
1.  Create a file
<code>
<code>
<nowiki>
<pre>
<pre>
/etc/sysconfig/network-scripts/ifcfg-eth0-range0
/etc/sysconfig/network-scripts/ifcfg-eth0-range0
</pre>
</pre>
</nowiki>
</code>
</code>


2. In this file, put
2. In this file, put
<code>
<code>
<nowiki>
<pre>
<pre>
DEVICE=eth0-range0
DEVICE=eth0-range0
Line 21: Line 18:
CLONENUM_START=1
CLONENUM_START=1
</pre>
</pre>
</nowiki>
</code>
</code>

Revision as of 05:04, 20 February 2007

create a chain of IP addresses 1. Create a file

/etc/sysconfig/network-scripts/ifcfg-eth0-range0

2. In this file, put

DEVICE=eth0-range0
BOOTPROTO=static
IPADDR_START=192.168.1.1
IPADDR_END=192.168.1.100
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
CLONENUM_START=1