Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Mapping the Name of the Router to IP Addresses

 

Whereas using the Domain Name System (DNS) is an easier and more scalable way to resolve IP addresses from hostnames, you might want to manually map the hostname to a static IP address for the following reasons:

  • You might not have a DNS entry for the router.

  • You might not want the computer to contact the DNS server to resolve a particular IP address—you might use this particular IP address a lot, or it might be just for testing or development purposes.

To map a router’s hostname to one or more IP addresses:

  1. Include the inet statement at the [edit system static-host-mapping hostname] hierarchy level.
  2. Verify the configuration with the show command.