Now click the Add button at the top left of the list and choose the
IP4 Address
option to add a
new address to the folder.
Enter the details of the object into the properties fields for the
IP4 Address
object. Below, the IPv4
address
203.0.113.1
has been entered for the address object called
wan_gw
. This is the IP of the
ISP's router which acts as the gateway to the public Internet.
Click the OK button to save the values entered.
Then set up
WAN2_ip
to be
203.0.113.35
. This is the IPv4 address of the
WAN2
interface which will
connect to the ISP's gateway.
Lastly, set the
IP4 Address
object
WAN2_net
to be
203.0.113.0/24
. Both the address objects and
wan_gw
must belong to the same network in order for the interface to communicate with the
ISP.
Together, these three IPv4 address objects will be used to configure the Ethernet interface
connected to the Internet which, in this example, is Select Network > Interfaces and VPN >
Ethernet to display a list of the physical interfaces and address book objects assigned to them.
Click on the interface in the list which is to be connected to the Internet. The properties for this
interface will now appear and the settings can be changed including the default gateway.
Chapter 4: cOS Core Configuration
48