Re: Arping and profiles
David McGurty
Sat Jun 21 16:00:42 2014
On 06/21/2014 12:33 AM, Roy Marples wrote:
Hi David!
On 20/06/2014 11:41, David McGurty wrote:
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?
http://roy.marples.name/projects/dhcpcd/ci/e756418071fa154083d81289d56a42ccca41225f?sbs=0
That should fix it :)
Let me know!
Thanks
Roy
Hi Roy!
I tested the patch and it seems to be working now!
Thanks a lot!
Dave
Archive administrator: postmaster@marples.name