xuanyuanaosheng commented on issue #7638:
URL: https://github.com/apache/cloudstack/issues/7638#issuecomment-1600064945

   3.  Question:  How to configiure  the cloudstack agent node's Network 
Section to use VLAN using bond on Centos 8 or Oracle 8?
        Answer:
         
       eno1 + eno2 = bond0 --> bond0.2128 --> cloudbr0 (Bridge)   
       eno3 + eno4 = bond1 --> cloudbr1 (Bridge) 
     
       **cloudstack Physical network --> Traffic types**  
       -  Management: cloudbr0
       -  Public:  cloudbr0
       -  Storage:  cloudbr0
       -  Guest: cloudbr1
   
   The detail config:
   ```
   # cat ifcfg-eno1
   TYPE=Ethernet
   BOOTPROTO=none
   NAME=bond0-slave
   MASTER=bond0
   UUID=0fca14ce-923c-44d4-bf16-2e3430022eae
   DEVICE=eno1
   ONBOOT=yes
   
   # cat ifcfg-eno2
   TYPE=Ethernet
   BOOTPROTO=none
   NAME=bond0-slave
   MASTER=bond0
   SLAVE=yes
   UUID=7a3702c4-2ea6-497b-af46-abfa42240e43
   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 
   DEVICE=bond0.2128
   NAME=bond0.2128
   ONBOOT=yes
   HOTPLUG=no
   BOOTPROTO=none
   VLAN=yes
   BRIDGE=cloudbr0
   
   # cat ifcfg-cloudbr0
   DEVICE=cloudbr0
   NAME=cloudbr0
   TYPE=Bridge
   ONBOOT=yes
   BOOTPROTO=none
   VLAN=yes
   IPADDR=10.67.128.1
   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=e35e68ed-ebee-48bf-87b7-cfa1bc832cc0
   DEVICE=eno3
   ONBOOT=yes
   
   
   # cat ifcfg-eno4
   TYPE=Ethernet
   BOOTPROTO=none
   NAME=bond1-slave
   MASTER=bond1
   SLAVE=yes
   UUID=09fbba74-f546-4156-9068-67fd95310866
   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
   TYPE=BRIDGE
   BOOTPROTO=none
   ONBOOT=yes
   DELAY=5
   STP=no
   
   ```
   


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