Assign IPV6 to Ubuntu
Trying config ipv6 without success
No networkmanager in ubuntu
when try config for ipv6 /etc/netplan/01-netcfg.yaml
Server eth connection missing and need a rescue reboot to roll back network config and access to server
Can someone help with this?
Thank You
-
Not working. Before config ipv6 in whm with docs from cpanel... assign reserved, etc etc Ping ipv6.google.com get "Network is unreachable" After config same. No ipv6 at all. In my local servers without cpanel, have networkmanager or netplan and no problem with ipv6. After install network-manager in cpanel server, no data in nmtui For now i give up, work only with ipv4, crash one time and takes severall hours to roll back. 0 -
Thanks for the additional details. It sounds like that particular host didn't assign an IPv6 address to the server, or there is possibly not an IPv6 connection at all if you're not able to ping outbound over that network connection. Does the "ip a" command show there is an IPv6 address assigned? Here's an example of what that looks like on a machine that primarily uses IPv4: [root@host public_html]# ip a 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 1500 qdisc mq state UP group default qlen 1000 link/ether f2:3c:93:08:fb:31 brd ff:ff:ff:ff:ff:ff inet 1.2.3.4/24 brd 1.2.3.4 scope global dynamic eth0 valid_lft 83559sec preferred_lft 83559sec inet6 1:2:3:4:5:6/64 scope global dynamic mngtmpaddr valid_lft 60sec preferred_lft 20sec inet6 1:2:3:4:5:6/64 scope link valid_lft forever preferred_lft forever
0 -
ip a root@srv:~# ip a 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: enp27s0: mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether xxx:xxxx:63:4e:17 brd ff:ff:ff:ff:ff:ff inet XXX.XXX.XXX.46/32 scope global enp27s0 valid_lft forever preferred_lft forever inet6 fe80::XXXXX:XXXX:fe63:4e17/64 scope link valid_lft forever preferred_lft forever 0 -
That certainly looks like things should work. I'd recommend speaking with the host to see if they have any ideas on this particular issue - while cPanel does require that NetworkManager gets disabled, I don't expect it to break any IPv6 traffic, especially outbound. 0 -
I created a public cloud instance in OVH, Ubuntu 20.04, installed cPanel. Then copy-pasted IPv6 address from OVH control panel to WHM -> Basic WebHost Manager Setup & saved. After that IPv6 works in and out. @bitpt are you sure there is an IPv6 address bound to your server? 0 -
My test system was AlmaLinux 8 at Linode. 0 -
Let me see what host said about this... i'll reply ASAP Thanks for yours replies 0 -
1)Hosting Reply: -----------------start------------------ This server have ipv6 allocated?? Yes, this server have ipv6 allocated Here are the credentials for IPV6 : IP-Address: 2001:xxxx:xxxx:2c::/64 ,Gateway fe80::1/128 2) IPV6 range in manager IP are server IPV6? Yes, the information that you have in manager IP is for the IPV6 range in manager IP are server IPV6 -----------------------end---------------- 2) Cpanel Ubuntu 20.04 instalation: This is create by cpanel ubuntu clean install... /etc/netplan/01-whatever.yaml created in install network: version: 2 renderer: networkd ethernets: enp27s0: addresses: [ xxx.xxx.xxx.xxx/32 ] nameservers: search: [dedicated.server ] addresses: - "xx.xx.xx.xx" - "xx.xx.xx.xx" - "xx.xx.xx.xx" routes: - to: 0.0.0.0/0 via: xxx.xxx.xxx.xxx on-link: true After install no ipv6 ping for a external address, Follow procedures (centos)changes for ubuntu Adding an IPv4 or IPv6 address in Ubuntu 20.04 | TransIP ), configuring netplan, but i screwed everything up with a wrong configuration. The yaml file does not allow spaces, only tabs like python... (or whatever it is, I don't know well how to edit this type of files) Even with netplan try result ok... server lost all connections, no access only with rescue mode recover mistake. So, if there is no safe way to configure, i'll wait until there is a secure improvement. This machine is now in production and i don't have space at the moment to risk downtime. 0 -
Would it be possible to have your provider reach out to us if they aren't able to reproduce the issue in another Ubuntu system on their end? 0 -
Would it be possible to have your provider reach out to us if they aren't able to reproduce the issue in another Ubuntu system on their end?
i ask for a testing server for a few days...0 -
If you can get us root access to an affected system where we can recreate the issue, we'll be happy to check. 0 -
If you can get us root access to an affected system where we can recreate the issue, we'll be happy to check.
With hosting support help i solve this issue. 1) Like i test before but with bad editing, only need change e /etc/netpan/01-whatever.yaml file the original after cpanel ubuntu install is: /etc/netplan/01-whatever.yaml network: version: 2 renderer: networkd ethernets: enp27s0: addresses: [ xxx.xxx.xxx.xxx/32 ] nameservers: search: [dedicated.server ] addresses: - "xx.xx.xx.xx" - "xx.xx.xx.xx" - "xx.xx.xx.xx" routes: - to: 0.0.0.0/0 via: xxx.xxx.xxx.xxx on-link: true We need to change this file yaml IMPORTANT: ONLY SPACES NO TABS WHEN EDIT FILE create a backup and, when finish editing, test with netplan try before save, screw this file and loss server connect network: version: 2 renderer: networkd ethernets: enp27s0: addresses: [ xxx.xxx.xxx.xxx/32, ] gateway6: fe80:xxx::1 nameservers: search: [dedicated.server ] addresses: - "xx.xx.xx.xx" - "xx.xx.xx.xx" - "xx.xx.xx.xx" routes: - to: 0.0.0.0/0 via: xxx.xxx.xxx.xxx on-link: true Add ipv6 main server ip, and gateway 6. Now works fine, i ask for a test server for you, i'm waiting response Note: need spaces in this file, but when save here, lost it... let me try a image with ok config0 -
I'm glad the host was able to help get that working! 0 -
Correction, in addresses: "ipv6 server range" not "shared main cpanel ipv6 server" ex: 2001.xxx::1/64 (whatever range is alocate to server) nameservers addresses add 2011:4860:4860::8888 (google dns or other ipv6 global) 0
Please sign in to leave a comment.
Comments
15 comments