1833892 Members
1931 Online
110063 Solutions
New Discussion

Using new 1Gigabit NIC

 
SOLVED
Go to solution
ITeam
Super Advisor

Using new 1Gigabit NIC

I need to transfer a large amount of data to another HP server with a 1 Gigabit nic. I put a new 1 Gig nic into the existing (source) server (left the existing 10/100 one in there as well). Gave the new card a free ip address. As soon as I enabled it in sam there was a problem with connectivity to the server from other machines (which was using the existing card). I know the ip address it has is ok. This problem disappears as soon as the new card is disabled.

Part of my question is also related to transferring the data & how I can make sure I am using the correct card to do so. I thought about creating an NFS link using the ip address of the new card to set up the link - is this the best way?

Many thanks.

David
16 REPLIES 16
Torsten.
Acclaimed Contributor
Solution

Re: Using new 1Gigabit NIC

Hi David,

did you use a different subnet? You have to!

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Pedro Cirne
Esteemed Contributor

Re: Using new 1Gigabit NIC

Hi,

Please post the output of:

#lanscan
#netstat -in
#ifconfig

Enjoy :)

Pedro
yut
Advisor

Re: Using new 1Gigabit NIC

make sure the new ip is ok and can be connect from the other server, try to remote server(source) from the other server with new ip you have already assigned, check errors at /var/adm/syslog/syslog.log and roting table.

-yut-
Devender Khatana
Honored Contributor

Re: Using new 1Gigabit NIC

Hi,

If you want to transfer the data using the new card only then define a new route to the host to which you want to transfer the data using the new 1 GB card IP.

HTH,
Devender
Impossible itself mentions "I m possible"
ITeam
Super Advisor

Re: Using new 1Gigabit NIC

Hi.

Was not on a different subnet. Just checking for appropriate address - thanks.

In the meantime:

LANSCAN:

Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/0/0/0 0x00306E089EE4 0 UP lan0 snap0 1 ETHER Yes 119
0/2/0/0 0x001321BD7D06 1 UP lan1 snap1 2 ETHER Yes 119

NETSTAT -In:

Name Mtu Network Address Ipkts Opkts
lan1* 1500 126.0.0.0 126.1.1.99 30 30
lan0 1500 126.0.0.0 126.1.1.1 1374036 2842777
lo0 4136 127.0.0.0 127.0.0.1 19537 19537

ifconfig lan0:

lan0: flags=843
inet 126.1.1.1 netmask ff000000 broadcast 126.255.255.255

ifconfig lan1:

lan1: flags=1842
inet 126.1.1.99 netmask ff000000 broadcast 126.255.255.255
tjhughes# ifconfig lan0
Pedro Cirne
Esteemed Contributor

Re: Using new 1Gigabit NIC

Hi,

I guess your Gigabit NIC is lan1, right?

Post the output of:

#cat /etc/rc.config.d/netconf

Enjoy :)

Pedro
ITeam
Super Advisor

Re: Using new 1Gigabit NIC

Hi Pedro,

Yes, 1 Gig card is lan1.

First few lines of netconf (card is currently disabled. I do not know why the double quotes are missing on lan1 or why the broadcast address is appearing here. I put the entry in netconf but sam seems to have inserted the broadcast address)...

INTERFACE_NAME[0]="lan0"
IP_ADDRESS[0]="126.1.1.1"
SUBNET_MASK[0]="255.0.0.0"
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0

INTERFACE_NAME[1]=lan1
IP_ADDRESS[1]=126.1.1.99
SUBNET_MASK[1]=255.0.0.0
BROADCAST_ADDRESS[1]=126.255.255.255
INTERFACE_STATE[1]=down
DHCP_ENABLE[1]=0
Pedro Cirne
Esteemed Contributor

Re: Using new 1Gigabit NIC

Hi,

Try:

#ifconfig lan1 unplumb
#ifconfig lan1 plumb
#ifconfig lan1 inet 126.1.1.99 netmask 255.0.0.0
#ifconfig lan1 up

Check if others can connect to this server, if you have problems you may put it down by,

#ifconfig lan1 down

But before putting it down, post the following:

#netstat -in
#netstat -rn

Enjoy :)

Pedro
ITeam
Super Advisor

Re: Using new 1Gigabit NIC

Ok, I will try this when the system is quiet. The server is live & is only available for testing this at select times.

Thanks.
Torsten.
Acclaimed Contributor

Re: Using new 1Gigabit NIC

David,

both addresses are in the same subnet - this won't work. Try a different subnet for the new card (eg 126.2.x.x) and it will work.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
harry d brown jr
Honored Contributor

Re: Using new 1Gigabit NIC


What is the IP and subnet of the "other" server? How are the two servers connected (direct cable or gig capable switch)? Does the "other" server have two nic cards or only one?

If the "other" server has two nic cards and one is available to temporarily use ONLY to communicate to your "source" server, then I'd set both servers up using jumbo frames:

(1) On both servers create a NEW subnet.

(2) Then on both servers modify:
/etc/rc.config.d/hpigelanconf
HP_IGELAN_MTU[#THATmatchesNICcard]=9000

(3) On source server do this:
rcp -S 131072 -R 131072 sourcefile receivinghost:/location

HP's white paper on gig-e performance: http://docs.hp.com/en/782/gbe_perf_final.pdf

live free or die
harry d brown jr

Live Free or Die
ITeam
Super Advisor

Re: Using new 1Gigabit NIC

The 'other' server has an ip of 126.2.1.1. There is a cat5e cable running between the two servers. The other server does have two network cards but I am unsure as to the availability of the second card.
Patrick Wallek
Honored Contributor

Re: Using new 1Gigabit NIC

The first thing to do is to get the 1Gb NIC off of your 126.1.1 network. Having 2 NICs on the same subnet is not a good idea at all. It will introduce some very strange behavior and is probably the root of your problems.

If you have the 1Gb NICs on the 2 machines connected directly to each other with a cross-over cable, use a totally different address. One of the non-routable addresses would be best.

These IP addresses are all non-routable:
10.0.0.0 - 10.255.255.255
172.16.0.0 - 172.31.255.255
192.168.0.0 - 192.168.255.255
ITeam
Super Advisor

Re: Using new 1Gigabit NIC

Thanks everyone. It was not being on a different subnet that caused the problem. Works fine now!
Torsten.
Acclaimed Contributor

Re: Using new 1Gigabit NIC

Sorry, but did you read my 2 replies?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
ITeam
Super Advisor

Re: Using new 1Gigabit NIC

Yes, I think my wording may have been confusing. You were quite right. The subnets needed to be different. We changed this & all is ok now. I submitted ten points as you suggested it first.

Thanks.