Editing VEs and HNs in same subnets

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 45: Line 45:
 
         ONBOOT=yes
 
         ONBOOT=yes
 
         TYPE=Bridge
 
         TYPE=Bridge
        MACADDR=mm:mm:mm:mm:mm:mm
 
  
 
Similarly, ifcfg-br1 should look like:
 
Similarly, ifcfg-br1 should look like:
Line 55: Line 54:
 
         ONBOOT=yes
 
         ONBOOT=yes
 
         TYPE=Bridge
 
         TYPE=Bridge
        MACADDR=nn:nn:nn:nn:nn:nn
 
  
 
Note that TYPE 'Bridge' is case-sensitive.  Otherwise, the bridge interfaces will not initialize correctly during boot.
 
Note that TYPE 'Bridge' is case-sensitive.  Otherwise, the bridge interfaces will not initialize correctly during boot.
 
The bridge MACADDR should be hard-coded to match the corresponding hardware MAC address of the ethernet interface.  Otherwise the default behaviour is to use the lowest MAC address of all the interfaces in the bridge.  This is to prevent the bridge MAC and any auto-configured IPv6 address on the bridge interface from changing as VEs are created, started, or stopped.
 
  
 
4.  On the host, do a 'service network restart' and verify the host has both IPv4 and IPv6 connectivity to its brN interfaces.
 
4.  On the host, do a 'service network restart' and verify the host has both IPv4 and IPv6 connectivity to its brN interfaces.

Please note that all contributions to OpenVZ Virtuozzo Containers Wiki may be edited, altered, or removed by other contributors. If you don't want your writing to be edited mercilessly, then don't submit it here.
If you are going to add external links to an article, read the External links policy first!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)