
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: Qualifiying the names of IP objects in folders
On initial startup of the SG4300 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
EthernetDevice:
0:ge2
1:<empty>
AutoSwitchRoute:
No
AutoInterfaceNetworkRoute:
Yes
AutoDefaultGatewayRoute:
Yes
ReceiveMulticastTraffic:
Auto
MemberOfRoutingTable:
All
3.4. CLI Setup
Chapter 3. CorePlus Configuration
48
Summary of Contents for SG4300 Series
Page 7: ...1 1 Unpacking the Product Chapter 1 Product Overview 7...
Page 11: ...1 3 The Keypad and Display Chapter 1 Product Overview 11...
Page 19: ...2 4 Connecting Power Chapter 2 Installation 19...
Page 58: ...3 6 Going Further with CorePlus Chapter 3 CorePlus Configuration 58...
Page 62: ...Appendix B Declarations of Conformity 62...