xuanyuanaosheng opened a new issue, #7660:
URL: https://github.com/apache/cloudstack/issues/7660

   ##### ISSUE TYPE
   
    * Documentation Report
   
   ##### COMPONENT NAME
   - VXLAN
   
   ##### CLOUDSTACK VERSION
   
   - cloudstack management node:
   ```
   cloudstack-common-4.17.2.0-1.el7.x86_64
   cloudstack-management-4.17.2.0-1.el7.x86_64
   ```
   - cloudstack agent node:
   ```
   cloudstack-agent-4.17.2.0-shapeblue0.el8.x86_64
   cloudstack-common-4.17.2.0-shapeblue0.el8.x86_64
   ```
   
   
   ##### OS / ENVIRONMENT
   - Oracle Linux Server 8.8
   
   ##### SUMMARY
   The cloudstack-management node IP is: **_10.25.2.173_**
   The cloudstack-agent node IP is: **_10.67.128.5_**
   
   ##### STEPS TO REPRODUCE
   - Install the cloudstack agent like : 
https://www.sbarjatiya.com/notes_wiki/index.php/CentOS_8.x_Cloudstack_4.15_Setup_KVM_host
   - check the agent node status using: 
http://docs.cloudstack.apache.org/en/latest/plugins/vxlan.html
   ```
   # modprobe vxlan && echo $?
   0
   
   # ip link add type vxlan help
   Usage: ... vxlan id VNI
                [ { group | remote } IP_ADDRESS ]
                [ local ADDR ]
                [ ttl TTL ]
                [ tos TOS ]
                [ df DF ]
                [ flowlabel LABEL ]
                [ dev PHYS_DEV ]
                [ dstport PORT ]
                [ srcport MIN MAX ]
                [ [no]learning ]
                [ [no]proxy ]
                [ [no]rsc ]
                [ [no]l2miss ]
                [ [no]l3miss ]
                [ ageing SECONDS ]
                [ maxaddress NUMBER ]
                [ [no]udpcsum ]
                [ [no]udp6zerocsumtx ]
                [ [no]udp6zerocsumrx ]
                [ [no]remcsumtx ] [ [no]remcsumrx ]
                [ [no]external ] [ gbp ] [ gpe ]
   
   Where:       VNI     := 0-16777215
        ADDR    := { IP_ADDRESS | any }
        TOS     := { NUMBER | inherit }
        TTL     := { 1..255 | auto | inherit }
        DF      := { unset | set | inherit }
        LABEL := 0-1048575
   
   ```
   
   - config the Network in: _/etc/sysconfig/network-scripts/_
   ```
   # cat ifcfg-eno1
   TYPE=Ethernet
   BOOTPROTO=none
   NAME=bond0-slave
   MASTER=bond0
   DEVICE=eno1
   UUID=dab8ef63-1f48-4d16-b1b8-6c7d3b13e525
   ONBOOT=yes
   
   # cat ifcfg-eno2
   TYPE=Ethernet
   BOOTPROTO=none
   NAME=bond0-slave
   MASTER=bond0
   SLAVE=yes
   UUID=b320bdd7-5cfa-4d21-88c0-caace42cd550
   DEVICE=eno2
   ONBOOT=yes
   
   # cat ifcfg-bond0
   TYPE=Bond
   DEVICE=bond0
   NAME=bond0
   BONDING_MASTER=yes
   BOOTPROTO=none
   ONBOOT=yes
   HOTPLUG=no
   BONDING_OPTS="mode=1 miimon=100"
   
   # cat ifcfg-bond0.2128 
   BOOTPROTO=none
   NAME=bond0.2128
   DEVICE=bond0.2128
   ONBOOT=yes
   HOTPLUG=no
   VLAN=yes
   BRIDGE=cloudbr0
   
   # cat ifcfg-cloudbr0
   NAME=cloudbr0
   DEVICE=cloudbr0
   TYPE=Bridge
   ONBOOT=yes
   BOOTPROTO=none
   VLAN=yes
   IPADDR=10.67.128.5
   GATEWAY=10.67.128.254
   NETMASK=255.255.255.0
   DELAY=5
   STP=no
   
   
   
-------------------------------------------------------------------------------------------------------
   # cat ifcfg-eno3
   TYPE=Ethernet
   BOOTPROTO=none
   NAME=bond1-slave
   MASTER=bond1
   SLAVE=yes
   UUID=9f6ab016-5154-484c-914d-3667d19d344a
   DEVICE=eno3
   ONBOOT=yes
   
   # cat ifcfg-eno4
   TYPE=Ethernet
   BOOTPROTO=none
   NAME=bond1-slave
   MASTER=bond1
   SLAVE=yes
   UUID=d09dbda3-d9e0-4c27-a1c5-fe269a774657
   DEVICE=eno4
   ONBOOT=yes
   
   # cat ifcfg-bond1
   TYPE=Bond
   DEVICE=bond1
   NAME=bond1
   BONDING_MASTER=yes
   BOOTPROTO=none
   ONBOOT=yes
   HOTPLUG=no
   BRIDGE=cloudbr1
   BONDING_OPTS="mode=1 miimon=100"
   
   # cat ifcfg-cloudbr1
   DEVICE=cloudbr1
   NAME=cloudbr1
   ONBOOT=yes
   TYPE=BRIDGE
   BOOTPROTO=static
   IPADDR=10.67.128.201
   NETMASK=255.255.255.0
   IPV6INIT=no
   IPV6_AUTOCONF=no
   DELAY=5
   STP=no
   
   ```
   
   - config the 
   ```
   # iptables -I INPUT -p udp -m udp --dport 8472 -j ACCEPT
   
   #  iptables-save > /etc/sysconfig/iptables
   ```
   


-- 
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]

Reply via email to