Operating System - HP-UX
1833863 Members
2277 Online
110063 Solutions
New Discussion

Re: Changing gigabit to ethernet connection

 
Bruce Duff
Advisor

Changing gigabit to ethernet connection

Hi everyone, I have a K220 system (running 10.20) which is currently connected to the gigabit backbone. I need to for maintenance purposes this weekend move it back to the 100base-t card. What is the easiest way forward to solve this? Assuming I have the right connection (card works) to the ethernet n/work (as it was connected this way before I moved it to the gigabit) do I just need to alter the netconf file? or is there any other files to change? or issues I need to be aware of. Thanks in advance.
London Giddy London
3 REPLIES 3
Sridhar Bhaskarla
Honored Contributor

Re: Changing gigabit to ethernet connection

Hi Bruce,

If it is only for the temporary purpose then I would suggest not to distrub the netconf file. You can do the following from the console if you don't have another network on the system.

Connect the cables. Say lan1 is gigabit and lan2 is 100bt

Do

#ifconfig lan1 unplumb
#ifconfig lan2 ip_address mask
#lanadmin -X 100FD 2 (if the switch is set to 100 FUll duplex otherwise any other speed)

The above configuration will not be saved after a reboot

If you are going to keep it for sometime and if it involves multiple reboots

Follow the above process and then
#cd /etc/rc.config.d
#cp netconf netconf.gig
#vi netconf

Here change lan1 to lan2.


#vi hp*100conf
Here add lan2 and the speed (syntax is already there in that file). This file is dependent on the type of the card you have. If the 100 BT is of GSC type, you need to edit hpgsc100conf. Then do /sbin/init.d/hp*100 start (for gsc it is hpgsc100 start)

Once you are done with the maintenance, move netconf.gig as netconf and backout the IPs in the same manner.


-Sri
You may be disappointed if you fail, but you are doomed if you don't try
G. Vrijhoeven
Honored Contributor

Re: Changing gigabit to ethernet connection

Hi,

I totally agree with Shridhar. I like to add:

Check out the backup windows if you use the gigabit interface for that purpose.

Gideon
Bruce Duff
Advisor

Re: Changing gigabit to ethernet connection

Thanks for the replies. I wasn't aware that I could do something like that on the fly but it sounds good. I don't need to reboot the server as it will only be over the weekend. I will obviously need to be reasonably careful with what I'm doing but it sounds easier than I first thought it was. Thanks for that guys!
London Giddy London