Last active
December 14, 2015 17:39
-
-
Save theamith/5123918 to your computer and use it in GitHub Desktop.
Configuring static ip in a system
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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