Re: [Users] IPv6, openVZ7, CentOS7

2022-12-15 Thread Oleksiy Tkachenko
Yes, br0 contains main server`s IPv4.
So I perform tuning and now my IPv6 address pingable - but from this node
only (and not on CTs on this node).
This node CTs or other internet places - they do not see my IPv6.
Other 2 secondary IPv6 addresses not even pingable from node.

My steps:
# nano -w /etc/sysconfig/network-scripts/ifcfg-br0
IPV6INIT=yes
IPV6_AUTOCONF=no
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6ADDR=myIPv6IP_1
IPV6ADDR_SECONDARIES=myIPv6IP_2 myIPv6IP_3
IPV6_DEFAULTGW=myIPv6GW

# nano -w /etc/sysconfig/network
NETWORKING_IPV6=yes
IPV6FORWARDING=yes
IPV6_DEFAULTDEV=br0
IPV6_DEFAULTGW=myIPv6GW
IPV6_AUTOCONF=no

# echo "net.ipv6.conf.default.forwarding = 1" >> /etc/sysctl.conf
# echo "net.ipv6.conf.all.forwarding = 1" >> /etc/sysctl.conf
# echo "net.ipv6.conf.all.proxy_ndp = 1" >> /etc/sysctl.conf
# sysctl -p

# nano -w /etc/sysconfig/iptables-config
IP6TABLES_MODULES="ip6_tables ip6table_filter ip6table_mangle ip6t_REJECT
nf_conntrack_ipv6"

# reboot -n

чт, 15 груд. 2022 р. о 14:34 Arjit Chaudhary  пише:

> Hi,
> It could be in br0 if you are bridging enp3s0f0 and/or enp3s0f1
>
> Basically the interface which lists as UP and with the IPv4 information
> etc should be the right one in my experience.
>
> But do back-up original configuration files on the system, before editing
> just incase something goes wrong you can just copy them back and restart
> networking.
>
>
> On Thu, 15 Dec, 2022, 17:40 Oleksiy Tkachenko,  wrote:
>
>> I have many)
>> # ip a
>> 1: lo:
>> 2: enp3s0f0:
>> 3: enp3s0f1:
>> 4: enp0s20f0u9u2c2:
>> 5: br0:
>> 6: virbr0:
>> 7: virbr0-nic:
>> 8: venet0:
>> 9: host-routed:
>> 11: veth72240bcc@if3:
>> 12: veth720bed05@if3:
>> 13: veth7290a381@if3:
>> 16: veth721813e6@if3:
>> 17: veth720a338a@if3:
>> 24: veth729a3460@if3:
>> 25: veth720c6518@if3:
>> 26: veth721bbb55@if3:
>> 27: veth72705632@if3:
>> 28: veth72b28dcd@if3:
>>
>>
>> чт, 15 груд. 2022 р. о 13:52 Arjit Chaudhary  пише:
>>
>>> Is your interface name different by chance?
>>>
>>> Can you check,
>>>
>>> > ip a
>>>
>>> for the actual interface name and then update that interface
>>> configuration for the IPv6.
>>>
>>> On Thu, 15 Dec, 2022, 16:43 Oleksiy Tkachenko, 
>>> wrote:
>>>
 Thank you!
 During node preparation I need to update
 "/etc/sysconfig/network-scripts/ifcfg-ethX" - but there is no such file.
 I also need to put "eth0" in "/etc/sysconfig/network" file - is it
 actual now (when I have no ethX file)?

 I also need to "Add 'ipt_state' to IPTABLES and 'nf_conntrack_ipv6' to
 IP6TABLES" in "/etc/vz.conf" - there is no such file also.
 I have "/etc/vz/vz.conf" on my bare metal openvz7 but there is no
 "IPTABLES" or "IP6TABLES" mention at all.


 чт, 15 груд. 2022 р. о 02:03 Arjit Chaudhary  пише:

> (In my experience)
>
> Does the host-node have working IPv6 configured on it? If yes,
>
> Then you can just do,
>
> vzctl set  --ipadd  -- save
>
> and the container too will have working IPv6.
>
> If the host-node does not have working IPv6, then you can just
> configure any address of the IPv6 range on the host-node
>
>
> On Thu, Dec 15, 2022 at 4:15 AM UNLIM.SRV  wrote:
>
>> Trying to setup IPv6 for CentOS7 CT.
>> Seems original documentation outdated a bit (
>> https://wiki.openvz.org/IPv6).
>> Is there updated information?
>>
>> Thank you!
>>
>>
>> --
>> Oleksiy
>> ___
>> Users mailing list
>> Users@openvz.org
>> https://lists.openvz.org/mailman/listinfo/users
>>
>
>
> --
> Thanks,
> Arjit Chaudhary
> ___
> Users mailing list
> Users@openvz.org
> https://lists.openvz.org/mailman/listinfo/users
>
 ___
 Users mailing list
 Users@openvz.org
 https://lists.openvz.org/mailman/listinfo/users

>>> ___
>>> Users mailing list
>>> Users@openvz.org
>>> https://lists.openvz.org/mailman/listinfo/users
>>>
>> ___
>> Users mailing list
>> Users@openvz.org
>> https://lists.openvz.org/mailman/listinfo/users
>>
> ___
> Users mailing list
> Users@openvz.org
> https://lists.openvz.org/mailman/listinfo/users
>
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] IPv6, openVZ7, CentOS7

2022-12-15 Thread Arjit Chaudhary
Hi,
It could be in br0 if you are bridging enp3s0f0 and/or enp3s0f1

Basically the interface which lists as UP and with the IPv4 information etc
should be the right one in my experience.

But do back-up original configuration files on the system, before editing
just incase something goes wrong you can just copy them back and restart
networking.


On Thu, 15 Dec, 2022, 17:40 Oleksiy Tkachenko,  wrote:

> I have many)
> # ip a
> 1: lo:
> 2: enp3s0f0:
> 3: enp3s0f1:
> 4: enp0s20f0u9u2c2:
> 5: br0:
> 6: virbr0:
> 7: virbr0-nic:
> 8: venet0:
> 9: host-routed:
> 11: veth72240bcc@if3:
> 12: veth720bed05@if3:
> 13: veth7290a381@if3:
> 16: veth721813e6@if3:
> 17: veth720a338a@if3:
> 24: veth729a3460@if3:
> 25: veth720c6518@if3:
> 26: veth721bbb55@if3:
> 27: veth72705632@if3:
> 28: veth72b28dcd@if3:
>
>
> чт, 15 груд. 2022 р. о 13:52 Arjit Chaudhary  пише:
>
>> Is your interface name different by chance?
>>
>> Can you check,
>>
>> > ip a
>>
>> for the actual interface name and then update that interface
>> configuration for the IPv6.
>>
>> On Thu, 15 Dec, 2022, 16:43 Oleksiy Tkachenko, 
>> wrote:
>>
>>> Thank you!
>>> During node preparation I need to update
>>> "/etc/sysconfig/network-scripts/ifcfg-ethX" - but there is no such file.
>>> I also need to put "eth0" in "/etc/sysconfig/network" file - is it
>>> actual now (when I have no ethX file)?
>>>
>>> I also need to "Add 'ipt_state' to IPTABLES and 'nf_conntrack_ipv6' to
>>> IP6TABLES" in "/etc/vz.conf" - there is no such file also.
>>> I have "/etc/vz/vz.conf" on my bare metal openvz7 but there is no
>>> "IPTABLES" or "IP6TABLES" mention at all.
>>>
>>>
>>> чт, 15 груд. 2022 р. о 02:03 Arjit Chaudhary  пише:
>>>
 (In my experience)

 Does the host-node have working IPv6 configured on it? If yes,

 Then you can just do,

 vzctl set  --ipadd  -- save

 and the container too will have working IPv6.

 If the host-node does not have working IPv6, then you can just
 configure any address of the IPv6 range on the host-node


 On Thu, Dec 15, 2022 at 4:15 AM UNLIM.SRV  wrote:

> Trying to setup IPv6 for CentOS7 CT.
> Seems original documentation outdated a bit (
> https://wiki.openvz.org/IPv6).
> Is there updated information?
>
> Thank you!
>
>
> --
> Oleksiy
> ___
> Users mailing list
> Users@openvz.org
> https://lists.openvz.org/mailman/listinfo/users
>


 --
 Thanks,
 Arjit Chaudhary
 ___
 Users mailing list
 Users@openvz.org
 https://lists.openvz.org/mailman/listinfo/users

>>> ___
>>> Users mailing list
>>> Users@openvz.org
>>> https://lists.openvz.org/mailman/listinfo/users
>>>
>> ___
>> Users mailing list
>> Users@openvz.org
>> https://lists.openvz.org/mailman/listinfo/users
>>
> ___
> Users mailing list
> Users@openvz.org
> https://lists.openvz.org/mailman/listinfo/users
>
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] IPv6, openVZ7, CentOS7

2022-12-15 Thread Oleksiy Tkachenko
I have many)
# ip a
1: lo:
2: enp3s0f0:
3: enp3s0f1:
4: enp0s20f0u9u2c2:
5: br0:
6: virbr0:
7: virbr0-nic:
8: venet0:
9: host-routed:
11: veth72240bcc@if3:
12: veth720bed05@if3:
13: veth7290a381@if3:
16: veth721813e6@if3:
17: veth720a338a@if3:
24: veth729a3460@if3:
25: veth720c6518@if3:
26: veth721bbb55@if3:
27: veth72705632@if3:
28: veth72b28dcd@if3:


чт, 15 груд. 2022 р. о 13:52 Arjit Chaudhary  пише:

> Is your interface name different by chance?
>
> Can you check,
>
> > ip a
>
> for the actual interface name and then update that interface configuration
> for the IPv6.
>
> On Thu, 15 Dec, 2022, 16:43 Oleksiy Tkachenko,  wrote:
>
>> Thank you!
>> During node preparation I need to update
>> "/etc/sysconfig/network-scripts/ifcfg-ethX" - but there is no such file.
>> I also need to put "eth0" in "/etc/sysconfig/network" file - is it actual
>> now (when I have no ethX file)?
>>
>> I also need to "Add 'ipt_state' to IPTABLES and 'nf_conntrack_ipv6' to
>> IP6TABLES" in "/etc/vz.conf" - there is no such file also.
>> I have "/etc/vz/vz.conf" on my bare metal openvz7 but there is no
>> "IPTABLES" or "IP6TABLES" mention at all.
>>
>>
>> чт, 15 груд. 2022 р. о 02:03 Arjit Chaudhary  пише:
>>
>>> (In my experience)
>>>
>>> Does the host-node have working IPv6 configured on it? If yes,
>>>
>>> Then you can just do,
>>>
>>> vzctl set  --ipadd  -- save
>>>
>>> and the container too will have working IPv6.
>>>
>>> If the host-node does not have working IPv6, then you can just configure
>>> any address of the IPv6 range on the host-node
>>>
>>>
>>> On Thu, Dec 15, 2022 at 4:15 AM UNLIM.SRV  wrote:
>>>
 Trying to setup IPv6 for CentOS7 CT.
 Seems original documentation outdated a bit (
 https://wiki.openvz.org/IPv6).
 Is there updated information?

 Thank you!


 --
 Oleksiy
 ___
 Users mailing list
 Users@openvz.org
 https://lists.openvz.org/mailman/listinfo/users

>>>
>>>
>>> --
>>> Thanks,
>>> Arjit Chaudhary
>>> ___
>>> Users mailing list
>>> Users@openvz.org
>>> https://lists.openvz.org/mailman/listinfo/users
>>>
>> ___
>> Users mailing list
>> Users@openvz.org
>> https://lists.openvz.org/mailman/listinfo/users
>>
> ___
> Users mailing list
> Users@openvz.org
> https://lists.openvz.org/mailman/listinfo/users
>
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] IPv6, openVZ7, CentOS7

2022-12-15 Thread Arjit Chaudhary
Is your interface name different by chance?

Can you check,

> ip a

for the actual interface name and then update that interface configuration
for the IPv6.

On Thu, 15 Dec, 2022, 16:43 Oleksiy Tkachenko,  wrote:

> Thank you!
> During node preparation I need to update
> "/etc/sysconfig/network-scripts/ifcfg-ethX" - but there is no such file.
> I also need to put "eth0" in "/etc/sysconfig/network" file - is it actual
> now (when I have no ethX file)?
>
> I also need to "Add 'ipt_state' to IPTABLES and 'nf_conntrack_ipv6' to
> IP6TABLES" in "/etc/vz.conf" - there is no such file also.
> I have "/etc/vz/vz.conf" on my bare metal openvz7 but there is no
> "IPTABLES" or "IP6TABLES" mention at all.
>
>
> чт, 15 груд. 2022 р. о 02:03 Arjit Chaudhary  пише:
>
>> (In my experience)
>>
>> Does the host-node have working IPv6 configured on it? If yes,
>>
>> Then you can just do,
>>
>> vzctl set  --ipadd  -- save
>>
>> and the container too will have working IPv6.
>>
>> If the host-node does not have working IPv6, then you can just configure
>> any address of the IPv6 range on the host-node
>>
>>
>> On Thu, Dec 15, 2022 at 4:15 AM UNLIM.SRV  wrote:
>>
>>> Trying to setup IPv6 for CentOS7 CT.
>>> Seems original documentation outdated a bit (
>>> https://wiki.openvz.org/IPv6).
>>> Is there updated information?
>>>
>>> Thank you!
>>>
>>>
>>> --
>>> Oleksiy
>>> ___
>>> Users mailing list
>>> Users@openvz.org
>>> https://lists.openvz.org/mailman/listinfo/users
>>>
>>
>>
>> --
>> Thanks,
>> Arjit Chaudhary
>> ___
>> Users mailing list
>> Users@openvz.org
>> https://lists.openvz.org/mailman/listinfo/users
>>
> ___
> Users mailing list
> Users@openvz.org
> https://lists.openvz.org/mailman/listinfo/users
>
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] IPv6, openVZ7, CentOS7

2022-12-15 Thread Oleksiy Tkachenko
Thank you!
During node preparation I need to update
"/etc/sysconfig/network-scripts/ifcfg-ethX" - but there is no such file.
I also need to put "eth0" in "/etc/sysconfig/network" file - is it actual
now (when I have no ethX file)?

I also need to "Add 'ipt_state' to IPTABLES and 'nf_conntrack_ipv6' to
IP6TABLES" in "/etc/vz.conf" - there is no such file also.
I have "/etc/vz/vz.conf" on my bare metal openvz7 but there is no
"IPTABLES" or "IP6TABLES" mention at all.


чт, 15 груд. 2022 р. о 02:03 Arjit Chaudhary  пише:

> (In my experience)
>
> Does the host-node have working IPv6 configured on it? If yes,
>
> Then you can just do,
>
> vzctl set  --ipadd  -- save
>
> and the container too will have working IPv6.
>
> If the host-node does not have working IPv6, then you can just configure
> any address of the IPv6 range on the host-node
>
>
> On Thu, Dec 15, 2022 at 4:15 AM UNLIM.SRV  wrote:
>
>> Trying to setup IPv6 for CentOS7 CT.
>> Seems original documentation outdated a bit (https://wiki.openvz.org/IPv6
>> ).
>> Is there updated information?
>>
>> Thank you!
>>
>>
>> --
>> Oleksiy
>> ___
>> Users mailing list
>> Users@openvz.org
>> https://lists.openvz.org/mailman/listinfo/users
>>
>
>
> --
> Thanks,
> Arjit Chaudhary
> ___
> Users mailing list
> Users@openvz.org
> https://lists.openvz.org/mailman/listinfo/users
>
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] IPv6, openVZ7, CentOS7

2022-12-14 Thread Arjit Chaudhary
(In my experience)

Does the host-node have working IPv6 configured on it? If yes,

Then you can just do,

vzctl set  --ipadd  -- save

and the container too will have working IPv6.

If the host-node does not have working IPv6, then you can just configure
any address of the IPv6 range on the host-node


On Thu, Dec 15, 2022 at 4:15 AM UNLIM.SRV  wrote:

> Trying to setup IPv6 for CentOS7 CT.
> Seems original documentation outdated a bit (https://wiki.openvz.org/IPv6
> ).
> Is there updated information?
>
> Thank you!
>
>
> --
> Oleksiy
> ___
> Users mailing list
> Users@openvz.org
> https://lists.openvz.org/mailman/listinfo/users
>


-- 
Thanks,
Arjit Chaudhary
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users