Android phone fails to communicate using IPv6
I observe the following problem with my Android phone (Sony Xperia XZ, Andoid Oreo 8.0.0)
Though the phone seems to have a correct set of IPV6 addresses it fails to communicate when I use IPV6. the phone works OK using IPV4.
Details
I have about 5 Personal Computers in a LAN which can PING each other via their IPV6 adresses, and communicate via IPV4 and IPV6. I added my Android phone to the same LAN via WIFI/WLAN, at it can communicate via IPV4, but not IPV6.
I have checked the IP setings of the phone, it gets a complete and correct set of IPV4 and IPV6 adresses from the local DHCP server.
To start troubleshooting somewhere, I installed a PING tool on the phone, and found that it can PING any other computer via IPV4, but not via IPV6.
On one of my PCs, I installed Wireshark to see what is happening, and this is what I found, if I PING the IPV6 address of the phone from the PC:
On the pc, I initiate a PING test:
ping [ipv6 address of phone] -6 -n 1
and this is what Wireshark revealed on ethernet level (with my comments):
mobile mac address discovery via multicast
[pc mac] to [33:33:ff:4d:50]: Neighbor Solicitation for [mobiile IPV6] from [pc mac]
[mobile mac] to [pc mac]: Neighbor Advertisement [mobile ipv6]: [mobile mac]
mobile phone mac address resolution success - try to ping
[pc mac] to [mobile mac]: Echo (ping) request
response from phone: try to get PC mac address!" Has heard the PING request!
[mobile mac] to [33:33:ff:f4:fd:12]: Neighbor Solicitation for [pc IPV6] from [mobile mac]
pc responds correctly
[pc mac] to [mobile mac]: Neighbor Advertisement [pc ipv6]: [pc mac]
phone tries same again - has not "heard" the response !?
[mobile mac] to [33:33:ff:f4:fd:12]: Neighbor Solicitation for [pc IPV6] from [mobile mac]
pc again responds correctly
[pc mac] to [mobile mac]: Neighbor Advertisement [pc ipv6]: [pc mac]
3rd retry!
[mobile mac] to [33:33:ff:f4:fd:12]: Neighbor Solicitation for [pc IPV6] from [mobile mac]
pc patiently responds correctly once more
[pc mac] to [mobile mac]: Neighbor Advertisement [pc ipv6]: [pc mac]
This is where the PC gives up and shows a failed PIING error message.
From what I see on the Wireshark trace, the phone fails to pick up the mac address resolution responses, and thus never knows about the Ethernet address of the PC, cannot send a response and and this is why the PING request fails.
Trying the other direction, when I PING from the phone to the PC running Wireshark, not a single packet is captured, seems like the phone doesn't even try.
To me ist seems like the IPV6 stack on the phone is dead, despite that DHCP has worked.
Anyone who has deeper insight into the implementation details of IPv6 on Android who can give me any info how to resolve this?
Thnx, Armin
networking wi-fi ipv6
migrated from superuser.com Jan 9 at 12:21
This question came from our site for computer enthusiasts and power users.
add a comment |
I observe the following problem with my Android phone (Sony Xperia XZ, Andoid Oreo 8.0.0)
Though the phone seems to have a correct set of IPV6 addresses it fails to communicate when I use IPV6. the phone works OK using IPV4.
Details
I have about 5 Personal Computers in a LAN which can PING each other via their IPV6 adresses, and communicate via IPV4 and IPV6. I added my Android phone to the same LAN via WIFI/WLAN, at it can communicate via IPV4, but not IPV6.
I have checked the IP setings of the phone, it gets a complete and correct set of IPV4 and IPV6 adresses from the local DHCP server.
To start troubleshooting somewhere, I installed a PING tool on the phone, and found that it can PING any other computer via IPV4, but not via IPV6.
On one of my PCs, I installed Wireshark to see what is happening, and this is what I found, if I PING the IPV6 address of the phone from the PC:
On the pc, I initiate a PING test:
ping [ipv6 address of phone] -6 -n 1
and this is what Wireshark revealed on ethernet level (with my comments):
mobile mac address discovery via multicast
[pc mac] to [33:33:ff:4d:50]: Neighbor Solicitation for [mobiile IPV6] from [pc mac]
[mobile mac] to [pc mac]: Neighbor Advertisement [mobile ipv6]: [mobile mac]
mobile phone mac address resolution success - try to ping
[pc mac] to [mobile mac]: Echo (ping) request
response from phone: try to get PC mac address!" Has heard the PING request!
[mobile mac] to [33:33:ff:f4:fd:12]: Neighbor Solicitation for [pc IPV6] from [mobile mac]
pc responds correctly
[pc mac] to [mobile mac]: Neighbor Advertisement [pc ipv6]: [pc mac]
phone tries same again - has not "heard" the response !?
[mobile mac] to [33:33:ff:f4:fd:12]: Neighbor Solicitation for [pc IPV6] from [mobile mac]
pc again responds correctly
[pc mac] to [mobile mac]: Neighbor Advertisement [pc ipv6]: [pc mac]
3rd retry!
[mobile mac] to [33:33:ff:f4:fd:12]: Neighbor Solicitation for [pc IPV6] from [mobile mac]
pc patiently responds correctly once more
[pc mac] to [mobile mac]: Neighbor Advertisement [pc ipv6]: [pc mac]
This is where the PC gives up and shows a failed PIING error message.
From what I see on the Wireshark trace, the phone fails to pick up the mac address resolution responses, and thus never knows about the Ethernet address of the PC, cannot send a response and and this is why the PING request fails.
Trying the other direction, when I PING from the phone to the PC running Wireshark, not a single packet is captured, seems like the phone doesn't even try.
To me ist seems like the IPV6 stack on the phone is dead, despite that DHCP has worked.
Anyone who has deeper insight into the implementation details of IPv6 on Android who can give me any info how to resolve this?
Thnx, Armin
networking wi-fi ipv6
migrated from superuser.com Jan 9 at 12:21
This question came from our site for computer enthusiasts and power users.
add a comment |
I observe the following problem with my Android phone (Sony Xperia XZ, Andoid Oreo 8.0.0)
Though the phone seems to have a correct set of IPV6 addresses it fails to communicate when I use IPV6. the phone works OK using IPV4.
Details
I have about 5 Personal Computers in a LAN which can PING each other via their IPV6 adresses, and communicate via IPV4 and IPV6. I added my Android phone to the same LAN via WIFI/WLAN, at it can communicate via IPV4, but not IPV6.
I have checked the IP setings of the phone, it gets a complete and correct set of IPV4 and IPV6 adresses from the local DHCP server.
To start troubleshooting somewhere, I installed a PING tool on the phone, and found that it can PING any other computer via IPV4, but not via IPV6.
On one of my PCs, I installed Wireshark to see what is happening, and this is what I found, if I PING the IPV6 address of the phone from the PC:
On the pc, I initiate a PING test:
ping [ipv6 address of phone] -6 -n 1
and this is what Wireshark revealed on ethernet level (with my comments):
mobile mac address discovery via multicast
[pc mac] to [33:33:ff:4d:50]: Neighbor Solicitation for [mobiile IPV6] from [pc mac]
[mobile mac] to [pc mac]: Neighbor Advertisement [mobile ipv6]: [mobile mac]
mobile phone mac address resolution success - try to ping
[pc mac] to [mobile mac]: Echo (ping) request
response from phone: try to get PC mac address!" Has heard the PING request!
[mobile mac] to [33:33:ff:f4:fd:12]: Neighbor Solicitation for [pc IPV6] from [mobile mac]
pc responds correctly
[pc mac] to [mobile mac]: Neighbor Advertisement [pc ipv6]: [pc mac]
phone tries same again - has not "heard" the response !?
[mobile mac] to [33:33:ff:f4:fd:12]: Neighbor Solicitation for [pc IPV6] from [mobile mac]
pc again responds correctly
[pc mac] to [mobile mac]: Neighbor Advertisement [pc ipv6]: [pc mac]
3rd retry!
[mobile mac] to [33:33:ff:f4:fd:12]: Neighbor Solicitation for [pc IPV6] from [mobile mac]
pc patiently responds correctly once more
[pc mac] to [mobile mac]: Neighbor Advertisement [pc ipv6]: [pc mac]
This is where the PC gives up and shows a failed PIING error message.
From what I see on the Wireshark trace, the phone fails to pick up the mac address resolution responses, and thus never knows about the Ethernet address of the PC, cannot send a response and and this is why the PING request fails.
Trying the other direction, when I PING from the phone to the PC running Wireshark, not a single packet is captured, seems like the phone doesn't even try.
To me ist seems like the IPV6 stack on the phone is dead, despite that DHCP has worked.
Anyone who has deeper insight into the implementation details of IPv6 on Android who can give me any info how to resolve this?
Thnx, Armin
networking wi-fi ipv6
I observe the following problem with my Android phone (Sony Xperia XZ, Andoid Oreo 8.0.0)
Though the phone seems to have a correct set of IPV6 addresses it fails to communicate when I use IPV6. the phone works OK using IPV4.
Details
I have about 5 Personal Computers in a LAN which can PING each other via their IPV6 adresses, and communicate via IPV4 and IPV6. I added my Android phone to the same LAN via WIFI/WLAN, at it can communicate via IPV4, but not IPV6.
I have checked the IP setings of the phone, it gets a complete and correct set of IPV4 and IPV6 adresses from the local DHCP server.
To start troubleshooting somewhere, I installed a PING tool on the phone, and found that it can PING any other computer via IPV4, but not via IPV6.
On one of my PCs, I installed Wireshark to see what is happening, and this is what I found, if I PING the IPV6 address of the phone from the PC:
On the pc, I initiate a PING test:
ping [ipv6 address of phone] -6 -n 1
and this is what Wireshark revealed on ethernet level (with my comments):
mobile mac address discovery via multicast
[pc mac] to [33:33:ff:4d:50]: Neighbor Solicitation for [mobiile IPV6] from [pc mac]
[mobile mac] to [pc mac]: Neighbor Advertisement [mobile ipv6]: [mobile mac]
mobile phone mac address resolution success - try to ping
[pc mac] to [mobile mac]: Echo (ping) request
response from phone: try to get PC mac address!" Has heard the PING request!
[mobile mac] to [33:33:ff:f4:fd:12]: Neighbor Solicitation for [pc IPV6] from [mobile mac]
pc responds correctly
[pc mac] to [mobile mac]: Neighbor Advertisement [pc ipv6]: [pc mac]
phone tries same again - has not "heard" the response !?
[mobile mac] to [33:33:ff:f4:fd:12]: Neighbor Solicitation for [pc IPV6] from [mobile mac]
pc again responds correctly
[pc mac] to [mobile mac]: Neighbor Advertisement [pc ipv6]: [pc mac]
3rd retry!
[mobile mac] to [33:33:ff:f4:fd:12]: Neighbor Solicitation for [pc IPV6] from [mobile mac]
pc patiently responds correctly once more
[pc mac] to [mobile mac]: Neighbor Advertisement [pc ipv6]: [pc mac]
This is where the PC gives up and shows a failed PIING error message.
From what I see on the Wireshark trace, the phone fails to pick up the mac address resolution responses, and thus never knows about the Ethernet address of the PC, cannot send a response and and this is why the PING request fails.
Trying the other direction, when I PING from the phone to the PC running Wireshark, not a single packet is captured, seems like the phone doesn't even try.
To me ist seems like the IPV6 stack on the phone is dead, despite that DHCP has worked.
Anyone who has deeper insight into the implementation details of IPv6 on Android who can give me any info how to resolve this?
Thnx, Armin
networking wi-fi ipv6
networking wi-fi ipv6
asked Jan 9 at 12:05
Nimral
migrated from superuser.com Jan 9 at 12:21
This question came from our site for computer enthusiasts and power users.
migrated from superuser.com Jan 9 at 12:21
This question came from our site for computer enthusiasts and power users.
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "139"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fandroid.stackexchange.com%2fquestions%2f206260%2fandroid-phone-fails-to-communicate-using-ipv6%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Android Enthusiasts Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fandroid.stackexchange.com%2fquestions%2f206260%2fandroid-phone-fails-to-communicate-using-ipv6%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown