Solved

Purpose of configuring Domain Name in cisco Router and ASA

Posted on 2014-12-09
7
56 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
Comment Utility
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
Comment Utility
Which keys?
Do you have an example?

Thanks
0
 
LVL 26

Assisted Solution

by:Predrag Jovic
Predrag Jovic earned 333 total points
Comment Utility
!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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

Author Comment

by:jskfan
Comment Utility
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 26

Accepted Solution

by:
Predrag Jovic earned 333 total points
Comment Utility
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
Comment Utility
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
Comment Utility
Thank you Guys
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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.
Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
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…
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…

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now