CLI Command Reference
ipconfig
Makito User’s Guide, v2.1.0, Issue 01
202
ipconfig
S
YNOPSIS
ipconfig [configure | display]
D
ESCRIPTION
The
ipconfig
command is used to set and view the parameters that specify the networking
context for the Makito, including the IP settings, hostname, and DNS. It may also be used
to set the Network Time Protocol (NTP) server address and Time Zone.
As shown in the following example, when you enter the
ipconfig configure
command, the
system displays the current IP settings and takes you through a series of prompts enabling
you to change the IP settings, optionally enable DHCP, and change the hostname, DNS
settings, NTP settings, and/or Time Zone setting.
You must reboot for any changes to take effect.
The
ipconfig display
command returns the current IP settings.
IPCONFIG
E
XAMPLES
#ipconfig configure
Prompts you as follows to modify current settings:
Current IP Settings:
ip address
: 10.5.1.2
network mask : 255.255.0.0
gateway
: 10.5.0.1
Change IP settings: (Y,N): y
Use DHCP to obtain IP address automatically: (Y,N):
n
Enter ip address: 192.0.2.42
Enter netmask: 255.255.255.0
Enter default gateway: 192.0.2.24
Current hostname: Makito
Change hostname? (Y,N): y
Current DNS settings:
domain: haivision.com
server: 192.0.2.46
Change DNS settings? (Y,N): n