LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-20-2011, 08:19 AM   #1
th_matt
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:	19
Size:	34.5 KB
ID:	7056  
 
Old 05-20-2011, 09:27 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

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,

Eric
 
  


Reply

Tags
centos, ip, networking



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-22-2010 11:47 PM
set network card properties littledrop Slackware 3 10-18-2009 04:57 PM
How do I access usb port properties. I need to set permissions. sjpiv44 SUSE / openSUSE 7 12-12-2008 10:55 AM
LXer: Tutorial: Border Gateway Protocol, The Routing Protocol of the Internet LXer Syndicated Linux News 0 11-13-2008 05:11 AM
Editing properties of your terminal/shell ? fredgt Linux - Software 3 10-03-2004 10:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:17 PM.

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