IP help

Karl Zander KZander at CommPartners.com
Sat Dec 14 11:18:00 CST 2002


Thank you....Karl

At 11:40 AM 12/14/2002 -0500, you wrote:
>On Sat, 14 Dec 2002, Karl Zander wrote:
>
> > PowerEdge 1650 with built in Intel EtherPro 1000 NICS.
> >
> > Trying to assign multiple IP addresses to an interface.
> >
> > eth0 is assigned 172.27.72.200.  I want to assign 172.27.72.201 to the 
> same
> > interface.
> >
> > I use
> >
> > ifconfig eth0:0 172.27.72.201
> >
> > That works to assgin the IP address.  But when I reboot, this address 
> is no
> > longer present.
> >
> > How do I make it permanent?
> >
>
>You need to add a ifcfg file for the addtional aliased interface in
>/etc/sysconfig/network-scripts.  The easiest way is to simply copy one of
>the exsiting ifcfg-eth0 to ifcfg-eth0:0, remove the addtional stuff and
>check the DEVICE and IP flags.. For example:
>
>DEVICE="eth0:0"
>BOOTPROTO="none"
>ONBOOT="yes"
>IPADDR="111.222.333.444"
>NETMASK="255.255.255.0"
>
>HTH,
>
>-n
>--
>----------------------------------------
>nathan hruby <nathan at drama.uga.edu>
>computer services specialist
>uga drama
>http://www.drama.uga.edu/support/
>----------------------------------------






More information about the Linux-PowerEdge mailing list