Netplan is a modern network configuration tool introduced in Ubuntu 17.10 and later adopted as the default for managing network interfaces in Ubuntu 18.04 and beyond. With its YAML-based configuration ...
that's an internal, non-routable address space. are you doing this on some sort of SOHO router/NAT?<BR>if so, then yes, that's how to do it. and the subnet is 255.255.255.0 ...