Specifications
Each installation's IP addresses will be different from these IP addresses but they are
used here only to illustrate how setup is done. Also, these addresses are private IP
addresses and in reality an ISP would use public IP addresses instead.
We first add the gateway IP address object which we will call wan_gw:
Device:/> add Address IP4Address wan_gw Address=10.5.4.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=10.5.4.1
Now use this object to set the gateway on the ge2 interface which is connected to the ISP:
Device:/> set Interface Ethernet ge2 DefaultGateway=wan_gw
Next, set the IP object ge2_ip which will be the IP address of the interface connected to the ISP:
Device:/> set IP4Address InterfaceAddresses/ge2_ip
Address=10.5.4.35
Note: Qualifying the names of IP objects in folders
On initial startup of the SG3200 Series, CorePlus automatically creates and fills the
InterfaceAddresses folder in the CorePlus address book with the interface related IP
address objects.
When we specify an IP address object which is located in a folder, we must qualify the
object's name with the name of the folder. When we specify, for example, the address
ge2_ip we must qualify it with the folder name InterfaceAddresses so the qualified
name becomes InterfaceAddresses/ge2_ip.
If an object is not contained in a folder and is at the top level of the address book then no
qualifying folder name is needed.
Now set the IP object ge2_net which will be the IP network of the connecting interface:
Device:/> set IP4Address InterfaceAddresses/ge2_net
Address=10.5.4.0/24
It is recommended to verify the properties of the ge2 interface with the command:
Device:/> show Interface Ethernet ge2
The typical output from this will be similar to the following:
Property Value
-------------------------- --------------------------
Name: ge2
IP: InterfaceAddresses/ge2_ip
Network: InterfaceAddresses/ge2_net
DefaultGateway: wan_gw
Broadcast: 10.5.4.255
PrivateIP: <empty>
NOCHB: <empty>
MTU: 1500
Metric: 100
DHCPEnabled: No
Chapter 3: CorePlus Configuration
48