netstat truncates IPv6 Address
Issue
- The output of netstat -an truncate ip addresses.
In the example below the first ip address is actually 192.168.120.122 and not 192.168.120.12.
tcp 0 0 ::ffff:192.168.113.12:41617 ::ffff:10.111.11.16:50095 ESTABLISHED
tcp 0 0 ::ffff:192.168.113.12:41617 ::ffff:10.170.102.59:1070 ESTABLISHED
tcp 0 0 ::ffff:192.168.113.12:41617 ::ffff:10.111.8.13:49845 ESTABLISHED
Environment
- Red Hat Enterprise Linux 5
- net-tools
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
