<div dir="ltr"><div>Hi, <br></div><div>I used different pid file but it dosen't work.</div><div> dhclient -nw  em1 -pf /var/run/routing/dhclient.em1.pid -lf /var/run/routing/dhclient.leases.em1<br>dhclient -nw  em2 -pf /var/run/routing/dhclient.em2.pid -lf /var/run/routing/dhclient.leases.em2</div><div><br></div><div>Is it right command?<br></div><div><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 11, 2020 at 1:27 PM Pavel Zhukov <<a href="mailto:pzhukov@redhat.com" target="_blank">pzhukov@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
You can start several dhclient instances (one per interface) but<br>
different pid files  (-pd) must be specified. You can find examples in<br>
initscripts/NetworkManager code.<br>
<br>
<br>
On Thu, May 7, 2020 at 7:11 PM Fatemeh Mehdizadeh<br>
<<a href="mailto:mehdizadeh.fatemeh@gmail.com" target="_blank">mehdizadeh.fatemeh@gmail.com</a>> wrote:<br>
><br>
> Hi all,<br>
> 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.<br>
><br>
> This is the command:<br>
> dhclient -nw  em1 -lf /var/run/routing/dhclient.leases.em1<br>
> dhclient -nw  em2 -lf /var/run/routing/dhclient.leases.em2<br>
><br>
> for em2 I have error:<br>
> Listening on BPF/em2/00:90:28:01:aa:bb<br>
> Sending on   BPF/em2/00:90:28:01:aa:bb<br>
> Can't bind to dhcp address: Address already in use<br>
> Please make sure there is no other dhcp server<br>
> running and that there's no entry for dhcp or<br>
> bootp in /etc/inetd.conf.   Also make sure you<br>
> are not running HP JetAdmin software, which<br>
> includes a bootp server.<br>
><br>
> Is it possible to have more than one dhclient binary instance on my system?<br>
><br>
> Please help me to find the solution.<br>
><br>
> _______________________________________________<br>
> dhcp-users mailing list<br>
> <a href="mailto:dhcp-users@lists.isc.org" target="_blank">dhcp-users@lists.isc.org</a><br>
> <a href="https://lists.isc.org/mailman/listinfo/dhcp-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
<br>
<br>
<br>
--<br>
Pavel Zhukov<br>
Software Engineer<br>
IRC: landgraf<br>
<br>
_______________________________________________<br>
dhcp-users mailing list<br>
<a href="mailto:dhcp-users@lists.isc.org" target="_blank">dhcp-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
</blockquote></div></div></div></div>