Re: stretch and DNS name resolution service for other devices on a LAN
- To: debian-user@lists.debian.org
- Subject: Re: stretch and DNS name resolution service for other devices on a LAN
- From: Pascal Hambourg <pascal@plouf.fr.eu.org>
- Date: Fri, 2 Mar 2018 23:56:02 +0100
- Message-id: <[🔎] 54ebf828-b7b2-be61-d63d-a7eb081fcaf0@plouf.fr.eu.org>
- In-reply-to: <20180228201304.GA31853@alum>
- References: <20180123144327.GA6815@alum> <slrnp6enb9.3mb.andy@xcp-mailnews.gently.org.uk> <20180123170858.GB6815@alum> <d4a60eec-5af0-749b-daa0-a2959bb2f383@plouf.fr.eu.org> <20180222215708.GC12408@alum> <b4f154c7-6d6b-c40e-7ea3-a8d1a0b72178@plouf.fr.eu.org> <20180225173514.GA12981@alum> <c5063b67-d81e-fbeb-be80-16fc24afe07c@plouf.fr.eu.org> <20180228171400.GA29833@alum> <8fec9a1b-0e31-1e3b-6ba8-9e9a5eed6331@plouf.fr.eu.org> <20180228201304.GA31853@alum>
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: