lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3c146ffd-0ecf-45f8-92b6-1cf96a3f5d20@candelatech.com>
Date: Mon, 18 Nov 2024 08:38:46 -0800
From: Ben Greear <greearb@...delatech.com>
To: Alexandre Ferrieux <alexandre.ferrieux@...il.com>,
 netdev <netdev@...r.kernel.org>
Subject: Re: GRE tunnels bound to VRF

On 11/17/24 2:41 PM, Alexandre Ferrieux wrote:
> On 17/11/2024 19:40, Ben Greear wrote:
>> Hello,
>>
>> Is there any (sane) way to tell a GRE tunnel to use a VRF for its
>> underlying traffic?
>>
>> For instance, if I have eth1 in a VRF, and eth2 in another VRF, I'd like gre0 to be bound
>> to the eth1 VRF and gre1 to the eth2 VRF, with ability to send traffic between the two
>> gre interfaces and have that go out whatever the ethernet VRFs route to...
> 
> A netns is vastly more flexible than a VRF, with much cleaner operation. In your
> case I'd just move each eth to a separate netns, and create its GRE there.
> 

I vastly prefer VRF since it is cleaner for my use case.  But glad to know
netns works well for you.

Thanks,
Ben

-- 
Ben Greear <greearb@...delatech.com>
Candela Technologies Inc  http://www.candelatech.com

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