Linux: hosts file: ip6 hosts, how to add new host?

hello experts,
I just downloaded Black Track linux and wanted to add the host to my network. When I opened the host file, I see ip6 config:

::1      ip6-localhost ip6-loopback
fe00::0      ip6-localnet
ff00::0      ip6-mcastprefix
ff02::1      ip6-allnodes
ff02::2      ip6-allrouters
ff02::3      ip6-allhosts

the question: if I just wanted to add a host (most likely ipv4), do I just add it as I normally do?

192.168.0.0000      nameOfMyHost

thank you experts..

regards,
epifanio67Asked:
Who is Participating?
 
omarfaridCommented:
you can mix ipv6 and ipv4 addresses in /etc/hosts
0
 
jackiechen858Commented:
yes.
0
 
epifanio67Author Commented:
thank you!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.