To use a static IP address, set up a static IP address and network settings for the CTERA Portal Server.
To set up a static IP address and network settings
ctera-network-util.sh set_static interface ip mask gw dns [dns2]
Where:
interface
is the name of the machine's interface. To view the interface's name, run the command: ifconfig –a
ip
is the IP address for this server.mask
is the netmask of your network. For example: 255.255.255.0.gw
is your network's default gateway.dns
is the IP address of the primary DNS server.dns2
is the IP address of the secondary DNS server.For example, to configure the interface e1000g0, server IP address 192.168.90.50, netmask 255.255.255.0, default gateway 192.168.90.1, primary DNS server 192.168.90.2, and alternate DNS server 192.168.90.3, enter the following command:
ctera-network-util.sh set_static e1000g0 192.168.90.50 255.255.255.0 192.168.90.1 192.168.90.2 192.168.90.3
CTERA Portal is assigned the specified static IP address and network settings.
|
Tip |
You can revert to using a dynamic IP address for CTERA Portal, by enabling DHCP as described in Enabling DHCP. |
See Also |