Questions tagged [ipv4]

Questions related to the fourth version of Internet Protocol , which is one of the core protocols of standards-based internetworking methods in the Internet.

Filter by
Sorted by
Tagged with
0 votes
0 answers
51 views

Ubuntu 20.04 - Browsers (Firefox & Chrome) Won't Use / Prioritize IPv4 Despite gai.conf Precedence - How can I prefer IPv4?

In /etc/gai.conf, I have the following: label ::1/128 0 label ::/0 1 label 2002::/16 2 label ::/96 3 label ::ffff:0:0/96 4 precedence ::1/128 50 precedence ::/0 ...
OwN's user avatar
  • 181
0 votes
0 answers
66 views

Unable to Configure Network on Homeserver Behind "Fritz Box" Home Router

Description: I've encountered a puzzling network issue with my homeserver setup and I'm seeking guidance to resolve it. Problem: My homeserver, behind a "Fritz Box" home router, experiences ...
lstrauch's user avatar
0 votes
0 answers
103 views

Are ubuntu snap servers only accessible via ipv4-only?

I tried to apt update and snap refresh on an IPv6-only Ubuntu machine. The update worked fine, but the snap refresh hasn't. The shown error only mentions that it timed out. I tried three different ...
baltazar's user avatar
2 votes
1 answer
1k views

Ipv6 vs Ipv4: is there a way to force ipv6 use?

Ubuntu/Linux beginner here, so I was wondering if there's any way to force Ubuntu to prefer IPv4 or IPv6 when resolving a name (ex.: google.com has ipv4 and ipv6 addresses. is there any setting which ...
Luis Abreu's user avatar
0 votes
0 answers
144 views

Ubuntu 20.04.2 LTS lost internet connectoin out of sudden

My PC is connected to a router. The router has been working all the time and had internet connection. Several days ago I noticed that I suddenly cannot connect to my PC through the router admin page ...
WJPING's user avatar
  • 1
0 votes
1 answer
424 views

20.04 Cloud-init appears to disable ipv4 DHCP on eth0

I'm doing a fresh install of 20.04 on some Raspberry Pi 3s. The SD cards were flashed with Ubuntu 20.04 Server (32bit) using the RPi imager. When cloud init finishes wlan0 has an ipv4 address from ...
NetFool's user avatar
  • 141
0 votes
1 answer
66 views

Turn off IPv6 resolution for particular URL only

I'm having an issue with registry.npmjs.org -- When I attempt to access it through the command line (e.g. implicitly by using the npm command, or when doing a ping registry.npmjs.org), the access ...
R.M.'s user avatar
  • 123
0 votes
1 answer
254 views

Terminal has network (DNS?) issues but browser works fine. ipv6 issue?

EDIT: It seems it might be a cable modem issue: according to https://test-ipv6.com/ ipv6 is not working both in Ubuntu as well as windows (dual boot, same workstation), and neither on my smartphone ...
JRTG's user avatar
  • 101
0 votes
1 answer
210 views

Wired Connection Not Working, Ethernet Cable Works Properly

I just performed a fresh install of Ubuntu 20.04 on my HP workstation, however the wired ethernet connection doesn't work, even though the ethernet cable works (tested on a different workstation and ...
J S's user avatar
  • 1
1 vote
1 answer
1k views

Internet access constantly dropping out, "IP Configuration was Unavailable" - unsure if the issue is my laptop or the network!

My google-fu is failing me on this; researching where to turn next is leaving me baffled. I have an MSI laptop from around 2017 with Kubuntu 22.04 installed on it. I work at a hotel desk, and I often ...
Wootzel's user avatar
  • 13
0 votes
0 answers
123 views

IPv6 "Activation of network connecting failed" [WiFi] and many urls unreachable (incl snap)

The first thing I noticed was that snap could not connect (running release 22.10): Failed to find refreshable snaps: status-code=500 kind=(null) message=cannot list updates: persistent network error: ...
Taolon's user avatar
  • 1
0 votes
1 answer
3k views

Problem with my iptables configuration on reboot

