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
 
LinkBack Search this Thread
Old 11-20-2009, 05:21 AM   #1
sheslostcontrol
LQ Newbie
 
Registered: Nov 2009
Posts: 2

Rep: Reputation: 0
Trouble with second IP on same nic


OS: RHEL 5.3
Poweredge 2490 server

Currently have a single cable running into one nic card (eth0). For the past two years this was configured to handle two IPs under eth0:

Code:
1.1.1.1 and 
1.1.1.2
Tonight I discovered that 1.1.1.2 no longer works. Pinging 1.1.1.2 fails, even though the profile is checked and activated under Network Configuration in the gui. Pinging 1.1.1.1 returns satisfactory replies.

Here are the raw ifcfg files for each profile.

live
Code:
[network-scripts]# more ifcfg-live
# Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet
DEVICE=eth0
BOOTPROTO=none
HWADDR=00:00:00:00:00:00
ONBOOT=yes
DHCP_HOSTNAME=sub123.web.site
IPADDR=1.1.1.1
NETMASK=255.255.222.0
GATEWAY=1.0.0.1
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
PEERDNS=yes
dev
Code:
[network-scripts]# more ifcfg-dev 
GATEWAY=1.0.0.1
TYPE=Ethernet
DEVICE=eth0
HWADDR=00:00:00:00:00:00
BOOTPROTO=none
NETMASK=255.255.222.0
DHCP_HOSTNAME=sub123.web.site
IPADDR=1.1.1.2
ONBOOT=yes
USERCTL=no
IPV6INIT=no
PEERDNS=yes
Suggestions on where to look next?
 
Old 11-20-2009, 05:30 AM   #2
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 115Reputation: 115
Quote:
Originally Posted by sheslostcontrol View Post
OS: RHEL 5.3
Poweredge 2490 server

Currently have a single cable running into one nic card (eth0). For the past two years this was configured to handle two IPs under eth0:

Code:
1.1.1.1 and 
1.1.1.2
Tonight I discovered that 1.1.1.2 no longer works. Pinging 1.1.1.2 fails, even though the profile is checked and activated under Network Configuration in the gui. Pinging 1.1.1.1 returns satisfactory replies.

Here are the raw ifcfg files for each profile.

live
Code:
[network-scripts]# more ifcfg-live
# Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet
DEVICE=eth0
BOOTPROTO=none
HWADDR=00:00:00:00:00:00
ONBOOT=yes
DHCP_HOSTNAME=sub123.web.site
IPADDR=1.1.1.1
NETMASK=255.255.222.0
GATEWAY=1.0.0.1
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
PEERDNS=yes
dev
Code:
[network-scripts]# more ifcfg-dev 
GATEWAY=1.0.0.1
TYPE=Ethernet
DEVICE=eth0
HWADDR=00:00:00:00:00:00
BOOTPROTO=none
NETMASK=255.255.222.0
DHCP_HOSTNAME=sub123.web.site
IPADDR=1.1.1.2
ONBOOT=yes
USERCTL=no
IPV6INIT=no
PEERDNS=yes
Suggestions on where to look next?

do you have output from

Code:
ifconfig -a
and from

Code:
ip addr

Last edited by centosboy; 11-20-2009 at 05:31 AM.
 
Old 11-20-2009, 11:11 PM   #3
sheslostcontrol
LQ Newbie
 
Registered: Nov 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by centosboy View Post
do you have output from

Code:
ifconfig -a
and from

Code:
ip addr
Issue is resolved. I backed up both ifcfg profiles, then copied the "live" profile to "dev" - changed the "dev" address to what it should be (1.1.1.2), saved, issued ifup dev -- viola.

I don't know what was wrong with the dev config in my first post, but that fixed it.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
trouble after inserting second nic robgravemaker Linux - Networking 8 12-29-2005 07:36 AM
RH 9 NIC trouble Lostin Linux 99 Linux - Newbie 1 11-06-2004 08:51 AM
NIC trouble LouisTheDamned Fedora 4 05-03-2004 12:05 PM
Trouble with NIC mfishburn Linux - Newbie 3 09-02-2003 02:04 AM
pcmcia nic trouble rioguia Linux - Hardware 10 12-06-2002 09:35 AM


All times are GMT -5. The time now is 06:37 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration