# Can I specify different interfaces for different servers in the same answer file? [closed]

I intend to install Juno on CentOS 7 using packstack. I see that CentOS 7 uses Consistent Network Device Naming, which is such a pain and a damn useless feature! I can reconfigure with ethX but I cannot specify on specific NICs. I'd like to do so so that I can use an answer file during installation.

Has anyone worked around such this issue or can I specify different interfaces for different servers in the same answer file?

As it stands compute node 1 may have eth0 but compute node 3 may have eth3 etc.

edit retag reopen merge delete

### Closed for the following reason the question is answered, right answer was accepted by mickt close date 2014-11-12 02:35:16.888902

Sort by » oldest newest most voted

Packstack requires that interface names be consistent across all your systems. The assumption (and recommendation!) is that you are installing onto a set of identical systems.

Has anyone worked around such this issue or can I specify different interfaces for different servers in the same answer file?

One way to work around this issue is to (ab)use the bonding driver by creating single-device bonds. That is, if you want eth0 on one compute node to be used for tenant networking but you want to use eth3 on another for that purpose, you can create a device bond0 on boths systems. Assign eth0 to bond0 on the first host and eth3 to bond0 on the second, and then specify bond0 as CONFIG_NEUTRON_OVS_TUNNEL_IF in your packstack answers file.

You can also use bridge devices for this purpose, at least for overlay (GRE/VXLAN) tenant networks.

more

I think that's a damn good idea! Thanks.

( 2014-11-12 02:31:31 -0600 )edit

# Get to know Ask OpenStack

Resources for moderators