[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: stretch and DNS name resolution service for other devices on a LAN



Le 28/02/2018 à 21:13, David Wright a écrit :
#
# /etc/interfaces.d/directcable for west 2018-02-25

auto eth0
iface eth0 inet static
   address 192.168.2.15/24

Fine. You could also add "allow-hotplug eth0" in case eth0 would be
discovered late.

OK. Tried that here. The   ip a   is before and after connecting the cable.
(...)
allow-hotplug eth0
iface eth0 inet static
   address 192.168.2.15/24

Note : I wrote "also", not "instead".

2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
     link/ether 00:1c:23:3b:9f:34 brd ff:ff:ff:ff:ff:ff
     inet6 fe80::21c:23ff:fe3b:9f34/64 scope link
        valid_lft forever preferred_lft forever

Something went wrong. eth0 is up but the IPv4 address defined in /etc/interfaces.d/directcable is not configured.

Could you post the output of

ifdown -v eth0
ifup -v eth0


Reply to: