Configure the provider interface
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