Page MenuHomeVyOS Platform

Provides support for veth
Closed, ResolvedPublicFEATURE REQUEST

Description

veth provides the ability to connect to multiple network namespaces and VRFs, and can virtualize multiple different network devices through one Lnux. This is stacking, and it's time for us to support it

Maybe we can consider the following command line:

Due to the specificity of the veth device, it will create a pair of virtual NICs at a time, using the peer term here

set interfaces vethernet veth1 peer name <peer_name>
set interfaces vethernet veth1 netns <net_namespace_name>
set interfaces vethernet veth1 peer netns <net_namespace_name>
set interfaces vethernet veth1 mtu <mtu>
set interfaces vethernet veth1 address <address>
set interfaces vethernet veth1 peer address <address>
set interfaces vethernet veth1 vrf <vrf>
set interfaces vethernet veth1 peer vrf <vrf>

Please note: Due to the particularity of veth devices, its implementation may not be able to apply the implementation of other interfaces

  • Command line format design
  • Function realization

Details

Version
-
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Unspecified (please specify)

Related Objects

StatusSubtypeAssignedTask
In progressFEATURE REQUESTNone
ResolvedFEATURE REQUESTViacheslav
ResolvedFEATURE REQUESTViacheslav