xuanyuanaosheng commented on issue #7838:
URL: https://github.com/apache/cloudstack/issues/7838#issuecomment-1702209516
> Linux native VXLAN uses multicast by default. You need to have an IP
address on each of your host VXLAN subinterfaces that is within the same
network.
@kiwiflyer Yes, I have config the IP address on host VXLAN subinterfaces
using cloudbr1:
- The hosts network config:
```
|---------------- cloudbr0: 10.26.128.22 ( VLAN 2128)
kvm001 ------
|---------------- cloudbr1: 10.71.231.42 ( VLAN 2230)
|---------------- cloudbr0: 10.26.128.23 ( VLAN 2128)
kvm002 ------
|---------------- cloudbr1: 10.71.231.43 ( VLAN 2230)
|---------------- cloudbr0: 10.26.128.25 ( VLAN 2128)
kvm003 ------
|---------------- cloudbr1: 10.71.231.41 ( VLAN 2230)
```
Using kvm003 as an example, the host network config,:
```
# cat ifcfg-eno49
TYPE=Ethernet
BOOTPROTO=none
NAME=eno49
UUID=0650d63c-0244-4852-b0aa-ca5d8a64d8cb
DEVICE=eno49
ONBOOT=yes
# cat ifcfg-eno49.2128
NAME=eno49.2128
DEVICE=eno49.2128
ONBOOT=yes
HOTPLUG=no
BOOTPROTO=none
VLAN=yes
BRIDGE=cloudbr0
# cat ifcfg-cloudbr0
NAME=cloudbr0
DEVICE=cloudbr0
TYPE=Bridge
BOOTPROTO=none
ONBOOT=yes
IPADDR=10.26.128.25
GATEWAY=10.26.128.254
NETMASK=255.255.255.0
HOTPLUG=no
DELAY=5
STP=no
-------------------------------------------------------------------------------------
# cat ifcfg-eno50
TYPE=Ethernet
BOOTPROTO=none
NAME=eno50
UUID=46da1a8f-615e-4649-be64-fc8e1c7dd264
DEVICE=eno50
ONBOOT=yes
# cat ifcfg-eno50.2230
NAME=eno50.2230
DEVICE=eno50.2230
ONBOOT=yes
HOTPLUG=no
BOOTPROTO=none
VLAN=yes
BRIDGE=cloudbr1
# cat ifcfg-cloudbr1
NAME=cloudbr1
DEVICE=cloudbr1
TYPE=BRIDGE
ONBOOT=yes
BOOTPROTO=static
IPADDR=10.71.231.41
NETMASK=255.255.255.0
IPV6INIT=no
IPV6_AUTOCONF=no
HOTPLUG=no
DELAY=5
STP=no
```
The host can ping each other usinig cloudbr1. Is this network config is not
correct?
> Also, by default, Linux only configures enough IGMP memberships for 20
VXLAN networks.
>
> Run this - echo 100 >/proc/sys/net/ipv4/igmp_max_memberships
>
> You can make that change permanent by adding this to your sysctl.conf -
>
> net.ipv4.igmp_max_memberships = 100
@kiwiflyer This have been done.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]