Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

how to use br-vlan veth pair ? what is the benefit of veth?

Hello

I have installed openstack via ansible but i cannot find the benefit of veth pair which created in compute host interfaces' file as mentioned in official document : https://docs.openstack.org/openstack-ansible/rocky/user/prod/example.html

For tenant vlan support, create a veth pair to be used when the neutron

agent is not containerized on the compute hosts. 'eth12' is the value used on

the host_bind_override parameter of the br-vlan network section of the

openstack_user_config example file. The veth peer name must match the value

specified on the host_bind_override parameter.

#

When the neutron agent is containerized it will use the container_interface

value of the br-vlan network, which is also the same 'eth12' value.

#

Create veth pair, do not abort if already exists

pre-up ip link add br-vlan-veth type veth peer name eth12 || true

Set both ends UP

pre-up ip link set br-vlan-veth up

pre-up ip link set eth12 up

Delete veth pair on DOWN

post-down ip link del br-vlan-veth || true

bridge_ports bond1 br-vlan-veth

can anyone please explain more or give me some example cause in my first time i made my tests using that bridge "br-vlan" without creating the veth pair

how to use br-vlan veth pair ? what is the benefit of veth?

Hello

I have installed openstack via ansible but i cannot find the benefit of veth pair which created in compute host interfaces' file as mentioned in official document : https://docs.openstack.org/openstack-ansible/rocky/user/prod/example.html

# For tenant vlan support, create a veth pair to be used when the neutron

neutron # agent is not containerized on the compute hosts. 'eth12' is the value used on

on # the host_bind_override parameter of the br-vlan network section of the

the # openstack_user_config example file. The veth peer name must match the value

value # specified on the host_bind_override parameter.

#

parameter. # # When the neutron agent is containerized it will use the container_interface

container_interface # value of the br-vlan network, which is also the same 'eth12' value.

#

value. # # Create veth pair, do not abort if already exists

exists # pre-up ip link add br-vlan-veth type veth peer name eth12 || true

true # Set both ends UP

UP # pre-up ip link set br-vlan-veth up

up # pre-up ip link set eth12 up

up # Delete veth pair on DOWN

DOWN # post-down ip link del br-vlan-veth || true

true # bridge_ports bond1 br-vlan-veth

br-vlan-veth

can anyone please explain more or give me some example cause in my first time i made my tests using that bridge "br-vlan" without creating the veth pair pair

how to use br-vlan veth pair ? what is the benefit of veth?

Hello

I have installed openstack via ansible but i cannot find the benefit of veth pair which created in compute host interfaces' file as mentioned in official document : https://docs.openstack.org/openstack-ansible/rocky/user/prod/example.html

# For tenant vlan support, create a veth pair to be used when the neutron
# agent is not containerized on the compute hosts. 'eth12' is the value used on
# the host_bind_override parameter of the br-vlan network section of the
# openstack_user_config example file. The veth peer name must match the value
# specified on the host_bind_override parameter.
#
# When the neutron agent is containerized it will use the container_interface
# value of the br-vlan network, which is also the same 'eth12' value.
#
# Create veth pair, do not abort if already exists
#    pre-up ip link add br-vlan-veth type veth peer name eth12 || true
# Set both ends UP
#    pre-up ip link set br-vlan-veth up
#    pre-up ip link set eth12 up
# Delete veth pair on DOWN
#    post-down ip link del br-vlan-veth || true
#    bridge_ports bond1 br-vlan-veth

can anyone please explain more or give me some example cause in my first time i made my tests using that bridge "br-vlan" without creating the veth pair