I’m guessing that you’re getting your DNS through DHCP, so you’ll need to set your DNS servers as well with your static IP. It’s likely the IP of your router (most likely 192.168.0.1 on a home network), but if the host is public, you can use 22.214.171.124 or 126.96.36.199.
I noticed that the search is missing. You might need to add the domain for your home network either as the search parameter or appending it to the hostname of the box you are trying to ping. The local domain should be configured by your router.
Also, the /32 cidr means it’s only talking to its own IP. Try changing this up to /16 (or /24 if you’re sure everything is at 192.168.1.*).
All this time Im have been looking and internet and I don’t have a clear idea of what I have to do, I looked for how to create a domain for my home network and in the router configuration I can’t find any field to put a domain name, I’ve seen other videos but I don’t know, I’m all confused.
My current hostname is fedoraserver1 I change to fedora.example.com but it doesn’t work either
On the other hand, I already modified 192.168.1.119/24
At this point it is as if there were no router in between correct? Just de LAN cable connected directly to the NIC, It’s right?
And here is like another phisical device (VM in this case) inside the LAN right?
In fact BRIDGE ADAPTER is my current configuration right now for my VM’s and was here when I notice this detail that when them get the ip dynamicly and after setup the hostname I can reach it from my HOST using the hostname but when I configure it using static IP I can’t reach it anymore using the hostname, only using the IP address.
Question is: does your router have the possibilty to give a client a fixed IP address, a DHCP lease with infinite lease time. “DHCP binding” or something like that. In that case, the VM should get it’s address via DHCP, but always gets the same address. In addition, because it’s connected using DHCP, the name is registered in DNS and you can address the VM via hostname.
You finished making me understand that now logically, after configured the DHCP static in the Router console I should create a new connection profile ipv4.method auto that so that the router can assign the “static” IP from scratch to a new one connection. Of course in that way now it’s works!