Ask Your Question
0

Configure the provider interface

asked 2018-11-14 02:59:31 -0600

najeh gravatar image

updated 2018-11-14 03:03:40 -0600

i need to setup/configure the provider interface can i choose any name for the provider without an ip address ? how can configure the /etc/network/interfaces file ? is it possible to have the same management_interface and provider_interface (enp5s0) ?

This is my /etc/network/interfaces:

interfaces(5) file used by ifup(8) and ifdown(8)

auto lo iface lo inet loopback

Management network from dhcp

auto enp5s0 iface enp5s0 inet dhcp

Provider interface

auto enp8s0 iface enp8s0 inet manual up ip link set dev $IFACE up down ip link set dev $IFACE down

This is the result of the ifconfig command:

enp5s0: flags=4163<up,broadcast,running,multicast> mtu 1500 inet x.x.x.x netmask 255.255.255.0 broadcast x.x.x.x inet6 fe80::fb05:3f49:f7be:fc61 prefixlen 64 scopeid 0x20<link> ether 70:85:c2:74:b6:fa txqueuelen 1000 (Ethernet) RX packets 12832 bytes 1660245 (1.6 MB) RX errors 0 dropped 60 overruns 0 frame 0 TX packets 1535 bytes 180496 (180.4 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<up,loopback,running> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1000 (Local Loopback) RX packets 238052 bytes 33536338 (33.5 MB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 238052 bytes 33536338 (33.5 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2018-11-14 03:21:21 -0600

novainfinite gravatar image

you can not have same interface for management and provider .because provider give vm internet and management give host internet so you can not have one interface

edit flag offensive delete link more

Comments

from where can i find the provider interface name ?

najeh gravatar imagenajeh ( 2018-11-14 03:26:17 -0600 )edit

it is arbitrary. one of your interface should be provider.

novainfinite gravatar imagenovainfinite ( 2018-11-14 04:04:05 -0600 )edit
1

ip link show showing yout all interface

novainfinite gravatar imagenovainfinite ( 2018-11-14 04:04:23 -0600 )edit

but i have just one interface like the ifconfig command show above which is the enp5s0 and i use it as the management interface for both controller and compute nodes

najeh gravatar imagenajeh ( 2018-11-14 04:05:42 -0600 )edit

there should be two interfaces one for management and one for provider
for that use VirtualBox or VMware , and create a VM and then give it two network interface from VirtualBox or VMware GUI. then on that VM you have two interfaces, choose one of them for management and the other for provider

esxzawq gravatar imageesxzawq ( 2018-11-14 04:43:42 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2018-11-14 02:59:31 -0600

Seen: 64 times

Last updated: Nov 14