Skip to content

Instantly share code, notes, and snippets.

@theamith
Last active December 14, 2015 17:39
Show Gist options
  • Save theamith/5123918 to your computer and use it in GitHub Desktop.
Save theamith/5123918 to your computer and use it in GitHub Desktop.
Configuring static ip in a system
edit etc/network/interfaces
change dhcp to static
address 10.0.0.1
netmask 255.255.255.0
gateway 10.0.0.2
Give system1's gateway as system2's address in ipv4 settings
netmask 255.255.255.0
gateway 10.0.0.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment