How to determine NIC ports name (nic configuration file) in blade server

asked 2020-07-13 23:47:41 -0500

anonymous user


Hi Team, I'm planning to deploy openstack over a blade server. The blade server have switch ports that connected to tor switch. My questions is how do openstack detect which port on the server switch is belongs to which server. I have read openstack network configuration and seems from the configuration file the nic name is enter for example as p1p1 or p2p1 (slot2 port1)... I couldn't understand how they get the name like that...i have check on my server it didn't show something like that (p1p1/p2p1) for the nic/port name... I'm not sure the exact name that i should enter in the nic configuration file I'm stuck right now... Please advise me. Thank you for helping.

members: - type: linux_bond name: bond_tenant ====>how to get bond name, can put any name??? bonding_options: "mode=802.3ad updelay=1000 miimon=100" use_dhcp: false dns_servers: get_param: DnsServers members: - type: interface name: p1p1 ====>how to get interface name, can put any name??? or have to follow specif name? primary: true - type: interface name: p1p2

edit retag flag offensive close merge delete


Which documentation did you read? Please be aware that the instructions on don't know your particular interface names. You have to replace the examples in the documentation with the names on your servers.

Bernd Bausch gravatar imageBernd Bausch ( 2020-07-14 01:21:01 -0500 )edit

Hi sir..I'm referring to openstack/rh.... before this I use rack mount server and the nic interface in config file is name example p1p1 (in management view slot1port1) but now for blade show interface1, interface2 .... so I'm not sure what correct name should I use? Any example pls. Thank

dz gravatar imagedz ( 2020-07-14 02:08:45 -0500 )edit

Can I get the each interface name from ifconfig? and use the name I got for config file for my overcloud...? Is this the correct way...?

dz gravatar imagedz ( 2020-07-14 02:30:02 -0500 )edit

it would help me help you if you told me which web page or other source refers to p1p1.

Yes you can list your server's (not the switch's) ports with ifconfig, although this tool is often not installed. Better use ip a.

I strongly recommend learning Linux networking before installing OpenStack.

Bernd Bausch gravatar imageBernd Bausch ( 2020-07-14 02:35:03 -0500 )edit

hi...ok...pls check link below...thanks ( (

dz gravatar imagedz ( 2020-07-14 02:42:51 -0500 )edit