LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-09-2010, 09:12 AM   #1
itaniumm
LQ Newbie
 
Registered: Mar 2010
Posts: 10

Rep: Reputation: 0
RHEL5 ipv4


Dear Linux expert

my ipv4 appear in the gui system-config-network as 10.10.0.10
and in the configuration file etc/sysconfig/network-scripts/ifcfg-eth0 appear as 10.10.0.10 and in /etc/sysconfig/networking/devices/ifcfg-eth0 also appear as 10.10.0.10

but when I executed ifconfig command the ip appear as 169.254.25.41

what is the solution
what is the problem???
 
Old 03-09-2010, 09:55 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
After you set the IP you can run "ifdown eth0" then "ifup eth0" to restart it with the new settings. (Or if you're on the console you can run "service network restart" to restart all networking.

Also verify /etc/sysconfig/network-scripts/ifcfg-eth0 does NOT have "dhcp" on the BOOTPROTO line. (You can delete the line or set it to "none".) DHCP would override your static settings.
 
Old 03-09-2010, 10:13 AM   #3
itaniumm
LQ Newbie
 
Registered: Mar 2010
Posts: 10

Original Poster
Rep: Reputation: 0
Thank you man, I restarted the network, it works fine for seconds then the commuter start trying get address from dhcp server and get 169.254.x.x, but I restarted the server and it works fine now.

thank you
 
  


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
Communication between Host(RHEL5) and VMware Guest OS(RHEL5) riteshanand40 Linux - Newbie 2 08-02-2009 10:52 PM
SELinux: RHEL4 to RHEL5 rules migration - unknown type var_lib_t in RHEL5 zbiggy Red Hat 2 05-12-2009 03:14 AM
How to make one rhel5 server control passwords for several rhel5 servers. folkrm Linux - Newbie 3 03-11-2009 02:17 PM
Determining patch level of Redhat RHEL5 vs RHEL5.1 or RHEL4.5-4.6 dfezz1 Linux - Newbie 2 01-23-2009 09:17 AM
RHEL5 - I have RHEL5 DVD , how i install ofice packages like SPREADSHEET ETC, bharath@linux Linux - Newbie 3 10-12-2008 02:24 PM

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

All times are GMT -5. The time now is 08:04 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