|
|
Assigning Multiple IP address To Single Ethernet Card - Linux
|
Views : 669
|
|
Tagged in : Linux
|
|
|
Report This Scrap as Inappropriate We request you to choose the appropriate categroy and subcategory that suits your
objectionable concern about the scrap, So that our team can review and find out whether it violates our Guidelines or the
scrap is not suitable for all viewers.
|
In linux os we can assign multiple IP address to single ethernet card.This very usefull for web severs which have more virtual hosts.
Multiple IP address can be assigned in many ways.One of the simplest method is to create a file called "range file".
For example if we want to assign multiple IP address to ethernet device eth0 then we want to create file named "ifcfg-eth0-range0".
The format of the "ifcfg-eth0-range0" :
IPADDR_STAR=192.168.0.1
IPADDR_END=192.168.0.40
the above will assign IP address from 192.168.0.1 to 192.168.0.40 to single ethernet card eth0
We can assign upto 256 IP address to single ethernet card |
|
By Selva, On - 2008-03-14 |
|
|
|