Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-20-2011, 09:19 AM   #1
LQ Newbie
Registered: Nov 2009
Posts: 9

Rep: Reputation: 0
Cool How to set Internet Protocol properties using terminal?

When I set up a Virtual Machine with windows (using VMPlayer), I set the Network Connection properties from the VM settings from NAT to bridged. Then I proceed to set the following IP Properties in the OS (see image below) so that the Virtual Windows OS becomes part of my network.

How do I set the same IP Properties on a Linux machine (I use CentOS) using terminal? If its any file that needs to be edited please let me know which. I wish to set up the virtual Linux machine similar to how my Virtual Windows machines are set up.

I also need these settings to stick after I restart the machine.
Attached Thumbnails
Click image for larger version

Name:	C3Hh2.jpg
Views:	14
Size:	34.5 KB
ID:	7056  
Old 05-20-2011, 10:27 AM   #2
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296

If all you want to configure is the network then have a look at the files in /etc/sysconfig/network-scripts. You'll have some files, depending on the number of interfaces you have set, that begin with ifcfg. You need to edit them in order to configure your network and after configuring restart the network service.

Kind regards,



centos, ip, networking

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to set properties for xterm and screen for each user? Andrew Dufresne Linux - Newbie 2 03-23-2010 12:47 AM
set network card properties littledrop Slackware 3 10-18-2009 05:57 PM
How do I access usb port properties. I need to set permissions. sjpiv44 SUSE / openSUSE 7 12-12-2008 11:55 AM
LXer: Tutorial: Border Gateway Protocol, The Routing Protocol of the Internet LXer Syndicated Linux News 0 11-13-2008 06:11 AM
Editing properties of your terminal/shell ? fredgt Linux - Software 3 10-03-2004 11:30 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:35 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration