For testing purposes I need to add a second IP address to eth0.

eth0 is managed by NetworkManager, and uses dhcp.

I know that if I get rid of NetworkManager and put static IP addresses in ifcfg-eth0, I can also sprinkle some magic dust into ifcfg-eth0:1, and have the second IP address come up together with the first one.

This does not seem to work with a NetworkManager-managed DHCP-based interface.

Basically, is there some voodoo I can throw in a file somewhere that would perform the equivalent of:

ip addr add 192.168.0.5 dev eth0 label eth0:1

when eth0 comes up via DHCP, by NetworkManager?

Attachment: pgpqOviSdi2pr.pgp
Description: PGP signature

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to