13 More networking examples
This chapter contains a number of networking examples using StoreOnce CLI commands and is
for reference only. It provides the following network configuration examples:
Example 1: Two subnets created on different network interfaces. Static IPv4 address on eth0
and static IPv6 address on interface eth1.
Example 2: Two subnets created on the same network interfaces. Static IPv6 and Static IPv4
addresses on interface eth0.
Example 3: Two subnets on different network interfaces. Static IPv6 address on interface eth0
and a static IPv6 address with VLAN tag on interface eth1.
Example 1
This example describes how to create two subnets on different network interfaces. It configures
static IPv4 address on eth0 and static IPv6 address on interface eth1.
NOTE:
The following StoreOnce CLI commands create a network configuration called dual_Port
Set. Once activated this configuration becomes the current network configuration but also
continues to exist as a Custom network configuration.
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2014.08.13 10:44:57 =~=~=~=~=~=~=~=~=~=~=~=
net create config dual_Port Set dns fdca:cd45:5ab0:862::99 description "Two subnets created on different network
interfaces. Static IPv4 address on eth0 and static IPv6 address on interface eth1."
Command Successful
# net create Port Set dual_Port Set Port Set_1 ports eth0 vlansupport no
Command Successful
# net create Port Set dual_Port Set Port Set_2 ports eth1 vlansupport no
Command Successful
# net add subnet dual_Port Set subnet public_v4 ipaddr 16.24.173.216 netmask 255.255.240.0 gateway 16.24.1 60.1
Port Set Port Set_1 domain mydomain.com default yes
Command Successful
# net add subnet dual_Port Set subnet public_v6 ipaddr fdca:cd45:5ab0:862::92 prefix 64 gateway fdca:cd45:
5ab0:862::0 domain mydomain.com Port Set Port Set_2 default yes
Command Successful
# net validate config dual_Port Set
Command Successful
# net show config dual_Port Set
----------------------
Network Name: dual_Port Set
Network Description: Two subnets created on different network interfaces. Static IPv4 address on eth0 and static
IPv6 address on interface eth1.
Write Protected: no
DNS Servers: fdca:cd45:5ab0:862::99
Port Sets: Port Set_1 Port Set_2
----------------------
Number of Networks: 2
Number of V4 VLANs configured: 0 out of possible 128
Number of V6 VLANs configured: 0 out of possible 128
----------------------
Network: public_v4
----------------------
IP Addresses: 16.24.173.216
Netmask/Prefix: 255.255.240.0
Domain Name: mydomain.com
Gateway: 16.24.160.1
Default Network: yes
VLAN tag:
Port Set: Port Set_1 with these interfaces: eth0
Encryption Links:
Bonding Mode: Not applicable
----------------------
Network: public_v6
----------------------
IP Addresses: fdca:cd45:5ab0:862::92
Example 1
1 17