What ips can we use for gw4 and dns?

When using nmcli I usually just use 192.168.122.1 for both the gw4 and dns ips. If Im using a /24 subnet I should have up to 254 hosts avaible so can I set the above as 192.168.122.254 instead? I have tried doing this but then Im unable to connect to anything after and have to change it back...
  • post-author-pic
    Sanjay G
    11-13-2018

    The gateway and dns address should be the address of the actual gateway and dns servers

Looking For Team Training?

Learn More