From owner-freebsd-questions@freebsd.org Fri Jan 25 01:38:28 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 636DB14C68CD for ; Fri, 25 Jan 2019 01:38:28 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: from mail-ot1-x333.google.com (mail-ot1-x333.google.com [IPv6:2607:f8b0:4864:20::333]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7B8C791A04 for ; Fri, 25 Jan 2019 01:38:27 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: by mail-ot1-x333.google.com with SMTP id v23so7109186otk.9 for ; Thu, 24 Jan 2019 17:38:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=3VVGFJFm0XsgTq14+qbcVOiBOM60CVA9vxdEPzOm6HU=; b=h5zxjE3M2Jidp/fRifypg7xgkHrrMgznqyIJTeZv0OV+5v8vjUe75i9fLiBoNid0/F MX2obecDUrbVg44TWiPw+aGx2AiS+X/6fiQ0ibVYhJIufTJ4bduhkuMMUav2l29Pp9x/ DMdP9T2BRSgihDontDTtGl92jOuAd6eGM0iHVokN16U8Wp6taFsEJsFTELK73yyZYWNW m7xu2nm/4H9KnMO0cFdlxvVS5FzqJJoQkdgcq4PlF3NRju0hL3JO4m/0Yl8wPz/vSl8E 7P4s+nPRVV5uotTL9SzpcYEkN5LMsfk795SvMKC+CHnMPPbc+uCn4X6ygebHB6Fl6Bwj ScVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=3VVGFJFm0XsgTq14+qbcVOiBOM60CVA9vxdEPzOm6HU=; b=b7m/z7u9aQSkd3Of9DFFslGyQv16IsAS+IkPj3+OC27wYqP/BDQIUtecqJ/449bSgf iktK+uTUQxu45WfJkFBGufFA1AWqpREzp6vYUSefypKLpkk6jFsJ5/BGyDiuzLqqau53 xN78G7qlJb5SgxFQ+H3wwyrq/kflXtsCjvPWILI9rDelbG1GApLoZC1jKvBQUYUGToNW iNEu3uVP8cD7nXOHYuNOUeyOZrucfjZacSmGAIV7OMCR4hFV0r26KcJTPfLQY+X7cN98 e5Gzj69Cok9sPT7w7yQ7YUdHEdRI3dYediRG6Hz5OmuIznMA+B5JaKbeAJyL7plHmcSI //kg== X-Gm-Message-State: AJcUukczsYNzWdo8zURCORV0zfuVFk6b7/s4wTTPGAE6f/5o2dbcCvEJ H+GII/HcvE960BBChOg51qpGWFpyoUe3DokFotrpbI4h X-Google-Smtp-Source: ALg8bN5+KH2JLddWf4e+Wg1PH+ahHUbtm5c0HyqxFRK+UXbS69DZ/wKDaOFMqQHvDQyZ3TelX4/6ZUyra7dzvNVALco= X-Received: by 2002:a9d:664f:: with SMTP id q15mr6736823otm.282.1548380306009; Thu, 24 Jan 2019 17:38:26 -0800 (PST) MIME-Version: 1.0 From: "Kurt Buff - GSEC, GCIH" Date: Thu, 24 Jan 2019 17:38:13 -0800 Message-ID: Subject: Question regarding NIC configuration To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 7B8C791A04 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=h5zxjE3M; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kurtbuff@gmail.com designates 2607:f8b0:4864:20::333 as permitted sender) smtp.mailfrom=kurtbuff@gmail.com X-Spamd-Result: default: False [-6.52 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.84)[-0.836,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-2.68)[ip: (-8.90), ipnet: 2607:f8b0::/32(-2.49), asn: 15169(-1.91), country: US(-0.08)]; RCVD_IN_DNSWL_NONE(0.00)[3.3.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; TO_DN_EQ_ADDR_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jan 2019 01:38:28 -0000 All, As I've reported before, I have a VM running in VMware Workstation on my Win10 production laptop at work. We use Ruckus WAPs for work in the Unleashed flavor, and they have a weird quirk - DHCP requests made by VMs while connected to wireless will not work[1]. Obviously, that presents a problem when off-premises, as DHCP is required when away from work. I'm looking for a quick/easy way to handle the transition from work to not-work and back for the FreeBSD VM - I've got a nifty powershell script for Windows, but that's really only for Windows. Anyone have a thought or two they'd like to share for making it easier to manage? Currently I'm reduced to editing /etc/rc.conf and issuing "netif restart". Does anyone have a better idea? Thanks, Kurt [1] For those who care, the Unleashed Ruckus units seem to use a Directed IP Broadcast for DHCP. Why this messes up DHCP for VMs but not hosts running them, I don't know, but it's really annoying. I use bridged mode for my VMs, per company policy (which I initiated, because as the admin, I get to talk with all machines on my network). I presume using NAT mode for the VMs wouldn't cause a problem, because then the host would issue an IP address, rather than the network DHCP server. FWIW, while troubleshooting this problem, I turned the Directed IP Broadcast facility off, and all of the phones on the guest network (which are served via the DHCP server on our firewall, rather than our production DHCP servers) stopped getting addresses, causing quite a bit of bleating, and I had to back out the change. I don't know if the regular flavor of Ruckus units using a controller exhibit different behavior. I also have no idea why turning off the Directed IP Broadcast affected the units on the guest network, and not the production wireless network, but as I had to back out the change less than an hour after implementing it, perhaps there wasn't enough time for the impact to make itself felt - the lease times on production vs. guest are significantly different.