Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-24-2019, 03:10 PM   #1
LQ Newbie
Registered: Aug 2019
Posts: 1

Rep: Reputation: Disabled
IPv4 address non existent, IPv6 working perfectly

Hello LinuxQuestions, this is my first time posting on this forum and I am happy to see you. I have set up a Gentoo system. The problem is that there is only two IPv6 addresses and no IPv4, causing me to not be able to browse certain websites on the Internet. I first noticed this problem when I was unable to connect to certain websites. Both addresses worked on Ubuntu and Arch. However, not on Gentoo! I decided to post some diagnostic information for your help (IP blanked with X)

ip neigh:

fe80::xxxx:xxxx:xxxx:xxxx dev wlp2s0 lladdr xx:xx:xx:xx:xx:xx router STALE
ifconfig -v:

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet netmask
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::xxxx:xxxx:xxxx:xxxx prefixlen 64 scopeid 0x20<link>
inet6 xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx prefixlen 64 scopeid 0x0<global>
ether xx:xx:xx:xx:xx:xx txqueuelen 1000 (Ethernet)
RX packets 2960 bytes 633485 (618.6 KiB)
RX errors 0 dropped 2 overruns 0 frame 0
TX packets 9 bytes 1030 (1.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
curl -v (an IPv4 only website):

* getaddrinfo(3) failed for
* Couldn’t resolve host ‘’
* Closing connection 0
curl: (6) Couldn’t resolve host ‘’
ping -c 5 (IPv4 address):

connect: Network is unreachable
Here’s some network-related files:

/etc/resolv.conf (The two IPv6 nameservers are Spectrum):

# /etc/resolv.conf.head can replace this line
domain home
nameserver 2001:1998:f00:1::1
nameserver 2001:1998:f00:2::1
# /etc/resolv.conf.tail can replace this line

# /etc/networks
# This file describes a number of netname-to-address
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.

Thank you if you can solve my issue!
Old 08-25-2019, 04:31 PM   #2
Registered: Dec 2016
Distribution: Devuan+lxde
Posts: 656

Rep: Reputation: 190Reputation: 190
Have you tried setting an ipv4 address manually?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ipv6 newbie. is ipv6 configurable by an individual? or ipv4 still best for individual debguy Linux - Networking 1 10-26-2015 01:40 PM
transitioning IPv4 router to dual IPv4/IPv6 psycroptic Linux - Networking 0 04-22-2014 01:44 AM
In tspc ipv6 tunnelling, does tunnel broker required for ipv4 to ipv4 communication? nyk.mat Linux - Newbie 2 08-13-2013 09:48 PM
LXer: The Toshiba Satellite L755D-S5204 Laptop: A Perfectly Priced (and Perfectly Awesome) Christmas LXer Syndicated Linux News 0 12-16-2011 03:10 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:48 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration