NetPlan
Ubuntu 18.04 ships with NetPlan instead of the standard /etc/network/interfaces file. I found the documentation to be fairly scarce, so I'll leave a few examples and snippets here.
General
Be sure to apply / test changes with sudo netplan generate
and sudo netplany apply
Simple Static Host
network:
version: 2
ethernets:
eth0:
dhcp4: no
addresses: [ 192.168.1.100/24 ]
gateway4: 192.168.1.1
nameservers:
addresses: [ 192.168.1.1 ]
search: [ ljlapierre.com ]
Bridge Config