Notepad:Chain of IP addresses: Difference between revisions
From Amar
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
create a chain of IP addresses | create a chain of IP addresses | ||
1. Create a file | 1. Create a file | ||
<code> | |||
<pre> | |||
/etc/sysconfig/network-scripts/ifcfg-eth0-range0 | /etc/sysconfig/network-scripts/ifcfg-eth0-range0 | ||
</pre> | |||
</code> | |||
2. In this file, put | 2. In this file, put | ||
<code> | <code> | ||
< | <pre> | ||
DEVICE=eth0-range0 | |||
BOOTPROTO=static | BOOTPROTO=static | ||
IPADDR_START=192.168.1.1 | IPADDR_START=192.168.1.1 | ||
Line 13: | Line 17: | ||
GATEWAY=192.168.1.1 | GATEWAY=192.168.1.1 | ||
CLONENUM_START=1 | CLONENUM_START=1 | ||
</ | </pre> | ||
</code> | </code> | ||
{{Notepad}} |
Latest revision as of 19:05, 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
← Back to Notepad
<insert>googlesearchwiki</insert> | <insert>paypal</insert> | <insert>analytics</insert> |