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 - 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 01-23-2007, 11:08 AM   #1
BWFinance
LQ Newbie
 
Registered: Jan 2007
Posts: 2

Rep: Reputation: 0
Adding a second IP address to RedHat Linux Vs. 4.2


I have several servers in our branch offices running Red Hat Linux vs. 4.2 with kernel vs. 2.0.30. The software company that provided the servers does not want to upgrade to a newer version of Linux because their software may not run on it. I want to add a second IP address to this configuration for routing and management capabilities but I'm not sure if a second IP is capable of being added on this old a kernel. Can someone tell me for sure? If it is able to, please steer me in the right direction for configuration.

Thanks
 
Old 01-23-2007, 11:36 AM   #2
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
If you want to add an interface for management, it's better to add a second physical card configured to be on your management network (not the same subnet as the original NIC!).

You should really put together a plan to test the vendor's hardware on a newer version of Linux. RH 4 is over a decade old and potentially has dozens of unpatched security vulnerabilities.
 
Old 01-23-2007, 11:37 AM   #3
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
That version of RedHat has 2.6 kernel which allows multiple ip addresses per nic. You can assign a second network ip address on the same nic with command:

ifconfig eth0:1 192.168.1.1

Both addresses should be on the same network unless you have VLAN capable switches.
 
Old 01-23-2007, 11:53 AM   #4
BWFinance
LQ Newbie
 
Registered: Jan 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ramram29
That version of RedHat has 2.6 kernel which allows multiple ip addresses per nic. You can assign a second network ip address on the same nic with command:

ifconfig eth0:1 192.168.1.1

Both addresses should be on the same network unless you have VLAN capable switches.
According to another source I have, you may be thinking of the newer enterprise version. This is the old original version 4.2 that's about 10 or 12 years old.

Last edited by BWFinance; 01-23-2007 at 11:57 AM.
 
Old 01-23-2007, 11:55 AM   #5
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
Quote:
Originally Posted by BWFinance
Thanks for the info. I'll look further into upgrading the kernel.
You're not going to be able to upgrade the kernel in place without breaking your userland interaction.

You can try using virtual interfaces on 2.0 kernel and see if it works. The worst that will happen is you will get an error message about that operation not being supported.
 
  


Reply

Tags
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
Adding new address to sendmail. zWaR Linux - Networking 3 08-30-2006 09:44 PM
Adding hostname and IP address to DNS for sendmail ip lookup Simon_T Linux - Networking 1 06-04-2006 07:30 AM
OpenBSD: Adding a "lladdr" command to netstart to change MAC address at boot Voltar *BSD 2 04-14-2006 12:41 AM
forwarding Public IP address in BIND DNS on RedHat Linux EL3 pudhiyavan Linux - Networking 0 05-19-2005 04:16 AM
Adding entries to an LDAP address book? [GOD]Anck Linux - Software 1 02-10-2005 09:03 AM

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

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