Received: from mail-pj1-f44.google.com (mail-pj1-f44.google.com [209.85.216.44]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 26DDB781596 for <~alpine/users@lists.alpinelinux.org>; Thu, 31 Mar 2022 21:18:21 +0000 (UTC) Received: by mail-pj1-f44.google.com with SMTP id c15-20020a17090a8d0f00b001c9c81d9648so647655pjo.2 for <~alpine/users@lists.alpinelinux.org>; Thu, 31 Mar 2022 14:18:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sabalcore-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=HGGLbMpuLfK1ixc/icroHsN+WW0WeQYxH84tgxpwAq4=; b=mbJqJVmmRO5VZqM2J2ww51Q8iTQjbjjcUYb1x1Gc6rSzoW+1rhZbb15CaNgQee9GN5 REo4xQv5XPZeuE4WfA26G8XifIxmW7hv+0N4SBA6xwsCxZmV9+tHnS2OpbV4RKJBSSl5 2bPgeBVn866TxbHBEBEwPHSRB/i1imjWc4GvRREroKk6elvlyh0XmJFDIDB56AqxVd9X if5yGbN36IpdzHKrvWJBRaHccnAi8V6VES0zjBMIw0QNrAluoktmBp0s/UWXr4wcTQc9 iGvw7eV3S8TrDS7RBSN35FKPRxY5G1hySZbu3/RzqcC6j4w1ujRgvX6G5FNN92lGHHYe KH4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=HGGLbMpuLfK1ixc/icroHsN+WW0WeQYxH84tgxpwAq4=; b=cmHTD9s00uwxDjdljkklBCunHM8VslnRvmaZr3u2wJnJW+sSS91dYPSISWzghPlpuH CU+znFO6W6UjVFmW1fqBL6wjD+T0YOGNp2OfajJvWICFkHa9pcpxRcZOW+hEPWCI0fz/ NjhIrENVtDT3asNOWAjfYRUGzgAtUrklSrbF4oIRd6sjXKj0ceBXqiruOn6icZU64Gyk RFhIqFkQBvcFBHLcspVDFOtL8O0UB8SYi8vHEJEVGIkskjoRNI3o4E+o6BiHhjEPYQ1Z 7mPl8mkSDz5fQtYPsbYkMYAt2Vxukn/mScYUTXLqivG+gTpPQEIiWKhR8/lkIIoPhyBo ewDw== X-Gm-Message-State: AOAM533DAPetofW1dTkYPvhKqi39+bsO3KM8yMPEmSNss/0tjFiRDMvG kJv+hedJoOgNtX82pZgu8gleIR4SFsVZleyYhhJtK1Z+milDbvCUgJYaJr7FkLZUfdYEx0RQ6Pp hWtaobhkUqjKEZM4yXWmrm4rdl4b7yVzTKDDPF+QkmQKxrQEf0ACn X-Google-Smtp-Source: ABdhPJwXr1V90mBciYgJJwk3eN5x9gcUdOsyIsUgqME6tgBN768Mcozeb3Ac1kYzT5aqZ7/AN8kSnIQK8sudxxBUEN0= X-Received: by 2002:a17:903:40c4:b0:154:3ffd:77f7 with SMTP id t4-20020a17090340c400b001543ffd77f7mr42231685pld.36.1648761498938; Thu, 31 Mar 2022 14:18:18 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Kevin Van Workum Date: Thu, 31 Mar 2022 17:18:07 -0400 Message-ID: Subject: Re: pxe boot and udhcpc To: ~alpine/users@lists.alpinelinux.org Content-Type: multipart/alternative; boundary="00000000000076c5ac05db8a3339" --00000000000076c5ac05db8a3339 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I found that "ip=3D:::::eth0:dhcp:::" works, but "ip=3Ddhcp" tries sends discover packets over eth1. On Thu, Mar 31, 2022 at 3:32 PM PICCORO McKAY Lenz wrote: > i just finish to made a how to yesterday for pxe.. and that you said does > not depends on.. > > you can put a metric in the interface to avoid the issue or made this > trick: put a static ip on second one.. it worked for me > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > > El jue, 31 mar 2022 a la(s) 15:23, Kevin Van Workum (vanw@sabalcore.com) > escribi=C3=B3: > >> I'm trying to pxe boot alpine on a physical machine with 2 onboard nics. >> Only the first nic is connected to a LAN. udhcpc tries forever to config= ure >> the 2nd nic and so never finishes the init process: >> >> udhcpc: broadcasting discover >> udhcpc: broadcasting discover >> udhcpc: broadcasting discover >> udhcpc: broadcasting discover >> udhcpc failed to get a DHCP lease >> udhcpc: broadcasting discover >> udhcpc: broadcasting discover >> udhcpc: broadcasting discover >> ... >> >> Is there a way to disable the 2nd nic or tell udhcpc to stop trying? >> >> -- >> *Kevin Van Workum, PhD* >> *Principal, Sabalcore* >> >> *P* 877-492-8027 >> x1011 >> *W* www.sabalcore.com *E* vanw@sabalcore.com >> *A *3505 Lake Lynda Drive Suite 200, Orlando, FL 32817 >> >> >> >> *Disclaimer* >> The information contained in this communication from the sender is >> confidential. It is intended solely for use by the recipient and others >> authorized to receive it. If you are not the recipient, you are hereby >> notified that any disclosure, copying, distribution or taking action in >> relation of the contents of this information is strictly prohibited and = may >> be unlawful. >> > --=20 *Kevin Van Workum, PhD* *Principal, Sabalcore* *P* 877-492-8027 x1011 *W* www.sabalcore.com *E* vanw@sabalcore.com *A *3505 Lake Lynda Drive Suite 200, Orlando, FL 32817 --=20 *Disclaimer*=C2=A0 The information contained in this communication from the=20 sender is confidential. It is intended solely for use by the recipient and= =20 others authorized=C2=A0to receive it. If you are not the recipient, you are= =20 hereby notified that any disclosure, copying, distribution or taking action= =20 in relation of the contents of this information is strictly prohibited and= =20 may be unlawful. --00000000000076c5ac05db8a3339 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I found that "ip=3D:::::eth0:dhcp:::" works, but= "ip=3Ddhcp" tries sends discover packets over eth1.
On Thu, M= ar 31, 2022 at 3:32 PM PICCORO McKAY Lenz <mckaygerhard@gmail.com> wrote:
i just finish to m= ade a how to yesterday for pxe.. and that you said does not depends on..

you can put a metric in the interface to avoid = the issue or made this trick: put a static ip on second one.. it worked for= me

Lenz McKAY Gerardo (PICCORO)


El jue, 31 mar 2022 a l= a(s) 15:23, Kevin Van Workum (vanw@sabalcore.com) escribi=C3=B3:
I'm trying to pxe b= oot alpine on a physical machine with 2 onboard nics. Only the first nic is= connected to a LAN. udhcpc tries forever to configure the 2nd nic and so n= ever finishes the init process:

udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc: = broadcasting discover
udhcpc: broadcasting discover
udhcpc failed to = get a DHCP lease
udhcpc: broadcasting discover
udhcpc: broadcasting d= iscover
udhcpc: broadcasting discover
...

=
Is there a way to disable the 2nd nic or tell udhcpc to stop trying?

--
Kevin Van Work= um, PhD
Principal, Sabalcore

P=C2=A0 =C2=A0877-492-8027=C2=A0x1011=C2=A0=C2=A0
W=C2=A0=C2=A0www.sabalcore.com= =C2=A0 =C2=A0E=C2=A0vanw@sabalcore.com
<= div>A=C2=A0 =C2=A03505 Lake Lynda Drive Suit= e 200, Orlando, FL 32817



Disclaimer=C2=A0<= /span>
The information cont= ained in this communication from the sender is confidential. It is intended= solely for use by the recipient and others authorized=C2=A0to receive it. = If you are not the recipient, you are hereby notified that any disclosure, = copying, distribution or taking action in relation of the contents of this = information is strictly prohibited and may be unlawful.=


--
Kevin Van Workum, PhD
Principal, Sa= balcore

<= b>P=C2=A0 =C2=A0877-492-8027=C2=A0x1011=C2=A0=C2=A0
= W=C2=A0=C2=A0www.sabalcore.com=C2=A0 =C2=A0E= =C2=A0vanw@sabalcore.com
A=C2=A0 =C2=A03505 Lake Lynda Drive Suite 200, Orlando, FL 32= 817


=

Disclaimer=C2=A0
<= div>The information contained in this= communication from the sender is confidential. It is intended solely for u= se by the recipient and others authorized=C2=A0to receive it. If you are no= t the recipient, you are hereby notified that any disclosure, copying, dist= ribution or taking action in relation of the contents of this information i= s strictly prohibited and may be unlawful.
--00000000000076c5ac05db8a3339--