Assign a Static IP Address to Virtual Machine

Here we edit the /etc/network/interfaces file

Now you want to enter the following information (changing your address wherever necessary)

Now we edit the hosts file

and add the following

Edit the hostname file

and add the following

Then restart networking

That’s it!

Share on FacebookShare on Google+Email this to someoneShare on RedditShare on LinkedInShare on TumblrTweet about this on TwitterShare on StumbleUpon

Leave a Reply

Your email address will not be published.