From owner-freebsd-net@freebsd.org Sat Apr 28 14:57:53 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 18A98FB171A for ; Sat, 28 Apr 2018 14:57:53 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-lf0-x22f.google.com (mail-lf0-x22f.google.com [IPv6:2a00:1450:4010:c07::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7E0D770D1A for ; Sat, 28 Apr 2018 14:57:52 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: by mail-lf0-x22f.google.com with SMTP id u21-v6so6699616lfu.9 for ; Sat, 28 Apr 2018 07:57:52 -0700 (PDT) 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=5PGfxQHTjqBupoP4jbG//Du6gUSSEyAHkbjKVTtgFjQ=; b=q3mFmCPJFJQw0xv6osqy8Nq8D6NtMkuv9aULPDCODyYGWD7q2nhj1zUtG1rk7G+XWy eRyWnLNteTwxN+hL2RsELPEhHjHKH5vwGUJtx1T08hPNrumCitvibwS8e+T2PIBTNaXd oSwhN/+DYMjzP12TikUMqXJ8MpioAt1N3AzpxLpPZa/IswNiUJh2h3g7DPcDcbEHDJAF AwdhdYkKyb+wg8WHsiqDnMXcT5SZ+StJRZgX8p7nPbkvT18ZQVPH12oH8eH+QxWwCL+T 5rnLgqIC9Xyb+6ltGq8cB6ZgPzHCdgcVAoEjIKZONq0dHfCSLmRobqT/jBBNmErEXg8T S1Pg== 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=5PGfxQHTjqBupoP4jbG//Du6gUSSEyAHkbjKVTtgFjQ=; b=ulb7rSmlUe7YxPN93YAAOzCGZT/fkNtvcsWsZnUPkZCCZmG1ud22QjMMXJrJSb0esf m8n7pFt5RNqDEVP3mzGQcthq7jHM2LRaWOYosWfnosMCN6EJ9a+AuJRMI64pLGp16phW Y3qsCJuPM9i+MRmBFlHtBtj/4vwJ1p2gs6/zY4XRHLCmQ7F2BolvewPYblMIOMVNmcqe v7b69R0Zfc2+ygX+WqijumiFWdtW34cMD9CcVafBET2vI290UTgY5hpQoYw1k35svPI+ Kf2zfKei+utRWphZ+Lts4llfG5JJcV3ASYDy79H7S+rf0jvDLUwYu1z3/ZaX9x3UI+mk xJuA== X-Gm-Message-State: ALQs6tBYvZfqNwkWTcAE39sG/+3nz1L/SUp7sEBCfW1ySo5JUY5zffKi RyWuGwaZ6mMXR9QtjJ20Rer/w+Grw7iAawa8H1c= X-Google-Smtp-Source: AB8JxZqX3Ei7kVtdam+MCGDVyYMRWA5uHkaAoR3oDnm6Ad6ovlspseZTZyNHlnADcCDZkxQZxnb36IJVZQPFwt0yxpc= X-Received: by 2002:a2e:88d7:: with SMTP id a23-v6mr4390596ljk.117.1524927471064; Sat, 28 Apr 2018 07:57:51 -0700 (PDT) MIME-Version: 1.0 References: <5AE216DC.7010905@grosbein.net> <5AE33513.1000001@grosbein.net> <5AE34754.6040905@grosbein.net> <5AE34CFA.7000207@grosbein.net> <5AE437C1.8010706@grosbein.net> <5AE44ADD.7020302@grosbein.net> <5AE468D5.9030702@grosbein.net> In-Reply-To: From: Freddie Cash Date: Sat, 28 Apr 2018 14:57:40 +0000 Message-ID: Subject: Re: NETGRAPH- bridge vlans using netgraph help To: Abdullah Tariq Cc: Eugene Grosbein , freebsd-net Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Apr 2018 14:57:53 -0000 If you want to think of it in switch terms, FreeBSD supports access ports (untagged vlan) and trunk ports (tagged vlans). But there's no support for hybrid ports (tagged vlans with a PVID on the port that adds tags to untagged traffic). What you are trying to do is create a hybrid port with a vlan tag of 5 and a PVID of 5, such that untagged traffic from PC1 is allowed into vlan5 interface. Not going to happen. Cheers, Freddie Typos courtesy of my phone. >