LinuxQuestions.org
Help answer threads with 0 replies.
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 06-11-2013, 05:04 AM   #1
kingston
Member
 
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 215
Blog Entries: 1

Rep: Reputation: 21
Couldnt fix Virtual IP permanently on RHEL 5.3?


Hi Gurus

I have installed RHEL 5.3 64bit version on HP Compaq 8100 Elite CMT PC and was trying to configure two IP for my ethernet card. As most of the people know, "ifconfig eth0:1 ......." working fine when assign the second IP to the system. But to make it permanent i have added a file "ifcfg-eth0:1" with appropriate details under /etc/sysconfig/network-scripts directory. Though the parameters are correct, the system does not take the Virtual IP when i boot the system or restart the network service.

After searching google, i came to know that "ifdown eth0:1; ifdown eth0; ifup eth0" commands should work fine in RHEL 5.3 to bring both the IPs up, but which is also not working fine. Please help me to solve this problem.

Am getting the following error while restarting the network service after created a file "ifcfg-eth0:1" under /etc/sysconfig/network-scripts.
Quote:
Shutting down interface eth0: [ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: SIOCGIFADDR: Cannot assign requested address
SIOCSIFBROADCAST: Cannot assign requested address
SIOCSIFBRDADDR: Cannot assign requested address
SIOCSIFFLAGS: Cannot assign requested address
[ OK ]
 
Old 06-11-2013, 05:38 AM   #2
kingston
Member
 
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 215

Original Poster
Blog Entries: 1

Rep: Reputation: 21
Hi Gurus,
Some more update. I have used the following format to assign Virtual IP now and could successfully get assigned both the IP after network service restart.
Quote:
# Intel Corporation 82546EB Gigabit Ethernet Controller (Copper)
# Alias for eth0
DEVICE=eth0:1
IPADDR=X.X.X.X
ONBOOT=yes
When i rebooted, the machine has come up with its primary ip only. Again, network service restart makes both the IPs up.
 
Old 06-11-2013, 06:40 AM   #3
kingston
Member
 
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 215

Original Poster
Blog Entries: 1

Rep: Reputation: 21
It didnt help even after file "ifcfg-eth0:1" has been added under /etc/sysconfig/networking/devices and /etc/sysconfig/networking/profiles/default directories.
 
  


Reply


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
RHEL 4 smp to EL5.7 upgrade ( couldnt find upgrade option after boot from el5.7 CD) salimep Linux - Server 2 11-23-2011 06:04 AM
can not ping from host (RHEL 6) to RHEL 5 in (virtual)? manalisharmabe Linux - Newbie 1 05-01-2011 12:55 PM
upgrade RHEL 4.3 to RHEL 4.8 to fix CIFS bug - best practice? jaredk51 Linux - Enterprise 6 04-19-2010 05:35 AM
How can I permanently fix my clock synchronization problem? gr33d Linux - Newbie 11 03-29-2010 02:06 PM
Possible to have virtual machine in RHEL 5.1 run RHEL 4.0-1 ES (64-bit) maryjane Linux - Newbie 1 10-20-2008 12:04 PM

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

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