Interface opt12 is a WAN interface configured with IPV4 and IPV6.
It is a standard gateway for IPV4 and default gateway for IPV6.

Interface definition
		<opt12>
			<descr><![CDATA[WANBGPPAR6]]></descr>
			<if>lagg0.17</if>
			<enable></enable>
			<spoofmac></spoofmac>
			<ipaddr>213.242.xxx.155</ipaddr>
			<subnet>29</subnet>
			<gateway>GW_L3PAR6</gateway>
			<ipaddrv6>2001:1900:x:x:x::5563</ipaddrv6>
			<subnetv6>125</subnetv6>
			<gatewayv6>GW_L3PAR6_V6</gatewayv6>
		</opt12>

Gateway definition

		<gateway_item>
			<interface>opt12</interface>
			<gateway>213.242.xxx.153</gateway>
			<name>GW_L3PAR6</name>
			<weight>1</weight>
			<ipprotocol>inet</ipprotocol>
			<descr></descr>
		</gateway_item>
		<gateway_item>
			<interface>opt12</interface>
			<gateway>2001:1900:x:x:x::5561</gateway>
			<name>GW_L3PAR6_V6</name>
			<weight>1</weight>
			<ipprotocol>inet6</ipprotocol>
			<descr></descr>
			<defaultgw></defaultgw>
		</gateway_item>
    
CARP definition
    <vip>
			<mode>carp</mode>
			<interface>opt12</interface>
			<vhid>27</vhid>
			<advskew>0</advskew>
			<advbase>1</advbase>
			<password>secretpassword</password>
			<uniqid>5ab0f02631eeb</uniqid>
			<descr><![CDATA[CARP WANBGPPAR6]]></descr>
			<type>single</type>
			<subnet_bits>29</subnet_bits>
			<subnet>213.242.xxx.154</subnet>
		</vip>
		<vip>
			<mode>carp</mode>
			<interface>opt12</interface>
			<vhid>31</vhid>
			<advskew>0</advskew>
			<advbase>1</advbase>
			<password>secretpassword</password>
			<uniqid>5ac34a382fdee</uniqid>
			<descr><![CDATA[CARP WANBGPPAR6 v6]]></descr>
			<type>single</type>
			<subnet_bits>125</subnet_bits>
			<subnet>2001:1900:x:x:x::5562</subnet>
		</vip>
    
    