Multiple IP addresses without aliasing?

Sam Varshavchik mrsam at courier-mta.com
Fri Aug 28 21:36:06 UTC 2009


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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20090828/ffc5a297/attachment-0001.sig>


More information about the fedora-list mailing list