Ubuntu VM with no IP v4 connection, only IP v6












0















I have a fresh ubuntu 16.04 LTS VM installed on my cloud provider. I cannot get IP V4 connectivity but only IP V6. I can connect to my VM through secure shell and I can also reach it through its domain name (I have installed an apache http server and I can see the test page). However, I wonder why I don't have normal access to the internet. For example, when I run sudo apt-get update some package repositories seem to be reachable while others don't. I have also tried to ping various web sites with no success.



What is going on? What should I do to allow my VM to have normal network access?



ifconfig 

eth0 Link encap:Ethernet HWaddr aa:00:02:ed:99:a2
inet6 addr: fe80::a800:2ff:feed:99a2/64 Scope:Link
inet6 addr: 2001:648:2ffc:1225:a800:2ff:feed:99a2/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5690 errors:0 dropped:0 overruns:0 frame:0
TX packets:3475 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2910088 (2.9 MB) TX bytes:534675 (534.6 KB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:225 errors:0 dropped:0 overruns:0 frame:0
TX packets:225 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:24067 (24.0 KB) TX bytes:24067 (24.0 KB)









share|improve this question


















  • 1





    Does your provider actually provide IPv4 addresses at all? What's in your system logs?

    – Michael Hampton
    Jan 15 at 18:00











  • My cloud provider gives 3 IPv4 addresses for 20 VMs. For this VM, I cannot use an IPv4 address as I need them for other VMs. Which log do you refer to exactly?

    – Pantelis Natsiavas
    2 days ago











  • I would first check /var/log/syslog. That's where common system activity gets logged. But if your VM hasn't got IPv4 connectivity at all, then there is no point. You can only access IPv6 sites.

    – Michael Hampton
    2 days ago
















0















I have a fresh ubuntu 16.04 LTS VM installed on my cloud provider. I cannot get IP V4 connectivity but only IP V6. I can connect to my VM through secure shell and I can also reach it through its domain name (I have installed an apache http server and I can see the test page). However, I wonder why I don't have normal access to the internet. For example, when I run sudo apt-get update some package repositories seem to be reachable while others don't. I have also tried to ping various web sites with no success.



What is going on? What should I do to allow my VM to have normal network access?



ifconfig 

eth0 Link encap:Ethernet HWaddr aa:00:02:ed:99:a2
inet6 addr: fe80::a800:2ff:feed:99a2/64 Scope:Link
inet6 addr: 2001:648:2ffc:1225:a800:2ff:feed:99a2/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5690 errors:0 dropped:0 overruns:0 frame:0
TX packets:3475 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2910088 (2.9 MB) TX bytes:534675 (534.6 KB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:225 errors:0 dropped:0 overruns:0 frame:0
TX packets:225 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:24067 (24.0 KB) TX bytes:24067 (24.0 KB)









share|improve this question


















  • 1





    Does your provider actually provide IPv4 addresses at all? What's in your system logs?

    – Michael Hampton
    Jan 15 at 18:00











  • My cloud provider gives 3 IPv4 addresses for 20 VMs. For this VM, I cannot use an IPv4 address as I need them for other VMs. Which log do you refer to exactly?

    – Pantelis Natsiavas
    2 days ago











  • I would first check /var/log/syslog. That's where common system activity gets logged. But if your VM hasn't got IPv4 connectivity at all, then there is no point. You can only access IPv6 sites.

    – Michael Hampton
    2 days ago














0












0








0








I have a fresh ubuntu 16.04 LTS VM installed on my cloud provider. I cannot get IP V4 connectivity but only IP V6. I can connect to my VM through secure shell and I can also reach it through its domain name (I have installed an apache http server and I can see the test page). However, I wonder why I don't have normal access to the internet. For example, when I run sudo apt-get update some package repositories seem to be reachable while others don't. I have also tried to ping various web sites with no success.



What is going on? What should I do to allow my VM to have normal network access?



ifconfig 

eth0 Link encap:Ethernet HWaddr aa:00:02:ed:99:a2
inet6 addr: fe80::a800:2ff:feed:99a2/64 Scope:Link
inet6 addr: 2001:648:2ffc:1225:a800:2ff:feed:99a2/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5690 errors:0 dropped:0 overruns:0 frame:0
TX packets:3475 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2910088 (2.9 MB) TX bytes:534675 (534.6 KB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:225 errors:0 dropped:0 overruns:0 frame:0
TX packets:225 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:24067 (24.0 KB) TX bytes:24067 (24.0 KB)









share|improve this question














I have a fresh ubuntu 16.04 LTS VM installed on my cloud provider. I cannot get IP V4 connectivity but only IP V6. I can connect to my VM through secure shell and I can also reach it through its domain name (I have installed an apache http server and I can see the test page). However, I wonder why I don't have normal access to the internet. For example, when I run sudo apt-get update some package repositories seem to be reachable while others don't. I have also tried to ping various web sites with no success.



What is going on? What should I do to allow my VM to have normal network access?



ifconfig 

eth0 Link encap:Ethernet HWaddr aa:00:02:ed:99:a2
inet6 addr: fe80::a800:2ff:feed:99a2/64 Scope:Link
inet6 addr: 2001:648:2ffc:1225:a800:2ff:feed:99a2/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5690 errors:0 dropped:0 overruns:0 frame:0
TX packets:3475 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2910088 (2.9 MB) TX bytes:534675 (534.6 KB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:225 errors:0 dropped:0 overruns:0 frame:0
TX packets:225 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:24067 (24.0 KB) TX bytes:24067 (24.0 KB)






16.04 ipv6






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 15 at 13:07









Pantelis NatsiavasPantelis Natsiavas

1136




1136








  • 1





    Does your provider actually provide IPv4 addresses at all? What's in your system logs?

    – Michael Hampton
    Jan 15 at 18:00











  • My cloud provider gives 3 IPv4 addresses for 20 VMs. For this VM, I cannot use an IPv4 address as I need them for other VMs. Which log do you refer to exactly?

    – Pantelis Natsiavas
    2 days ago











  • I would first check /var/log/syslog. That's where common system activity gets logged. But if your VM hasn't got IPv4 connectivity at all, then there is no point. You can only access IPv6 sites.

    – Michael Hampton
    2 days ago














  • 1





    Does your provider actually provide IPv4 addresses at all? What's in your system logs?

    – Michael Hampton
    Jan 15 at 18:00











  • My cloud provider gives 3 IPv4 addresses for 20 VMs. For this VM, I cannot use an IPv4 address as I need them for other VMs. Which log do you refer to exactly?

    – Pantelis Natsiavas
    2 days ago











  • I would first check /var/log/syslog. That's where common system activity gets logged. But if your VM hasn't got IPv4 connectivity at all, then there is no point. You can only access IPv6 sites.

    – Michael Hampton
    2 days ago








1




1





Does your provider actually provide IPv4 addresses at all? What's in your system logs?

– Michael Hampton
Jan 15 at 18:00





Does your provider actually provide IPv4 addresses at all? What's in your system logs?

– Michael Hampton
Jan 15 at 18:00













My cloud provider gives 3 IPv4 addresses for 20 VMs. For this VM, I cannot use an IPv4 address as I need them for other VMs. Which log do you refer to exactly?

– Pantelis Natsiavas
2 days ago





My cloud provider gives 3 IPv4 addresses for 20 VMs. For this VM, I cannot use an IPv4 address as I need them for other VMs. Which log do you refer to exactly?

– Pantelis Natsiavas
2 days ago













I would first check /var/log/syslog. That's where common system activity gets logged. But if your VM hasn't got IPv4 connectivity at all, then there is no point. You can only access IPv6 sites.

– Michael Hampton
2 days ago





I would first check /var/log/syslog. That's where common system activity gets logged. But if your VM hasn't got IPv4 connectivity at all, then there is no point. You can only access IPv6 sites.

– Michael Hampton
2 days ago










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
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: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1109945%2fubuntu-vm-with-no-ip-v4-connection-only-ip-v6%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
















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • 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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1109945%2fubuntu-vm-with-no-ip-v4-connection-only-ip-v6%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Category:香港粉麵

List *all* the tuples!

Channel [V]