Editing VEs and HNs in same subnets
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 6: | Line 6: | ||
==Configure host bridge interfaces== | ==Configure host bridge interfaces== | ||
− | |||
− | |||
− | |||
1. (Optional) Verify that you can create a bridge interfaces for each physical interface on the host. | 1. (Optional) Verify that you can create a bridge interfaces for each physical interface on the host. | ||
Line 16: | Line 13: | ||
If the above commands do not work you may need to install the bridge-utils package. | If the above commands do not work you may need to install the bridge-utils package. | ||
− | 2. Make note of the existing IP configuration in the hosts ifcfg-ethN files. | + | 2. Make note of the existing IP configuration in the hosts ifcfg-ethN files. Then, modify the ifcfg-ethN files on the host so that they ONLY bridge to the corresponding brN interface. /etc/sysconfig/network-scripts/ifcfg-eth0 should look like: |
− | |||
− | |||
− | |||
− | |||
− | Then, modify the ifcfg-ethN files on the host so that they ONLY bridge to the corresponding brN interface. /etc/sysconfig/network-scripts/ifcfg-eth0 should look like: | ||
DEVICE=eth0 | DEVICE=eth0 | ||
Line 45: | Line 37: | ||
ONBOOT=yes | ONBOOT=yes | ||
TYPE=Bridge | TYPE=Bridge | ||
− | |||
Similarly, ifcfg-br1 should look like: | Similarly, ifcfg-br1 should look like: | ||
Line 55: | Line 46: | ||
ONBOOT=yes | ONBOOT=yes | ||
TYPE=Bridge | TYPE=Bridge | ||
− | |||
− | |||
− | |||
− | + | Note that TYPE 'Bridge' is case-sensitive. | |
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. | ||
Line 124: | Line 112: | ||
NETMASK=yyy.yyy.yyy.yyy | NETMASK=yyy.yyy.yyy.yyy | ||
ONBOOT=yes | ONBOOT=yes | ||
− | |||
10. Initialize the interfaces and restart the network service on the container. | 10. Initialize the interfaces and restart the network service on the container. |