Re: ifcfg-ethX voodoo for a second IP on the same interface



Ed Greshko writes:

On 04/21/2012 01:41 PM, Ed Greshko wrote:
> You're right about the doc and NetworkManager... I had to set it to no
> > and bring down the service to make it work... But then I'm using F17
> > beta so maybe NM is broken???

No, AFAIK, NM won't handle that type of configuration.

You either do it the way you did, without NM. Or, you do it the way I did, with NM.

The other "downside" is that the NM GUI (at least on KDE) doesn't allow for adding a
second IP address. Needs to be done manually.

Yeah, I tried having an alias file every which way imaginable, and just couldn't get it to work while having NetworkManager and DHCP run things.

NM, and DHCP, are very convenient, even if, for all practical purposes, the assigned IP addresses are static. That does make things easier. Looks like I'll just go with executing "ip addr add" manually, when I need to bring up a second IP address. It's not really the end of the world, but it would've been nicer if it were automated. I think that NM has a post-* script somewhere, that gets executed when it brings up an interface with a DHCP- acquired IP address, that I can stick that into…

Attachment: pgpyWmavbjw34.pgp
Description: PGP signature

--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
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


Relevant Pages

  • Re: Help: No internet connection
    ... NetworkManager aware - I wonder if NetworkManager is telling them the ... Check that you have not forgotten that you turned on access restrictions on your router, and in particular that you have not limited the number of DHCP addresses which the router can serve out, and that you are not over that limit. ... start with 'ping 192.168.1.1'. ...
    (Fedora)
  • Re: laptop fc7 with NetworkManager couldnt find wired ip
    ... There is a weird incompatibility between NetworkManager and network, ... with 169.254.x.x until they can make contact with their DHCP server. ... But now the fc7 laptop also wired connecition, but trying to connect via dhcp ...
    (Fedora)
  • Network manager failing dhcp
    ... guy could see I was authorising, but not getting DHCP. ... I tried to disable Networkmanager, and do things by hand but just got ... Sep 12 09:31:29 wjmurray NetworkManager: DHCP: Starting request loop, ... port was not the DHCP server port number, ...
    (Fedora)
  • Re: Intermittent internet since upgrading to squeeze
    ... I'm using dhcp. ... I don't know if I'm using networkmanager. ... iface eth0 inet dhcp ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: USB wifi recommendation
    ... "networkmanager dhcp" for details - happens with all sorts of hardware). ... Debian Backports has Network-Mangler 0.7.3 backported to use the Lenny ... library environment ...
    (uk.comp.os.linux)