dhcpcd-discuss

Re: Arping and profiles

David McGurty

Fri Jun 20 10:35:14 2014

Hi Roy!

I have to revive this thread again!
I haven't been using the arping profiles feature for a while now and started using it again today. The behaviour I'm observing is still the same as in my first post. Static address assignment only works for the last arping profile, so that using a config like this one:

arping 192.168.1.1
arping 192.168.2.1

profile aa:aa:aa:aa:aa:aa
static ip_address=192.168.1.254/24
static routers=192.168.1.1

profile bb:bb:bb:bb:bb:bb
static ip_address=192.168.2.254/24
static routers=192.168.2.1

Only when connecting to the network matching the last profile (bb:bb:bb:bb:bb:bb), will static assignment work.
Connecting to a network other than the last one will result in a timeout.
The logs show the same behaviour as I described in my previous mails. Arping is performed, a matching router is found, but the iface never gets configured with the static address. This process gets repeated until time-out.

Could you have another look at this?

Thanks,

        Dave

Follow-Ups:
Re: Arping and profilesRoy Marples
References:
Arping and profilesDavid McGurty
Re: Arping and profilesRoy Marples
Re: Arping and profilesDavid McGurty
Re: Arping and profilesRoy Marples
Re: Arping and profilesDavid McGurty
Re: Arping and profilesRoy Marples
Re: Arping and profilesRoy Marples
Archive administrator: postmaster@marples.name