LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-16-2010, 02:55 PM   #1
hoodez
LQ Newbie
 
Registered: Jul 2010
Posts: 12

Rep: Reputation: 0
static network setup


I have a fresh install of Centos 5.x and I'm having issues on setting up the network...

i know i have to edit
/etc/sysconfig/network-script/ifcfg-eth0 and create an ifcfg-eth0:0 right?

im just having issues getting everything setup correctly.

my network setup:
Router IP: 192.168.2.1
IPs on network: 192.168.2.x
Netmask: 255.255.255.0


what do i need to correctly set in the ifcfg-eth0 files?
 
Old 08-16-2010, 03:27 PM   #2
PunksUndead
LQ Newbie
 
Registered: Jan 2009
Location: Central California
Distribution: Kubuntu 10.10 and BackTrack4
Posts: 22

Rep: Reputation: 16
Here is a link that helped me getting a static set on CentOS 5.x

http://blog.zloether.com/2009/07/set...entosrhel.html
 
Old 08-16-2010, 03:41 PM   #3
hoodez
LQ Newbie
 
Registered: Jul 2010
Posts: 12

Original Poster
Rep: Reputation: 0
got it. had to edit the resolv.conf file for my nameservers
 
Old 08-17-2010, 06:10 AM   #4
mahi_nix
Member
 
Registered: Aug 2010
Distribution: CentOS, RHEL, Ubuntu,
Posts: 154

Rep: Reputation: 16
Hi,

Just use setup or system-config-network commnad for network configuration.

Thanks,

Mahi_nix
 
  


Reply



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
Can't setup static IP satimis Linux - Software 2 01-15-2010 10:29 AM
static IP setup problem SRS Linux - Networking 3 07-10-2007 09:27 PM
Is there any static ARP for static IP network? linux_lover2005 Linux - Networking 2 05-18-2005 12:01 PM
SuSE 9.0 and 9.2 Static IP Setup ? frank-01 Linux - Networking 5 01-01-2005 06:28 PM
suse and static ip setup? caperneoignis Linux - Networking 1 07-27-2004 11:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:46 AM.

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