running dhclient for more than one interface

Fatemeh Mehdizadeh mehdizadeh.fatemeh at gmail.com
Sat May 16 09:48:29 UTC 2020


Hi,
I used different pid file but it dosen't work.
dhclient -nw  em1 -pf /var/run/routing/dhclient.em1.pid -lf
/var/run/routing/dhclient.leases.em1
dhclient -nw  em2 -pf /var/run/routing/dhclient.em2.pid -lf
/var/run/routing/dhclient.leases.em2

Is it right command?
On Mon, May 11, 2020 at 1:27 PM Pavel Zhukov <pzhukov at redhat.com> wrote:

> 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
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20200516/1f00a809/attachment.htm>


More information about the dhcp-users mailing list