Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Server has 2 nics, yet hw -r pci only show 1, how can I enable the 2nd

Status
Not open for further replies.

shitokai

IS-IT--Management
Feb 16, 2009
3
US
Hi everyone,

I am new in this forum, I have a Unix SCO server with two nics, I need to migrate it to a new network address, and the easiest way I find is to add a second IP address in the new segment and day by day migrate all the clients to the new IP address and everybody's happy,
The issue is when I try to setup the second NIC (both NICs are integrated to the mother board) using the scoadmin command/network menu, there is only 1 NIC, and the hw -r pci only show me 1 ethernet interface, so how can I enable the second NIC?

If somebody has any idea I will really appreciate it.
 
You can (usually) assign multiple IP addresses to one NIC, as long as they are on the same network segment.

It's been a while since I had a SCO box to play with so I can't give you the exact details, but usually it involves bringing up a virtual interface abc:1 (where abc is the name of the existing one) and assigning it an IP address using ifconfig; SCOAdmin may of course have an easy way of doing this...

Annihilannic.
 
Which version of SCO?
What Annihilannic is referring to would be the "alias" function of "ifconfig". It's not perfect, but it might serve your needs easier than determining how to add the other NIC.


"Proof that there is intelligent life in Oregon. Well, Life anyway.
 
Thank you for your help, and the new IP address is in a different segment (the old is 192.168... and the new one is 172.16...).

uname -X shows this:

Release = 3.2v5.0.7
KernelID = 2003-02-18
Machine = i80386
Bustype = ISA

and the uname -V shows:

5.0.7

I am kinda new in unix SCO, yet I have some experience with Linux.

so, I wonder how can I determine the PCI address of the second NIC when it is not listed in the hw -r PCI but I know it is in there because it is part of the mother board.

Thank you in advance fellow.
 
Did you check out the man page for ifconfig?
Especially this section:
Code:
  alias addr
          Establish an additional network address for this interface. This is
          sometimes useful when changing network numbers, and one wishes to
          accept packets addressed to the old interface.

  -alias addr
          Remove the specified alias.

If the second NIC isn't being shown by the pci scan, then you need to double-check it's configuration in BIOS.


"Proof that there is intelligent life in Oregon. Well, Life anyway.
 
Thank you for the help motoslide, let me check the bios later when nobody is working.



regards.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top