allow-hotplug eth1
iface eth1 inet dhcp
The second line instructs the interface to obtain an IP via DHCP. However, doing it would only wor
after I've called ifup eth1. So I added the first line, which would load the interface at boot tim
EDIT: full /etc/network/interfaces:
=======================
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
allow-hotplug eth1
iface eth1 inet dhcp
===========================
ليست هناك تعليقات:
إرسال تعليق