Question: I have configured a static IP on my PI 3 adding this in `dhcpcd.conf` :

```
static ip_address=192.168.1.200/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1

```

It works well when it is plugged in my home router. But if I unplug the Ethernet cable, then there is no IP assigned anymore when I check with `ifconfig`. Is it normal? Can I have a static IP assigned even when there is no cable plugged?

I have also set the embeded wifi interface as a WIFI hotspot following [this tutorial](https://www.raspberrypi.org/documentation/configuration/wireless/access-point.md): 

Maybe it could explain this behavior.

Answer: 
The IP address is associated with the Ethernet port. So if there is nothing connected it doesn't need an address. Once You plug the cable back in, the same address will be used again. If you want the Wifi to have a static IP address (which I assume it does if it is set up as an access point) Then that is configured separately. Each interface has its own address.
I have the same situation you have. Sometimes eth0 cable is unplugged, but I managed to set static ip address. You need to edit `/etc/network/interfaces` file as follows:

> 
> auto eth0
> 
> 
> iface eth0 inet static
> 
> 
> address 192.168.1.40
> 
> 
> netmask 255.255.255.0
> 
> 
> gateway 192.168.1.1
> 
> 
> dns-nameservers 8.8.8.8
> 
> 
>