1 (edited by heartbleed 2022-12-22 09:03:47)

Topic: IPv6 configuration

Hello, i'm trying to configure ipv6 on hyperbola but doesnt see to work.



# doas ip -6 addr add 2001:41d0:602:b80:0001:0001:133c:e8dc/64 dev ens3

# ip -6 addr show

2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
    inet6 2001:41d0:602:b80:1:1:133c:e8dc/64 scope global
       valid_lft forever preferred_lft forever

# ip -6 route
2001:41d0:602:b80::/64 dev ens3 proto kernel metric 256 pref medium

# From another host
# ping -6 2001:41d0:602:b80:0001:0001:133c:e8dc
PING 2001:41d0:602:b80:0001:0001:133c:e8dc(2001:41d0:602:b80:1:1:133c:e8dc) 56 data bytes

--- 2001:41d0:602:b80:0001:0001:133c:e8dc ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3095ms



can someone help me thanks.

2

Re: IPv6 configuration

Hey, thanks for opening the thread and asking. From my point of view IPv6 is working as I have a concrete address assigned here (wired connection). But better to go through step by step: Have you checked the settings on your routing-device (I think so, but perhaps another look is helping)?
Next perhaps: What is your scenario? Do you want to use IPv6 only?

Hope we can solve the issue you have. smile

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

3 (edited by heartbleed 2022-12-22 14:40:32)

Re: IPv6 configuration

Hi,

throgh wrote:

Have you checked the settings on your routing-device (I think so, but perhaps another look is helping)?

My vps hosting has provided me only this assigned IPv6 address and nothing else
I think i'm missing IPv6 routing maybe? i've never used IPv6.

im not using DHCP, IPv4 is configured via /etc/conf.d/net.

IPv6 is not disabled in sysctl.
sysctl -a | grep ipv6.*disable

net.ipv6.conf.all.disable_ipv6 = 0
net.ipv6.conf.all.disable_policy = 0
net.ipv6.conf.default.disable_ipv6 = 0
net.ipv6.conf.default.disable_policy = 0
net.ipv6.conf.ens3.disable_ipv6 = 0
net.ipv6.conf.ens3.disable_policy = 0
net.ipv6.conf.lo.disable_ipv6 = 0
net.ipv6.conf.lo.disable_policy = 0
trough wrote:

Next perhaps: What is your scenario? Do you want to use IPv6 only?

Im running a tor relay so i'm using IPv4 but i would use IPv6 too

ip addr show

2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 02:00:00:8b:ba:2e brd ff:ff:ff:ff:ff:ff
    inet 145.239.26.252/29 brd 145.239.26.255 scope global noprefixroute ens3
       valid_lft forever preferred_lft forever
    inet6 2001:41d0:602:b80:1:1:133c:e8dc/64 scope global 
       valid_lft forever preferred_lft forever
    inet6 fe80::7248:c6f3:da35:744d/64 scope link 
       valid_lft forever preferred_lft forever

ip -6 route

2001:41d0:602:b80::/64 dev ens3 proto kernel metric 256 pref medium
fe80::/64 dev ens3 proto kernel metric 256 pref medium

4

Re: IPv6 configuration

Seems working, so let me ask: You mean using IPv6 also for connecting through tor, correct? The last stats I have seen was there: https://blog.torproject.org/state-of-ip … r-network/

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

5 (edited by heartbleed 2022-12-22 14:44:00)

Re: IPv6 configuration

The problem is that it's not reacheable from outside, once is reacheable tor will accept connection coming from ipv6 address.

i've tried with https://tools.keycdn.com/ipv6-ping but 100% packet loss.

6

Re: IPv6 configuration

Hmm, I can ping your current ipv4 address but not ipv6. Ping for me here local works, also for others, Is the tor-relay hosted also on Hyperbola?

Example:

ping 2003:c7:271a:8100:f95:b132:6914:4fcd
PING 2003:c7:271a:8100:f95:b132:6914:4fcd(2003:c7:271a:8100:f95:b132:6914:4fcd) 56 data bytes
64 bytes from 2003:c7:271a:8100:f95:b132:6914:4fcd: icmp_seq=1 ttl=64 time=0.073 ms
64 bytes from 2003:c7:271a:8100:f95:b132:6914:4fcd: icmp_seq=2 ttl=64 time=0.086 ms
64 bytes from 2003:c7:271a:8100:f95:b132:6914:4fcd: icmp_seq=3 ttl=64 time=0.078 ms
64 bytes from 2003:c7:271a:8100:f95:b132:6914:4fcd: icmp_seq=4 ttl=64 time=0.089 ms
64 bytes from 2003:c7:271a:8100:f95:b132:6914:4fcd: icmp_seq=5 ttl=64 time=0.078 ms
64 bytes from 2003:c7:271a:8100:f95:b132:6914:4fcd: icmp_seq=6 ttl=64 time=0.072 ms
64 bytes from 2003:c7:271a:8100:f95:b132:6914:4fcd: icmp_seq=7 ttl=64 time=0.084 ms
64 bytes from 2003:c7:271a:8100:f95:b132:6914:4fcd: icmp_seq=8 ttl=64 time=0.090 ms
64 bytes from 2003:c7:271a:8100:f95:b132:6914:4fcd: icmp_seq=9 ttl=64 time=0.081 ms

Perhaps to go for hardware-stats from me:

Hyperbola GNU/Linux-libre v0.4.2 (current stable 64bit)
Libreboot-system with neweest stable release, once ThinkPad X200

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

7 (edited by heartbleed 2022-12-22 15:02:46)

Re: IPv6 configuration

My tor-relay is running Hyperbola GNU/Linux-libre - Milky Way v0.4 - Kernel version: 5.10.127-gnu1-1-lts.

I've opened a ticket to my hosting provider, maybe is not a problem releted to hyperbola.

Thanks for the time smile

8

Re: IPv6 configuration

Please come back, if there is no issue on the hosting provider. We will find a solution for sure! smile

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

9

Re: IPv6 configuration

I solved the issue, the problem was wrong routing settings. smile

10

Re: IPv6 configuration

Thanks for feedback. Hope you have further fun!

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!