Multiple IP addresses without aliasing?

Ryan Lynch ryan.b.lynch at gmail.com
Fri Aug 28 21:38:52 UTC 2009


On Fri, Aug 28, 2009 at 17:36, Sam Varshavchik<mrsam at courier-mta.com> wrote:
> Ryan Lynch writes:
>
>> Do the Fedora network init scripts support additional secondary IP
>> addresses without the use of alias labels?  Does an option for IPv4
>> addresses exist that works like IPV6ADDR_SECONDARIES?
>>
>> I just skimmed /usr/share/doc/initscripts-*/sysconfig.txt, but I
>> didn't see anything to that effect, so I'm guessing the answer is no,
>> and I have to use aliases and 'ifcfg-eth?:0' files.
>
> Yes, at least for IPv4. There is absolutely no support from the GUI, but you
> can manually install /etc/sysconfig/network-scripts/ifcfg-ethX:Y. For
> example, I have an ifcfg-eth1 and an ifcfg-eth1:1, with a second IP address.
> Just copy ifcfg-ethX to ifcfg-ethX:1, and stick in an additional IP address.

That's exactly what I'm trying to avoid--I don't want Fedora to add
the 'eth0:0', 'eth0:1', etc. labels.  I'm wondering if the init
scripts support multiple addresses WITHOUT aliases.




More information about the fedora-list mailing list