A. Static - manual configuration
We first must set or create a number of IPv4 address objects. It is assumed here that the interface
used for Internet connection is
WAN2
, the ISP gateway IPv4 address is
203.0.113.1
, the IPv4
address for the connecting interface will be
203.0.113.35
and the network to which they both
belong is
203.0.113.0/24
.
First, add the gateway IPv4 address object if it does not already exist:
Device:/> add Address IP4Address wan_gw Address=203.0.113.1
This is the address of the ISP's gateway which is the first router hop towards the public Internet. If
this IP object already exists, it can be given the IP address with the command:
Device:/> set Address IP4Address wan_gw Address=203.0.113.1
Now, set the gateway on the
WAN2
interface which is connected to the ISP: Next, set the IP
address of the
WAN2_ip
address object which is the IP assigned to the interface:
Device:/> set Address IP4Address InterfaceAddresses/WAN2_ip
Address=203.0.113.35
Note: Qualifying the names of IP objects in folders
On initial startup of the 100 Series, cOS Core automatically creates and fills the
InterfaceAddresses
folder in the cOS Core address book with Ethernet interface related
IPv4 address objects.
Note that when an IP address object which is located in a folder is specified in the CLI,
the object name must be qualified with the name of its parent folder. For example, to
reference the address
WAN2_ip
, it must be qualified with the folder name
InterfaceAddresses
so it becomes
InterfaceAddresses/WAN2_ip
.
If an object is not contained in a folder and is at the top level of the address book then no
qualifying parent folder name is needed.
Now, set the IP object
WAN2_net
which will be the IPv4 network of the connecting interface:
Device:/> set Address IP4Address InterfaceAddresses/WAN2_net
Address=203.0.113.0/24
In the default configuration of the NetWall 100 Series, a DHCP client is automatically enabled on
the
WAN2
interface, so this must be disabled for a manual setup:
Device:/> set Interface Ethernet WAN2 DHCPEnabled=No
Before continuing, it is recommended to verify the properties of the
WAN2
interface using the
following command:
Device:/> show Interface Ethernet WAN2
The typical output from this will be similar to the following:
Property
Value
--------------------------
--------------------------
Name:
WAN2
IP:
InterfaceAddresses/WAN2_ip
Chapter 4: cOS Core Configuration
60
Содержание NetWall 100 Series
Страница 1: ...Clavister NetWall 100 Series Getting Started Guide...
Страница 16: ...Chapter 1 NetWall 100 Series Overview 16...
Страница 31: ...Chapter 3 Installation 31...
Страница 72: ...Chapter 4 cOS Core Configuration 72...