cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1094
Views
0
Helpful
1
Replies

How to know the given ipv4 has ipv6 or not?

Kennethlong
Level 1
Level 1

I have a ipv4 address and i want to know it has ipv6 or not. My problem is i have a sub net mask (10.210.59.160/28) and i am scanning this in nmap module then i will get two lists if it has ipv6 as well one is ipv4 list and another one is ipv6 list. I have to write it on a excel in two different columns IPV4 & IPV6 but the thing is if ipv4 has ipv6 in same asset i have to write it in same row. But some ips doesn't have ipv6 adders. How to know the ipv4 has ipv6 or not is my question. I need to identify through python coding. Need help. UPSers Login

1 Reply 1

Seb Rupik
VIP Alumni
VIP Alumni

Hi there,

Let me know if I am wrong, but it sounds like you are trying to run a nmap scan on a remote subnet? nmap require a target IP address, it is not possible for a scan to an IPv4 address to reveal any IPv6 addressing and vice versa.

At the very least it requires there is IPv6 connectivity to and from your host to the target subnet. However without a valid IPv6 prefix to scan, you would need to be on-link and running a packet capture looking for multicast traffic, this would reveal the IPv6 addressing.

 

cheers,

Seb.

Review Cisco Networking for a $25 gift card