Top
PRIMECLUSTER Global Link Services Configuration and AdministrationGuide 4.6Redundant Line Control Function
FUJITSU Software

C.5.4 Sample configurations for the virtual bridge

This section provides sample configurations for a virtual bridge based on the network configuration shown below.

Figure C.6 For setting the IP address to the virtual bridge (br0)

Adding the settings for the virtual bridge

1) Create the settings for the virtual interface.

2) If the virtual interface is activated, deactivate it.

# /opt/FJSVhanet/usr/sbin/stphanet -n sha0

3) Create a new interface setting file.

# /bin/touch /etc/sysconfig/network-scripts/ifcfg-br0

4) Define the IP address and other settings for the virtual bridge.

5) Edit the setting file for the virtual interface.

6) Activate the virtual interface.

# /opt/FJSVhanet/usr/sbin/strhanet -n sha0

7) Activate the virtual bridge.

# /usr/sbin/ifup br0

Deleting the settings for the virtual bridge

1) Deactivate the virtual bridge.

# /usr/sbin/ifdown br0

2) Deactivate the virtual interface and dismantle the virtual bridge.

# /opt/FJSVhanet/usr/sbin/stphanet -n sha0

Note

The following message may be output. This does not disrupt ongoing operation.

hanet: 78011: warning: nmcli failed. (connection down=2560 ifname=virtual interface name)

3) Delete the manually created interface setting file.

# /bin/rm /etc/sysconfig/network-scripts/ifcfg-br0

4) Edit the setting file for the virtual interface.

5) Activate the virtual interface.

# /opt/FJSVhanet/usr/sbin/strhanet -n sha0