From owner-freebsd-net@freebsd.org Fri Nov 16 21:51:57 2018 Return-Path: Delivered-To: freebsd-net@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 27EE71105B5B for ; Fri, 16 Nov 2018 21:51:57 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) (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 576196A93D for ; Fri, 16 Nov 2018 21:51:56 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: by mail-lf1-x12c.google.com with SMTP id c16so17521713lfj.8 for ; Fri, 16 Nov 2018 13:51:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=OEOHeTGVjZHKXU29N0FjKTDvJbNrvxnvcCma8g/IF1Y=; b=UjwQWRhztPY9Qk9HSsLUxrq1n4sTOkc1p2DtkmPrlL3H6EQlwXsQMf17Nulk/M39h5 McvnBApu1qYGw0/YJlqnYsMatYm6yf5Z6K3kwllAlfgjWgrl6l2Y/UqVk1rjvUyy5vox gJbuQs/GcAG/DZa3uKNHOjpXloifs8Z2o0T/AWW4OEPBH2U71/eQqq6TdUIk2sfZQpEx AJSH2rYzV5dNEWbOlvmKYo5U1xSJtxwI6+VPRWwnV2KhZ3hrMVgsJerZyBrxnqHWBQl1 JYsT8Lx4qaKVPwZaw2u8nkoy/5xPbn+12Btb03kAWDsG7rfg8A8o7zO8t8KRrF+BVFSt vcrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=OEOHeTGVjZHKXU29N0FjKTDvJbNrvxnvcCma8g/IF1Y=; b=MBJIUo12B6EHOIYDZnNuymKITUmWqrUX5GdIEfiALJ39Uvz9UnF6I7LonJWBChX0Ie lpHBRLzENCYx5uq8G13eyw/KEYva92puFKLaHu1P+pFLIdB2PbiUrw5R/v97VlvlBMSE 7QTQ2Hjmhh6bUs0D97PDeUezMxRuIvi18BDtVnL3Q6h+8vYuV+/UnU4VPMVM8hkWNq7j wfQhR5ggzJaOiUJVGcjHasWvYV4fGSA2v+2yLwkOZ/VG9xrV/xbSTmDhM/E5W1BytMRY KlfwNIple7Z1Hjd7J9GCKdSUmfIaEk0AZ+h23us0ADyh2JIL5+zr9Ssov6ySni/XKyFS d+sw== X-Gm-Message-State: AGRZ1gIldzNfeCHwfLLh5AguwCBqg2aW+VYXtx0SVYTuWQ43n5ww9uI8 9hw8xHuw8e8Qh23CxBO6HknVnwCM9Rj/9yu+BJs= X-Google-Smtp-Source: AJdET5dgc/0KHSDWQ4AKYCfG6qQ6a2zYqWjf5IcWDHpXcIUaAK/1nXOEeBxdnJ8aCi7SHqiiB60psczJxjC9GZRmqfo= X-Received: by 2002:a19:db82:: with SMTP id t2mr6814008lfi.130.1542405114806; Fri, 16 Nov 2018 13:51:54 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Freddie Cash Date: Fri, 16 Nov 2018 13:51:43 -0800 Message-ID: Subject: Re: isc-dhcpd refuses access? To: zbeeble@gmail.com Cc: freebsd-net X-Rspamd-Queue-Id: 576196A93D X-Spamd-Result: default: False [-1.57 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; URI_COUNT_ODD(1.00)[3]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.79)[-0.795,0]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; R_DKIM_ALLOW(-0.20)[gmail.com]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[c.2.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; HTTP_TO_IP(1.00)[]; IP_SCORE(-0.76)[ipnet: 2a00:1450::/32(-1.91), asn: 15169(-1.82), country: US(-0.10)]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2018 21:51:57 -0000 On Fri, Nov 16, 2018 at 12:38 PM Zaphod Beeblebrox wrote: > So... my home router has a trunked relationship to the home switch. > > BGE0.31 is the guest network and has 172.17.31.1/24. > > BGE0.221 is the home network and has 192.168.221.1/24. > > Now on the switch, the "access" (untagged) VLAN is 1. This works: BGE0 is > 192.168.110.1 and the switch's management is 192.168.110.253. > > Recently, I've been playing with a new switch, and only wants to talk on > vlan1. I can see it's DHCP requests on the untagged port, so I modified my > isc-dhcpd configuration to include a subnet and range for 192.168.110.0/24 > . > > Oddly, however, when restarted, dhcpd says it is listening on bge0.31 and > bge0.221, but ignores bge0. Help? > While FreeBSD is generally better than most at supporting hybrid interfaces (tagged and untagged vlans on the same NIC), you really shouldn't do that. Configure it either as an access port (untagged vlan only) or a trunk port (tagged vlans only). Simplest solution is to make vlan 1 tagged as well on the port that connects to the FreeBSD box, move the IP setup to bge0.1 instead of bge0, and configure dhcpd to listen on bge0.1 as well as the others. -- Freddie Cash fjwcash@gmail.com