RE: Multiple IP with one nic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2005-11-19 at 22:41 -0600, Mike McGrath wrote:
> >
> >
> >
> > -----Original Message-----
> > From: fedora-list-bounces@xxxxxxxxxx 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.

Note that if the original owner of the IP address you are assigning to
eth0:1 is still up when you do this you will get strange results.
Different implementations of arp do different things when there are
multiple machines with the same IP address.
-- 
Graham Campbell <gc1111@xxxxxxxxxxxxx>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux