From owner-freebsd-pf@freebsd.org Wed Jun 5 14:05:57 2019 Return-Path: Delivered-To: freebsd-pf@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 3EF1015AEC20 for ; Wed, 5 Jun 2019 14:05:57 +0000 (UTC) (envelope-from dave.mehler@gmail.com) Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A966084482; Wed, 5 Jun 2019 14:05:56 +0000 (UTC) (envelope-from dave.mehler@gmail.com) Received: by mail-wr1-x42d.google.com with SMTP id w13so19568210wru.11; Wed, 05 Jun 2019 07:05:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=WCbYGIr2y1qAev+aJ6olJ6ftIRl3oy599g5GCwLmW7g=; b=G0QPDqVoEKChCRy2e4vCPzpnu8AnjZSgg1xzfnHbmWAR9OdpgXUtMkcCt+TF/AH3Ee xvlvJh4pcqzya1Ev6FfTfQcx3OteS2Ac2FWntDVzcaVpgP2kuU4Yvhu97bd7zKLizrIP MqDehSAh5Y8+6vV/f/ebYaN5xLFGQL/W30ga1BHUjEzN6XG3MV64Yl5wL8QS1gA/hK6H M0RkF918f1FKsCEKAKaieOYGWEs5dL0ngfuTjxkAom5cHMMm4EQgmV4FYKg+jxy+TDuD rYtOJvvXq7090jvXkLXDAnYGa/4VrYbJVzZdXsdCahwGeOFeoDy5TddQTHpKBHxaX92Z FWGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=WCbYGIr2y1qAev+aJ6olJ6ftIRl3oy599g5GCwLmW7g=; b=NxJhNL4J+0+fb6uClWUyoYAzMA5747bsvY1vP7qqxpRQJ8cpHu04V9piUxGCOrZEc+ kWdzDvS3yUroeSSPoMm475zAKpdl/40XuBjJV5llxETFdzrv4wtd2hV0udOCbm8Nz74w Vq6OxrxFGG8wOe65dUGYpy6Ke0x0IpnHfprg4aquj+M1NRqO8aePuULq4EQEtMRtDgv8 5vmTT7DZCLtaSmrBy1drq+d9HFYTKoWqEDcbtP4rjQSVrfq0MkVL/aq+SCV17LvpDp6H SFFDWpRMRGdT8FpF0GpEFb+cRmN1o3IiAR4xbyXk/Py0qEvai1AIyVFb87OEJbJHbmcK 6+hA== X-Gm-Message-State: APjAAAXyMBUBGnMXgsBg/uwssd2mhehJMfpOew2GAHfIn+cwnKGtS2xG IWQ40RmNQx6i+gqQke4dQ0ap0KWTqZ95UpWcI3X9HjHq X-Google-Smtp-Source: APXvYqx+C+ETZ9/FQ59t6/Z0YezX4EAqE6j8glQrhpNN7rX7b+b4g0cau2LwQu0WNdHrGzBcwZqIjYTEw2xWCaJYhxg= X-Received: by 2002:a5d:5542:: with SMTP id g2mr11126193wrw.232.1559743554862; Wed, 05 Jun 2019 07:05:54 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:adf:a709:0:0:0:0:0 with HTTP; Wed, 5 Jun 2019 07:05:54 -0700 (PDT) In-Reply-To: <20190605042249.GF5902@home.opsec.eu> References: <20190604175445.GE5902@home.opsec.eu> <20190605042249.GF5902@home.opsec.eu> From: David Mehler Date: Wed, 5 Jun 2019 10:05:54 -0400 Message-ID: Subject: Re: FreeBSD 12, pf, and Dual IP stack? To: Kurt Jaeger Cc: freebsd-pf Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: A966084482 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.95 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.95)[-0.950,0]; TAGGED_FROM(0.00)[] X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2019 14:05:57 -0000 Hello, So your setup looks like mine except I only have one ipv4 and one ipv6 interface, how do I alias the ipv6 address space I have? I don't know how to hex split. Thanks. Dave. On 6/5/19, Kurt Jaeger wrote: > Hi! > >> Yes, an ifconfig on my vtnet0 interface does show the ipv6 address and >> it has prefixlen 64 I'm assuming that's what your refering to? Can you >> clarify your meaning about ipv6 aliases? > > Here's one of my systems, with two IPv6 addresses, so it has an two > IPv6 and two IPv4 addresses: > > igb0: flags=8843 metric 0 mtu 1500 > > options=e527bb > ether 0c:9d:92:85:0f:7a > inet 193.105.105.132 netmask 0xffffffc0 broadcast 193.105.105.191 > inet 193.105.105.133 netmask 0xffffffff broadcast 193.105.105.133 > inet6 fe80::e9d:92ff:fe85:f7a%igb0 prefixlen 64 scopeid 0x1 > inet6 2001:14f8:200:4::4 prefixlen 64 > inet6 2001:14f8:200:4::5 prefixlen 64 > media: Ethernet autoselect (1000baseT ) > status: active > nd6 options=21 > > -- > pi@opsec.eu +49 171 3101372 One year to go ! >