cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3691
Views
10
Helpful
5
Replies

FMC local and static Hostname to IP mapping table.

servio.lara
Level 1
Level 1

Is there any place in the FMC to set an IP to hostname static mapping for DNS resolution?

 

Best regards.

2 Accepted Solutions

Accepted Solutions

Yes, login to FMC CLI and go to expert mode. Then after sudo su, edit the
hosts file (vi /etc/hosts).

If you know VI editor in linux then start adding hosts entries. This is
pure linux configuration and not specific to FMC.

**** please remember to rate useful posts

View solution in original post

Amine ZAKARIA
Spotlight
Spotlight

@servio.lara ,

 

If you mean the FMC itself add static dns entry for local use then access FMC in expert mode with sudo su privilege and type : echo " ip domain" >> /etc/hosts


Example :
echo "192.168.40.2 lab.ccie-security.com" >> /etc/hosts

 

root@FMC178:/Volume/home/admin# ping lab.ccie-security.com
PING lab.ccie-security.com (192.168.40.2) 56(84) bytes of data.
64 bytes from lab.ccie-security.com (192.168.40.2): icmp_req=1 ttl=128 time=0.245 ms
64 bytes from lab.ccie-security.com (192.168.40.2): icmp_req=2 ttl=128 time=0.305 ms
64 bytes from lab.ccie-security.com (192.168.40.2): icmp_req=3 ttl=128 time=0.383 ms
64 bytes from lab.ccie-security.com (192.168.40.2): icmp_req=4 ttl=128 time=0.359 ms
64 bytes from lab.ccie-security.com (192.168.40.2): icmp_req=5 ttl=128 time=0.386 ms

 

If it is not the query you asked for, please let me know!

 

Hope that helps!

View solution in original post

5 Replies 5

Yes, login to FMC CLI and go to expert mode. Then after sudo su, edit the
hosts file (vi /etc/hosts).

If you know VI editor in linux then start adding hosts entries. This is
pure linux configuration and not specific to FMC.

**** please remember to rate useful posts

Hi Mohammed, 

 

Thanks for the reply.

 

Best regards.

Amine ZAKARIA
Spotlight
Spotlight

@servio.lara ,

 

If you mean the FMC itself add static dns entry for local use then access FMC in expert mode with sudo su privilege and type : echo " ip domain" >> /etc/hosts


Example :
echo "192.168.40.2 lab.ccie-security.com" >> /etc/hosts

 

root@FMC178:/Volume/home/admin# ping lab.ccie-security.com
PING lab.ccie-security.com (192.168.40.2) 56(84) bytes of data.
64 bytes from lab.ccie-security.com (192.168.40.2): icmp_req=1 ttl=128 time=0.245 ms
64 bytes from lab.ccie-security.com (192.168.40.2): icmp_req=2 ttl=128 time=0.305 ms
64 bytes from lab.ccie-security.com (192.168.40.2): icmp_req=3 ttl=128 time=0.383 ms
64 bytes from lab.ccie-security.com (192.168.40.2): icmp_req=4 ttl=128 time=0.359 ms
64 bytes from lab.ccie-security.com (192.168.40.2): icmp_req=5 ttl=128 time=0.386 ms

 

If it is not the query you asked for, please let me know!

 

Hope that helps!

Hi Amine, 

 

Yes, that was exactly what I was asking for.

 

Thanks for the reply.

 

Best regards.

Mike_83
Level 1
Level 1
in FMC under system/configuration/ management interfaces ( network ) you
may assign the fqdn of the fmc then in the related DNS zone create its A
record to map the FMC’s name to the resolved IP.
Review Cisco Networking for a $25 gift card