Created
June 9, 2015 06:51
-
-
Save vjaro/c4c86b515af5226fff4c to your computer and use it in GitHub Desktop.
CENTOS STATIC IP
This file contains hidden or 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
DEVICE=eth0 | |
ONBOOT=yes | |
HWADDR=A4:BA:DB:37:F1:04 | |
TYPE=Ethernet | |
BOOTPROTO=static | |
IPADDR=192.168.1.44 | |
NETMASK=255.255.255.0 | |
Setup NAT and Host Only adapter | |
When adding static ip configuration check the following | |
Verify your Virtualbox Preferences -> Network -> Host-only Networks Ethernet Adapter | |
Verify your vm -> Settings -> Network then the host only adapter and the name should be equal to the virtualbox host only adapter's ip address. Configure your ip based on that ip sequence | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment