That makes sense thanks @Patrick.
I’m trying this all on Nougat x86 if it helps. Still no success however I did try with DHCP and record the settings which it showed:
I tried to configure with ndc after setting the ip and mask like:
ip addr add 10.152.152.12/18 dev eth0
ifconfig eth0 down
ndc network create 10
ndc network interface add 10 eth0
ndc network route add 10 eth0 0.0.0.0/0 10.152.152.10
However that last command results in a network unreachable error. I tried after putting eth0 up too and it failed.
I have not succeeded in getting anything to work in Chrome, apart from when using DHCP.
I have noted that
ip addr add... seems to be the right way to set IP in Nougat, with the previous attempts with
ifconfig eth0 [IP]... not being reflected in the output of either