running dhclient for more than one interface

Pavel Zhukov pzhukov at redhat.com
Mon May 11 08:56:22 UTC 2020


Hello,
You can start several dhclient instances (one per interface) but
different pid files  (-pd) must be specified. You can find examples in
initscripts/NetworkManager code.


On Thu, May 7, 2020 at 7:11 PM Fatemeh Mehdizadeh
<mehdizadeh.fatemeh at gmail.com> wrote:
>
> Hi all,
> I installed isc-dhcp-client version 4.4.1 on my Freebsd system. I want to run dhclient for more than one interfaces, but only one interface get the ip and the other encountered an error.
>
> This is the command:
> dhclient -nw  em1 -lf /var/run/routing/dhclient.leases.em1
> dhclient -nw  em2 -lf /var/run/routing/dhclient.leases.em2
>
> for em2 I have error:
> Listening on BPF/em2/00:90:28:01:aa:bb
> Sending on   BPF/em2/00:90:28:01:aa:bb
> Can't bind to dhcp address: Address already in use
> Please make sure there is no other dhcp server
> running and that there's no entry for dhcp or
> bootp in /etc/inetd.conf.   Also make sure you
> are not running HP JetAdmin software, which
> includes a bootp server.
>
> Is it possible to have more than one dhclient binary instance on my system?
>
> Please help me to find the solution.
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users



--
Pavel Zhukov
Software Engineer
IRC: landgraf



More information about the dhcp-users mailing list