Re: NM: Connection order for devices



On Tuesday 14 of June 2011 15:57:29 Thomas Bechtold wrote:
> Hi,
> 
> i have 2 connections in /etc/NetworkManager/system-connections
> 
> ### Connection 1 ###
> [connection]
> id=Ethernet
> uuid=be2ae05f-b04d-dcf6-efa3-1e63e0f0e111
> type=802-3-ethernet
> [ipv4]
> method=auto
> 
> 
> ### Connection 2 ###
> [connection]
> id=UsbHost
> uuid=66d1285e-9905-4991-99c8-25fa3b3aa08a
> type=802-3-ethernet
> [ipv4]
> method=link-local
> [802-3-ethernet]
> duplex=full
> mac-address=00:50:c2:cd:a5:c7
> [ipv6]
> method=ignore
> 
> 
> I have 2 devices:
> Device1 is an ethernet adapter and Device2 is a UsbHostDevice (with mac
> 00:50:c2:cd:a5:c7).
> 
> 
> 
> When i start NM, seems that NM try to use Conection 1 with Device 2 but
> i told NM to use Connection 2 for device 2 (because of the mac-address
> entry). Why does this happen?
> 
> cheers,
> 
> tom
> 

With mac-address you restricted Connection 2 for the MAC. However, Connection 
1 is not restricted and that's why it can be activated on any compatible 
device. If you want only to use Connection 1  on Device 1, restrict it with 
MAC the same way as Connection 2. You can also disable auto connecting for a 
connection, if you want.

Jirka


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