
26
domain name so the host can be found on the internet with this domain name. With DDNS, the
network administrator can access the Residential Gateway with a permanent domain name even if
it is often assigned different IP addresses by DHCP. And users on the Internet can access the
server (such as the web service) on the private network by the domain name of the Residential
Gateway. They do not have to access the server by an IP address which is usually not as easy to
remember as a domain name.
IP command
Parameter
Description
Gateway(config)# ip ddns
Enable the DDNS service.
Gateway(config)# ip ddns
[dyndns|noip.org]
[dyndns|noip.org] Select a registration server to which you already
registered a domain name.
Gateway(config)# ip ddns
host-name
Enter the DDNS URL assigned by the DDNS
server.
Gateway(config)# ip ddns
password
Enter the password provided by the DDNS
server.
Gateway(config)# ip ddns
username
Specify the username provided by the DDNS
server.
No command
Gateway(config)# no ip ddns
Return DDNS to be disabled.
Gateway(config)# no ip ddns host-name
Clear the host name.
Gateway(config)# no ip ddns password
Clear the password.
Gateway(config)# no ip ddns username
Clear the username.
Show command
Gateway(config)#show ip ddns
Show the current DDNS configurations or verify
the DDNS settings.
2. Set up an IP address of the Gateway or configure the Gateway to get an IP address
automatically from DHCP server.
IP command
Parameter
Description
Gateway(config)# ip lan-
ip [A.B.C.D] [255.X.X.X]
[A.B.C.D]
Enter the desired IP address for your Gateway.
[255.X.X.X]
Enter subnet mask of your IP address.
Gateway(config)# ip dhcp
server
Enable DHCP mode.
No command
Gateway(config)#no lan-ip address
Remove the Gateway
’s IP address.
Gateway(config)# no ip dhcp server
Disable DHCP mode.
Show command
Gateway(config)#show ip address
Show the current IP configurations or verify the
configured IP settings.
IP command example
Gateway(config)# ip lan-ip address
192.168.1.198 255.255.255.0
Set up the Gateway
’s IP to 192.168.1.198,
subnet mask to 255.255.255.0
Gateway(config)# ip dhcp server
Get an IP address automatically.
3. Configure DHCP advanced function
Command
Parameter
Description