Solved

Purpose of configuring Domain Name in cisco Router and ASA

Posted on 2014-12-09
7
61 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 28

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
Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

 

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 28

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

Suggested Solutions

Title # Comments Views Activity
Setting up static routes to  sonicwll 4 73
Hit router interface limit 7 39
Cisco IPSec lan to lan tunnel - encryption domain. 3 36
Public DNS  Vs BGP 20 26
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.
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …
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…

828 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