Bug 1340891
| Summary: | Ping6 command does not work with omitted (short) IPv6 address. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Simeon Monov <crazydog> | ||||
| Component: | iputils | Assignee: | Jan Synacek <jsynacek> | ||||
| Status: | CLOSED WORKSFORME | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | atodorov, fale, i, jsynacek | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2016-06-01 06:28:31 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Works for me on F24 and Rawhide. $ ping6 fe80::2ad2:44ff:fefc:15fe PING fe80::2ad2:44ff:fefc:15fe(fe80::2ad2:44ff:fefc:15fe) 56 data bytes 64 bytes from fe80::2ad2:44ff:fefc:15fe%enp0s25: icmp_seq=1 ttl=64 time=0.134 ms 64 bytes from fe80::2ad2:44ff:fefc:15fe%enp0s25: icmp_seq=2 ttl=64 time=0.132 ms ^C $ ping6 fe80::2ab2:bdff:feb8:e5f2 PING fe80::2ab2:bdff:feb8:e5f2(fe80::2ab2:bdff:feb8:e5f2) 56 data bytes 64 bytes from fe80::2ab2:bdff:feb8:e5f2%wlp3s0: icmp_seq=1 ttl=64 time=0.097 ms 64 bytes from fe80::2ab2:bdff:feb8:e5f2%wlp3s0: icmp_seq=2 ttl=64 time=0.134 ms ^C $ rpm -q iputils iputils-20160308-2.fc24.x86_64 |
Created attachment 1162857 [details] ScreenShot Description of problem: Ping6 command does not work with omitted ("::" truncated) IPv6 address instead of the local loopback address (::1) in all other cases ping6 return "Invalid Argument" (Screenshot attached). Version-Release number of selected component (if applicable): Tested on Fedora 23, 24, 25, and 25 rawhide. How reproducible: 100% reproducible. Steps to Reproduce: 1. In terminal type: ifconfig | grep int6 2. Copy inet6 address and ping it for example: ping fe80::20c:29ff:fee3:d432 Same can be done with one command: ping6 `ifconfig | grep inet6 | awk '{print $3; exit }'| cut -f 1 -d '/'` This will ping your first network interface with configured IPv6 address. Actual results: Ping6 command returned --> "connect: Invalid argument" Which actually is valid IPv6 address. Expected results: Interface should be successfully pinged and should work with all omitted IPv6 addresses.