Bug #8518 » confsnippet.txt
| 1 |
Interface opt12 is a WAN interface configured with IPV4 and IPV6. |
|---|---|
| 2 |
It is a standard gateway for IPV4 and default gateway for IPV6. |
| 3 |
|
| 4 |
Interface definition |
| 5 |
<opt12> |
| 6 |
<descr><![CDATA[WANBGPPAR6]]></descr> |
| 7 |
<if>lagg0.17</if> |
| 8 |
<enable></enable> |
| 9 |
<spoofmac></spoofmac> |
| 10 |
<ipaddr>213.242.xxx.155</ipaddr> |
| 11 |
<subnet>29</subnet> |
| 12 |
<gateway>GW_L3PAR6</gateway> |
| 13 |
<ipaddrv6>2001:1900:x:x:x::5563</ipaddrv6> |
| 14 |
<subnetv6>125</subnetv6> |
| 15 |
<gatewayv6>GW_L3PAR6_V6</gatewayv6> |
| 16 |
</opt12> |
| 17 |
|
| 18 |
Gateway definition |
| 19 |
|
| 20 |
<gateway_item> |
| 21 |
<interface>opt12</interface> |
| 22 |
<gateway>213.242.xxx.153</gateway> |
| 23 |
<name>GW_L3PAR6</name> |
| 24 |
<weight>1</weight> |
| 25 |
<ipprotocol>inet</ipprotocol> |
| 26 |
<descr></descr> |
| 27 |
</gateway_item> |
| 28 |
<gateway_item> |
| 29 |
<interface>opt12</interface> |
| 30 |
<gateway>2001:1900:x:x:x::5561</gateway> |
| 31 |
<name>GW_L3PAR6_V6</name> |
| 32 |
<weight>1</weight> |
| 33 |
<ipprotocol>inet6</ipprotocol> |
| 34 |
<descr></descr> |
| 35 |
<defaultgw></defaultgw> |
| 36 |
</gateway_item> |
| 37 |
|
| 38 |
CARP definition |
| 39 |
<vip> |
| 40 |
<mode>carp</mode> |
| 41 |
<interface>opt12</interface> |
| 42 |
<vhid>27</vhid> |
| 43 |
<advskew>0</advskew> |
| 44 |
<advbase>1</advbase> |
| 45 |
<password>secretpassword</password> |
| 46 |
<uniqid>5ab0f02631eeb</uniqid> |
| 47 |
<descr><![CDATA[CARP WANBGPPAR6]]></descr> |
| 48 |
<type>single</type> |
| 49 |
<subnet_bits>29</subnet_bits> |
| 50 |
<subnet>213.242.xxx.154</subnet> |
| 51 |
</vip> |
| 52 |
<vip> |
| 53 |
<mode>carp</mode> |
| 54 |
<interface>opt12</interface> |
| 55 |
<vhid>31</vhid> |
| 56 |
<advskew>0</advskew> |
| 57 |
<advbase>1</advbase> |
| 58 |
<password>secretpassword</password> |
| 59 |
<uniqid>5ac34a382fdee</uniqid> |
| 60 |
<descr><![CDATA[CARP WANBGPPAR6 v6]]></descr> |
| 61 |
<type>single</type> |
| 62 |
<subnet_bits>125</subnet_bits> |
| 63 |
<subnet>2001:1900:x:x:x::5562</subnet> |
| 64 |
</vip> |
| 65 |
|
| 66 |
|