Skip to content

Instantly share code, notes, and snippets.

@rodnaxel
Last active August 15, 2017 15:08
Show Gist options
  • Save rodnaxel/01f590eadf103453ac059de52a39343d to your computer and use it in GitHub Desktop.
Save rodnaxel/01f590eadf103453ac059de52a39343d to your computer and use it in GitHub Desktop.
Configure static ip on the Ubuntu
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
# Static ip
# enx00e04c360554 - name ethernet
auto enx00e04c360554:1
iface enx00e04c360554:1 inet static
address 192.168.0.2
netmask 255.255.255.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment