Network interface in Linux without IP address

To raise the network interface in Linux without an IP address, simply run the command:

ip link set eth1 up

If it is necessary for the network interface to be raised automatically at system startup, then in /etc/network/interfaces, for example:

auto eth1
iface eth1 inet manual
up ifconfig eth1 0.0.0.0 up
down ifcofnig eth1 down

See also my articles:
How to configure networking with Netplan
VLAN Generation Script for Netplan
Configuring the Network in Linux

Leave a comment

Leave a Reply