Multiple IP with one nic
Mike McGrath
mmcgrath at iesabroad.org
Sun Nov 20 04:41:04 UTC 2005
>
>
>
> -----Original Message-----
> From: fedora-list-bounces at redhat.com on behalf of Jonathan Carpenter
> Sent: Sat 11/19/2005 10:25 PM
> To: Fedora-Redhat-List
> Subject: Multiple IP with one nic
>
> I have several servers that are not doing to much and I need to combine them
> in to one. Is there anyway that I can give one server multiple IP's and
> hostnames? So the network will see this one server as several?
>
> Thanks,
>
>
create file:
/etc/sysconfig/network-scripts/ifcfg-eth0:0
in it put:
#######
DEVICE=eth0:0
BOOTPROTO=static
BROADCAST=10.10.0.255
IPADDR=10.10.0.150
NETMASK=255.255.255.0
NETWORK=10.10.0.0
ONBOOT=yes
TYPE=Ethernet
#######
replace the information in this example with your network settings, then restart the network
service network restart
Test, and repeat with eth0:1 eth0:2 and so on.
-Mike
More information about the users
mailing list