Solved

Purpose of configuring Domain Name in cisco Router and ASA

Posted on 2014-12-09
7
60 Views
Last Modified: 2015-08-23
I have seen some examples where domain name is configured in Cisco Router or ASA Firewall.
I am not sure the purpose of it in real world.
Any idea?

Thanks
0
Comment
Question by:jskfan
  • 4
  • 2
7 Comments
 
LVL 6

Assisted Solution

by:Matt
Matt earned 167 total points
ID: 40488391
If you want to access device using SSH, domain name is mandatory for creating keys (it generates them using FQDN (hostname + domain name)).
0
 

Author Comment

by:jskfan
ID: 40488736
Which keys?
Do you have an example?

Thanks
0
 
LVL 27

Assisted Solution

by:Predrag Jovic
Predrag Jovic earned 333 total points
ID: 40488959
!hostname cannot be default
Router(config)# hostname R1
!create user with password for login
R1(config)# username cisco secret cisco
!
R1(config)# ip domain-name my.net
R1(config)# crypto key generate rsa
!
How many bits in the modulus [512]: 1024
!
% Generating 1024 bit RSA keys ...[OK]
!
R1(config)# line vty 0 4
R1(config-line)# login local
R1(config-line)# transport input ssh

This will create crypto key.
Hostname of switch or router cannot be default, and domain must be created (as Matt already said).
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:jskfan
ID: 40489084
In the LAB, I can create Switches and Routers without naming them and it still works as long as they have IP addresses on the interfaces.
As long as Domain name, I have not try to create one in the LAB
0
 
LVL 27

Accepted Solution

by:
Predrag Jovic earned 333 total points
ID: 40489161
Switches and routers do their work without creating any domain (there is default domain), but one example why you need to create domain name other then default value is SSH. On routers, switches etc, default domain name is default.domain.invalid as you can see in documentation, in some cases (for specific purposes) host name and domain name cannot be at default values.
0
 

Author Comment

by:jskfan
ID: 40489637
in some cases (for specific purposes) host name and domain name cannot be at default values.
- That's what I was trying to find out.  the purpose.
- does it have to match the company hosted domain ?
0
 

Author Closing Comment

by:jskfan
ID: 40943222
Thank you Guys
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Tired of waiting for your show or movie to load?  Are buffering issues a constant problem with your internet connection?  Check this article out to see if these simple adjustments are the solution for you.
For months I had no idea how to 'discover' the IP address of the other end of a link (without asking someone who knows), and it drove me batty. Think about it. You can't use Cisco Discovery Protocol (CDP) because it's not implemented on the ASAs.…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question