Skip to content

SetIP

To execute keyword SetIP type SetIP into the command line.

The SetIP keyword changes the IP address of the Ethernet interfaces of the console or station.

If SetIP is used standalone, the command line feedback window lists the available Ethernet interfaces with their IP addresses.

A grandMA2 console has two network interfaces, eth0 and eth1, which are on the back of the console labeled as Ethernet 1 and Ethernet 2.

Important:
To apply the changed IP address, a reboot is necessary.

Hint:
Another way to change the IP address of the Ethernet-interfaces of the console or station is, press Setup I tap MA Network Configuration  I column IP ETHERCON 1(ETH0) or IP ETHERCON 2 (ETH1). For more information see Networking - Set the IP address in onPC

SetIP [network interface] [IP address] / [option] = [option value]

To get a list of all available options to the SetIP keyword in the command line feedback window, type in the command line

[Channel]> SetIP /?

The SetIP keyword has the following options.

OptionShortcutOption ValueDescription
maskme.g. 255.0.0.0Sets the subnet mask of the Ethernet adapter.
dhcpnot availableno option valueEnables DHCP for the Ethernet adapter.
gatewaynot availablee.g. 192.168.0.1Sets the default gateway for the Ethernet adapter.
noconfirmncno option valueSuppress the SetIP confirmation pop-up.

  

[Channel]> SetIP eth0 192.168.0.5

 Sets the IP address of the first Ethernet interface.

 

[Channel]> SetIP eth0 /DHCP

Activates DHCP client which takes over the IP address automatically from the server. 

 

[Channel]> SetIP eth1 2.0.0.10 /mask=255.0.0.0

Sets IP address and network mask for the second Ethernet interface.

 

[Channel]> SetIP

Lists available Ethernet interfaces along with their IP addresses in the command line feedback window.

 

Important:
Do not use DHCP on eth1, unless you are a skilled network operator. 

 

For more information on what DHCP is see the Glossary

For more information on how to use DHCP see Using DHCP in MA devices.