You can use the /etc/hostname.interface files to configure multipathing groups and test addresses. To configure a multipathing group by using the /etc/hostname.interface file, you can add a line to the file by using the following syntax:
interface-address <parameters> group group-name up \ addif logical-interface-address <parameters> up |
For example, to create the group test with the following configuration:
Physical interface hme0 with address 19.16.85.19
A logical interface address of 19.16.85.21
With deprecated and -failover set
Sets the netmask and broadcast address to the default value
You add the following line to the /etc/hostname.hme0 file:
19.16.85.19 netmask + broadcast + group test up \ addif 19.16.85.21 deprecated -failover netmask + broadcast + up |
How to Configure a Multipathing Interface Group With Two Interfaces shows the steps you perform to configure the IPv4 hostname file.
For IPv6 setup, add a line to the /etc/hostname6.interface file by using the following syntax:
<parameter> group group-name up |
For example, to create a test group for hme0 with an IPv6 test address, add the following line to the /etc/hostname6.hme0 file:
-failover group test up addif 1080::56:a00:20ff:feb9:19fa up |
How to Configure a Multipathing Interface Group With Two Interfaces shows the steps you perform to configure the IPv6 hostname6 file.