Development discussion of WireGuard
 help / color / mirror / Atom feed
From: "Jason A. Donenfeld" <Jason@zx2c4.com>
To: "Rafał Grasman" <grasmanek94@gmail.com>
Cc: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: Re: Bridging wg and normal interfaces?
Date: Thu, 25 Jan 2018 12:08:13 +0100	[thread overview]
Message-ID: <CAHmME9oZ=4fEB+CTPPXLz=b=HZCOkVy02dVfVh4=Ri=bH80UjQ@mail.gmail.com> (raw)
In-Reply-To: <CAMEMCsKxKHtn2ARFchYVTrj2r_ArHQ4DeqaaSYUh96ZKrVk3GA@mail.gmail.com>

WireGuard is layer 3, not layer 2, so bridging is not what you want.

Instead, do ordinary IP routing between different subnets. As you
appear to already have different subnets, this shouldn't be a problem.

If you'd like to overlap within the same subnet, there's always proxy
arp, but I'd caution against that approach.

Lots of people run into this confusion about layer 2 vs layer 3. We
can probably walk you through getting things rolling for your
particular setup in #wireguard on Freenode, if you have IRC.

Jason

  reply	other threads:[~2018-01-25 11:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-25 10:23 Rafał Grasman
2018-01-25 11:08 ` Jason A. Donenfeld [this message]
2018-01-25 19:44   ` Matthias Urlichs
     [not found]   ` <CAMEMCs+3EJXzOdtU7r1WN9uvzoR91TpLD__JYqY8uGM0Mx7pAw@mail.gmail.com>
2018-01-27 13:24     ` Fwd: " Rafał Grasman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAHmME9oZ=4fEB+CTPPXLz=b=HZCOkVy02dVfVh4=Ri=bH80UjQ@mail.gmail.com' \
    --to=jason@zx2c4.com \
    --cc=grasmanek94@gmail.com \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).