Re: dhcpcd br0:fact_ip not working anymore in v6.11.2
Roy Marples
Sat Aug 06 23:09:09 2016
Hi
On Friday 05 August 2016 15:08:03 Giorgio wrote:
> Hi,
>
> I've recently updated dhcpcd to v6.11.2 and the command line:
>
> # dhcpcd -S ip_address=10.7.1.117/8 'br0:fact_ip'
> br0:fact_ip: interface not found or invalid
> dhcpcd exited
> #
>
> does not work anymore.
>
> I think it is an effect of the commit id
> 1ea41b230676c4803efb23456b55f52a0d8bbcd5:
> Add if_nametospec helper to decode and interface name such as bge1:2
> into device name, lun, ppa and driver name. Use this function when
> discovering addresesses and when they arrive via the kernel listening
> socket so they can be assigned to the correct physical interface. This
> change does also stop `dhcpcd eth0:1` working on Linux, but is needed
> for basic Solaris support.
>
> I use this feature essentially in my embedded userland and I would like
> to know if
> there is a workaround to configure more than one ip on the same net.
> device using
> some kind of (different) labels to distinguish between them.
You can configure >1 ip on the same interface .... just not using labels.
Use the ip command rather than ifconfig to see them.
dhcpcd won't destroy any pre-existing addresses by default.
Roy
Archive administrator: postmaster@marples.name