I tried many times to save the iptables configuration to have it start up automatically when I reboot my Raspberry Pi (Ubuntu 22.04.1 LTS) but when I look with this command: $ sudo iptables -L my ...
Chookitypok's user avatar
0 votes
0 answers
136 views

Ubuntu 22.04 losing wifi connection everday at the same period

The wifi of my Ubuntu 22.04.1 works normally for most of time. But, recently, each day at around 21:45 to 22:45, I will lose the connection to my apartment's public wifi from my laptop. Strangely, ...
ranger's user avatar
  • 1
0 votes
0 answers
178 views

Forwarding localhost to ipv4

I'm trying to forward my octant running on 127.0.0.1:7777 to ipv4 . I have already gone to /etc/hosts/ and change the localhost to 192.168... but not working What else must I do to forward it to my ...
Samireigns's user avatar
0 votes
1 answer
53 views

Change IPv4 address of my server

I've tried to change de IPv4 address from my Ubuntu Server but when i run the command "netplan apply" an error appear, the error appeared is telling me my gateway isn't a valid IPv4 Address. ...
Gabriel Celestino's user avatar
-1 votes
1 answer
2k views

wget connection stuck - log file location? [closed]

A client of mine could not download anything via WGET from any website. He didn't get any error messages in the terminal. The connection simply remained in the "connecting" status. It did ...
Marius's user avatar
  • 173
0 votes
1 answer
3k views

How do I use PuTTY to connect through SSH to Ubuntu Server 20.04.3 LTS

I'm trying to connect to my server terminal thru SSH, before at my home everything worked fine, on my Ubuntu server terminal I did ifconfig, get the ipv4 IP address and connect to it. Now I brought my ...
NSA NSA's user avatar
0 votes
0 answers
806 views

How do I show all ipv4 and ipv6 addresses by using grep

I'm trying to grep inet addr and inet 6 addr from ifconfig. I can grep inet addr or inet6 addr alone only. How can I show both IPV4 and IPV6 addresses in one command?
DOS's user avatar
  • 1
0 votes
0 answers
479 views

other interface connected to linux bridge not receiving multicast packet

lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.3 LTS Release: 20.04 Codename: focal Bridge Info sudo brctl show bridge name bridge id ...
Anil kumar's user avatar
1 vote
1 answer
2k views

Disable both IPv4 and IPv6 on a specific interface

Using Ubuntu 21.10, SoftEther docs recommend disabling IPv4 and IPv6 on one of the two Ethernet interfaces used for the local bridge network adapter. Here's my /etc/netplan/01-network-manager-all.yaml....
nstuyvesant's user avatar
1 vote
1 answer
4k views

My Ping result are returning an IPv6 instead of IPv4

I am new in Linux. So, I am running dual boot Linux and Windows 11. All my OS is on the latest version. I try to ping google.com in Linux, but I get returned IPv6 instead of IPv4. Here is the ping ...
Andrew Virya Victorio's user avatar
0 votes
1 answer
981 views

XUbuntu 20.04 won't connect to wired router/internet

XUbuntu 20.04 won't connect to wired router/internet using my computer, the live CD, or live CD for 18.x or 16.x. These had worked before without problem. Other computers running 18.x still work and ...
AtoZ007's user avatar
0 votes
1 answer
156 views

Ubuntu 20.04 server suddenly can nolonger connect to anything at all on IPv4

... but I can SSH and use webmin on it just fine over IPv4?? I cant ping anything at all and of course DNS just flat fails as a result. The only addresses I can ping are local 127.0.0.xx and the ...
Paul's user avatar
  • 1
0 votes
0 answers
1k views

Ubuntu - ipv4 mostly not working on new install

I just did a clean install of Ubuntu 20.04 on a machine and have been having problems with it. IPV6 works fine across the board, but IPV4 isn't working, mostly. [EDIT: I'll shorten the question in ...
Cliff B's user avatar
  • 101
0 votes
1 answer
166 views

ufw is listening to tcp6 on OCI and cloudflare ssl certificate

