Skip to content

netbridge

The following operations can be performed on "netbridge":

add | rm | show | bind | unbind

add netbridge

Add a network bridge.

Synopsys

add netbridge <name>

Arguments

name

The name of the network bridge.

Example

add netbridge bridge1

rm netbridge

Remove a network bridge.

Synopsys

rm netbridge <name>

Arguments

name

The name of the network bridge.

Example

remove netbridge bridge1

show netbridge

Show configured network bridges.

Synopsys

show netbridge [<name>]

Arguments

name

The name of the network bridge.

format

level

Outputs

tunnel

The name of the tunnel that is a part of this bridge.

vlan

The VLAN that is extended by this network bridge.

IPAddress

The subnet that is extended by this network bridge.

netmask

The network mask for the subnet.

stateflag

Used internally for display.

devno

count

bind netbridge

Bind a network bridge to its attributes.

Synopsys

bind netbridge <name> [-tunnel <string> ...] [-vlan <positive_integer> ...] [-IPAddress <ip_addr|ipv6_addr|*> [<netmask>]]

Arguments

name

The name of the network bridge.

tunnel

The name of the tunnel that needs to be a part of this network bridge.

vlan

The VLAN that needs to be extended.

Minimum value: 1

Maximum value: 4094

IPAddress

The subnet that needs to be extended.

Example

bind netbridge bridge1 -tunnel tun0

unbind netbridge

Unbind a network bridge from its attributes.

Synopsys

unbind netbridge <name> [-tunnel <string> ...] [-vlan <positive_integer> ...] [-IPAddress <ip_addr|ipv6_addr|*> [<netmask>]]

Arguments

name

The name of the network bridge.

tunnel

The name of the tunnel that is part of this network bridge.

vlan

The vlan that is part of this network bridge.

Minimum value: 1

Maximum value: 4094

IPAddress

The subnet that is part of this network bridge.

Example

unbind netbridge bridge1 -tunnel tun0

Was this article helpful?