Am 29.07.2023 20:04 schrieb Chris Bennett:
inet 103.103.103.168/29
That's wrong, you put the "first" IP-address you want to use/have on em1. So that would be ....170/29 (168 is this network's BSD-broadcast or "net address")
/etc/mygate is 103.103.103.169
Cannot forsee what your ISP provides as the gateway, but likely that's correct. All names (hosts,myname) is not directly relevant to IP networking. Do not put names in mygate (just a sidenote).
ifconfig gave 103.103.103.168 as the IP address route -n show gave 103.103.103.168 as the gateway.
Likely a config from the errornous hostname.if entry, see above.
I did not change or remove what's in /etc/hostname which is at 103.103.103.170. Does that matter?
hosts I assume? That might be relevant to apache, but not the networking (reachability) itself. -- pb