Re: network manager with two interfaces

> From: "Bo Forslund" <bo forslund abc se>
> I had to hand edit /etc/udev/rules.d/70-persistent-net.rules and
> /etc/network/interfaces.
> This was done with an out of the box installation of debian 6.0.6. It
> seems like the install process randomly sets the network cards to
> eth0/eth1 from one install to another on the same computer. (I had to
> abort the first install attempt for some reason i don't remember. The
> next install attempt eth0 was eth1 and eth1 was eth0).

1) Persistent inteface names are currently out of scope of NetworkManager. Feel free to file a bug report with your distribution.

2) NetworkManager currently doesn't care about MAC addresses. So there's no problem with non-persistent names.

> After hand editing the files mentioned above the system works but the
> nm-applet says "enheten hanteras inte" might translate to the unit is
> not handled.

This is correct. When interfaces are handled through ifupdown using configuration at /etc/network/interfaces, NetworkManager does its best to avoid stepping in and configuring the interfaces that are managed by ifupdown.

> The system works. Ip-masquerade works. Is it possible to get the
> nm-applet telling that ip-masquerade is up and working?

Not really.

> The contents of the files /etc/udev/rules.d/70-persistent-net.rules
> and /etc/network/interfaces comes below

You ended up avoiding NetworkManager for your use case. You are either happy with, or you would like to tell us what problem you had with NetworkManager.

If you want to set up the 'nat' table based on dynamic configuration, you have to do so using a script in /etc/NetworkManager/dispatcher.d.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]