netstat -ntlp | grep LISTEN tcp 0 0 127.0.0.xx:53 0.0.0.0:* LISTEN 809/systemd-resolve tcp 0 0 0.0.0.0:22 0.0.0.0:* ...
CADENTIC's user avatar
2 votes
0 answers
662 views

PHP-FPM upstream error with ipv6

I have just installed the latest Nginx with PHP7.4-fpm on a fresh Ubuntu 20.04.2 server. I added a virtual host that has a WordPress site on it and it is loading fine but I noticed the nginx logs ...
AndrewL64's user avatar
  • 355
0 votes
2 answers
2k views

IPV4 Connectivity isn't working, IPV6 working fine

I have set up a Raspberry Pi with Ubuntu Server 20.04 LTS, however I run into some connectivity issues, especially regarding IPV4. It seems however that IPV6 is working correctly. Here is an example ...
Titouan Launay's user avatar
0 votes
1 answer
358 views

Can't connect to ipv4 websites, not even when wired

I can connect to google, but not to duckduckgo. $ ping google.com PING google.com(arn09s19-in-x0e.1e100.net (2a00:1450:400f:80c::200e)) 56 data bytes 64 bytes from arn09s19-in-x0e.1e100.net (2a00:1450:...
Louis's user avatar
  • 1
1 vote
1 answer
2k views

How to set IPV4 address disabled in Ubuntu 20.04 using netplan?

I am trying to set IPV4 address as disabled. but it is setting a link-local address. Here is my config.yaml. If i apply netplan apply, link-local ipv4 address is set for the connection with ipv4 ...
Sakthi Nathiarasan's user avatar
0 votes
1 answer
731 views

No internet access via IPv4, IPv6 works fine

I ran into some troubles with my Ubuntu 18.10 machine. I have changed my ISP a few days ago and more or less since then I cannot connect to IPv4 websites anymore, nor use any service requiring IPv4. ...
windstoss's user avatar
0 votes
0 answers
794 views

How can I use scp from an ipv6 server to download from an ipv4 server?

I know the -6 option to download from an ipv6 server, the problem is that i'm on an ipv6 server , and try to download from an ipv4 server, how can I do it ? Here's the command that I use : scp -r ...
assilmanss's user avatar
0 votes
0 answers
1k views

DHCP lease not renewed upon expiration

I'm a clueless newbie running Ubuntu 18 on top of VirtualBox on top of Windows 10 with a wireless connection to my ISP's router. The VM's network adapter is set up in VB as bridged, and is configured ...
Peter Lonergan's user avatar
1 vote
1 answer
10k views

Destination unreachable: Address unreachable upon ping of outside hosts

Im having trouble pinging google.com on ubuntu 20.04 david@Ptolemy:~$ ping google.com PING google.com(syd09s22-in-x0e.1e100.net (2404:6800:4006:80e::200e)) 56 data bytes From 2001:8003:7405:1200:faab:...
Bucephalus's user avatar
1 vote
0 answers
178 views

Ubuntu 18.04 Multi Network Interface doesn't work well

I'm running Ubuntu 18.04 LTS on HPE ProLiant DL360 gen9, and I have a trouble on networking. I write a config for netplan as follows. network: ethernets: eno1: dhcp4: true dhcp6: ...
Junpei Kishi's user avatar
7 votes
2 answers
13k views

Ubuntu Server 20.04 - Netplan configuration for dynamic IPv4 and static IPv6

TL;DR Does anyone have a working netplan configuration that sets a dynamic IPv4 and a static IPv6 under Ubuntu Server 20.04? What works My provider (OVH) gave me a server with this configuration in /...
yaap's user avatar
  • 311
2 votes
0 answers
3k views

How do I make changes to the file /etc/gai.conf take effect without a reboot?

Per the title, how do I make changes to the file /etc/gai.conf take effect in Ubuntu 20.04 without a reboot? (I altered /etc/gai.conf to force prioritization of 4to6 (IPv4 to IPv6) tunnel traffic over ...
Patrick Dark's user avatar
6 votes
2 answers
42k views

Installation of server does not accept subnet CIDR

I try to install a server from scratch with a fixed IP address. For installation I use the provided ISO of 18.04.3 and the installation agent of Ubuntu. First I thought that my understanding of the ...
Marged's user avatar
  • 163
3 votes
1 answer
3k views

Disable IPv4 on Ubuntu 16.04 LTS

I want to create a pure IPv6 environment or disable IPv4 completely, not just on the interface. If it is impossible, I want to disable IPv4 on boot via the command line or a configuration file.
Thuong Tran's user avatar
0 votes
1 answer
320 views

Ubuntu Server 18.04 LTS - Unable to change IPv4 settings duing setup

During setup on Ubuntu Server 18.04 LTS, I have problems setting up manual IPv4. I'm enter the following: Subnet: 255.255.255.0/24 Address: 192.168.0.50 Under address I get the following error: '...
user avatar
0 votes
0 answers
1k views

Connection Failed: Activation of network connection failed

I have Ubuntu 18.04 running on VirtualBox 6.0.4 and I am trying to connect my Xbox one s to the internet via Asix Ethernet adapter. I connected ubuntu to my network but the ethernet connection between ...
Phil's user avatar
  • 1
1 vote
0 answers
304 views

Ubuntu Server 18.04 no IPV4 after resume

I fail to get ipv4 working on an ubuntu server 18.04 after it was suspended and resumed. The only way I get ipv4 running again is reboot. The system is installed as a guest in a vmware virtual machine....
Dietmar F's user avatar
4 votes
0 answers
4k views

Need to configure XRDP service to listen using IPV4 not TCP6 [duplicate]

I have installed xrdp on ubuntu 18. xrdp by default listens to 3389 so that it can support Window RDP When I run "netstat", it shows that the service is listing with tcp6 and IPV6 syntax (colon ...
Rick's user avatar
  • 41
25 votes
6 answers
77k views

IPv6 is working, but IPv4 isn't

I've got a new laptop running Ubuntu 16.04 that worked like a charm for a couple of weeks but has now lost its appetite for connecting to the internet via Wi-fi. I know it's not a problem with my ...
cjolley's user avatar
  • 787
2 votes
1 answer
1k views

What does the @ sign mean after a tunnel interface?

I previously asked a question on setting up a ipv4 to ipv6 tunnel. I answered my own question and this is configuration output from my previous question here https://askubuntu.com/a/992872/13903 4: ...
Tek's user avatar
  • 348
0 votes
1 answer
707 views

Can connect, but no internet on Ubuntu 16.04, works fine on windows 10 (IPV4/IPV6 problem)

I am having problems with my internet connection on Ubuntu 16.04. I can connect to the wireless network but i have no access to internet, In my laptop i also have windows 10 and it can connect and ...
Luka Schnauzer's user avatar
1 vote
1 answer
1k views

Running IPv4 only application on IPv6 only network

I have an Ubuntu 16.04 machine connected to an IPv6 only network. One application I want to run on this machine appears to not work properly with IPv6. I know 464XLAT is supposed to make such ...
kasperd's user avatar
  • 1,719
16 votes
3 answers
30k views

How to disable IPv6 on Windows Subsystem for Linux?

I tried to disable IPv6 by adding in /etc/sysctl.conf: net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1 and then running sudo sysctl -p to ...
Răzvan Flavius Panda's user avatar
3 votes
1 answer
4k views

Using UFW, if I create a rule, will it apply to both IPv4 and IPv6? [closed]

Will UFW create the appropriate rules in both iptables and ip6tables?
Bo Frederiksen's user avatar
0 votes
1 answer
1k views

How to get IPv6 ip from the router, what is my subnet mask?

This is the router asking to put an address but when i insert 192.168.0.2 it fails what is the IPv6 value for that to setup in the router? So that i get proper IPv6 in Ubuntu? In Ubuntu from the ...
user avatar
0 votes
1 answer
464 views

Apache2 server not responding with IPV4 address

I run an apache2 web server on Ubuntu 14.04 that I use to save files from my laptop with Owncloud. I used to be able to connect via HTTP using my external IP address (IPv4), and I used that public ...
larrysimon's user avatar