• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 277
  • Last Modified:

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,
0
epifanio67
Asked:
epifanio67
1 Solution
 
jackiechen858Commented:
yes.
0
 
omarfaridCommented:
you can mix ipv6 and ipv4 addresses in /etc/hosts
0
 
epifanio67Author Commented:
thank you!
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now