Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Need help for IPv6 issue
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Need help for IPv6 issue

cybervircybervir Member

Hi, guys, I got a Japan vps on hosthatch.com recently. And I followed the instructions on hosthatch to configure IPv6, but IPv6 network still doesn’t work.
Could you guys please help me?

Here’s the interface configuration:
“auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address xxx.xxx.xxx.xxx/24
gateway xxx.xxx.xxx.xxx
dns-nameservers 8.8.8.8 1.1.1.1
dns-search debian
iface eth0 inet6 static
address 2406:ef80:xxxx:xxxx::1
netmask 64
gateway fe80::1”

And here’s the output of some commands:
“root@www:~# ip -6 a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 state UNKNOWN qlen 1000
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
inet6 2406:ef80:xxxx:xxx::1/64 scope global
valid_lft forever preferred_lft forever
inet6 fe80::220:e0ff:fe18:d32c/64 scope link
valid_lft forever preferred_lft forever
root@www:~# ip -6 route
::1 dev lo proto kernel metric 256 pref medium
2406:ef80:xxxx:xxxx::/64 dev eth0 proto kernel metric 256 pref medium
fe80::/64 dev eth0 proto kernel metric 256 pref medium
default via fe80::1 dev eth0 metric 1024 onlink pref medium”

Comments

  • yoursunnyyoursunny Member, IPv6 Advocate
    edited March 13

    We use netplan.io to configure networking.
    Here's our /etc/netplan/01-netcfg.yaml file working for HostHatch in Sydney.

    network:
      version: 2
      ethernets:
        lo:
          nameservers:
            addresses:
              - 1.1.1.1
              - 2606:4700:4700::1111
              - 8.8.8.8
        uplink:
          match:
            macaddress: 00:20:e0:18:d3:2c
          set-name: uplink
          dhcp4: true
          dhcp6: false
          link-local: []
          addresses:
            - 2406:ef80:xxxx:xxxx::1/64
          routes:
            - to: ::/0
              via: fe80::1
              on-link: true
    

    You need to adjust the following:

    • macaddress: set to the MAC address of the main network interface; you can see with ip link command.
    • addresses: set to an address in your assigned IPv6 subnet.
  • I have tried all solutions in that discussion, but they all failed. The previous IPv6 configuration method may have become obsolete, and it is no longer applicable to VPS on hosthatch.

  • @yoursunny said:
    We use netplan.io to configure networking.
    Here's our /etc/netplan/01-netcfg.yaml file working for HostHatch in Sydney.

    network:
      version: 2
      ethernets:
        lo:
          nameservers:
            addresses:
              - 1.1.1.1
              - 2606:4700:4700::1111
              - 8.8.8.8
        uplink:
          match:
            macaddress: 00:20:e0:18:d3:2c
          set-name: uplink
          dhcp4: true
          dhcp6: false
          link-local: []
          addresses:
            - 2406:ef80:xxxx:xxxx::1/64
          routes:
            - to: ::/0
              via: fe80::1
              on-link: true
    

    You need to adjust the following:

    • macaddress: set to the MAC address of the main network interface; you can see with ip link command.
    • addresses: set to an address in your assigned IPv6 subnet.

    Here’s the output of “ip link”:
    root@www:~# ip link
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether 00:20:e0:18:d3:2c brd ff:ff:ff:ff:ff:ff
    altname enp1s0

    And the ipv6 address is already in my assigned IPv6 subnet.
    Could you give me more suggestions?

  • ZreindZreind Member

    @yoursunny said:
    We use netplan.io to configure networking.
    Here's our /etc/netplan/01-netcfg.yaml file working for HostHatch in Sydney.

    network:
      version: 2
      ethernets:
        lo:
          nameservers:
            addresses:
              - 1.1.1.1
              - 2606:4700:4700::1111
              - 8.8.8.8
        uplink:
          match:
            macaddress: 00:20:e0:18:d3:2c
          set-name: uplink
          dhcp4: true
          dhcp6: false
          link-local: []
          addresses:
            - 2406:ef80:xxxx:xxxx::1/64
          routes:
            - to: ::/0
              via: fe80::1
              on-link: true
    

    You need to adjust the following:

    • macaddress: set to the MAC address of the main network interface; you can see with ip link command.
    • addresses: set to an address in your assigned IPv6 subnet.

    Mentally strong people use ifupdown rather than the poor netplan.

  • tentortentor Member, Patron Provider

    @Zreind said: Mentally strong people use ifupdown rather than the poor netplan.

    Comparing to netifrc it is ifupdown the poor one.

  • ZreindZreind Member

    @tentor said:

    @Zreind said: Mentally strong people use ifupdown rather than the poor netplan.

    Comparing to netifrc it is ifupdown the poor one.

    netirc is about existential problems, how about giving me a chance to test your netirc with your vpses for one day :smiley:

  • tentortentor Member, Patron Provider

    @Zreind said:

    @tentor said:

    @Zreind said: Mentally strong people use ifupdown rather than the poor netplan.

    Comparing to netifrc it is ifupdown the poor one.

    netirc is about existential problems, how about giving me a chance to test your netirc with your vpses for one day :smiley:

    Will IPv6 only VPS quench your curiosity?

  • ZreindZreind Member

    @tentor said:

    @Zreind said:

    @tentor said:

    @Zreind said: Mentally strong people use ifupdown rather than the poor netplan.

    Comparing to netifrc it is ifupdown the poor one.

    netirc is about existential problems, how about giving me a chance to test your netirc with your vpses for one day :smiley:

    Will IPv6 only VPS quench your curiosity?

    I will cover the additional ipv4 fee :smile:

  • tentortentor Member, Patron Provider

    @Zreind said:

    @tentor said:

    @Zreind said:

    @tentor said:

    @Zreind said: Mentally strong people use ifupdown rather than the poor netplan.

    Comparing to netifrc it is ifupdown the poor one.

    netirc is about existential problems, how about giving me a chance to test your netirc with your vpses for one day :smiley:

    Will IPv6 only VPS quench your curiosity?

    I will cover the additional ipv4 fee :smile:

    DMed

  • MumblyMumbly Member
    edited March 14

    In my recent two cases (new IPv6 subnets in Austria and Sweden) I needed to contact Hosthatch to enable something on their end in order to my IPv6 subnet work. My setup was correct.
    It took some week or so for them to respond in each case.

    Thanked by 2cybervir yoursunny
Sign In or Register to comment.