- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: help configuring lan0
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2002 06:30 AM
05-17-2002 06:30 AM
R390
HPUX10.20
Lan0 100BT
Lan1 10bt
For some reason, Lan0 will not stay up. I have removed it via SAM, added it once again and tried just about everything I know.
Even if I issue ifconfig lan0 up it stays up for about 10 secs and goes into down state once again.
Any ideas?
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2002 06:34 AM
05-17-2002 06:34 AM
Re: help configuring lan0
does lanscan show that lan0 has HW state UP?
And have a look in lanadmin
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2002 06:37 AM
05-17-2002 06:37 AM
Re: help configuring lan0
1) Check the cables and connectivity.
2) Setup the lan card with 'set_parms' command.
3) Check the output of lanscan
4) Check the switch/hub/router connectivity and speed. It should match with the lan card speed
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2002 06:38 AM
05-17-2002 06:38 AM
Re: help configuring lan0
Reply to second comment, What is the correct syntax of the lanadmin command to set the card to 100/Half Duplex?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2002 06:38 AM
05-17-2002 06:38 AM
Re: help configuring lan0
/etc/rc.config.d/netconf
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2002 06:39 AM
05-17-2002 06:39 AM
Re: help configuring lan0
check with ioscan and lanscan if both cards are available.
Than all configuration data for lan cards are located in /etc/rc.config.d/netconf file, check this file. There should be something like this:
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=192.168.0.2
SUBNET_MASK[0]="255.255.255.0"
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0
and similar for second card with index [1]
INTERFACE_NAME[1]=lan1
IP_ADDRESS[1]=192.168.0.1
SUBNET_MASK[1]="255.255.255.0"
BROADCAST_ADDRESS[1]=""
INTERFACE_STATE[1]=""
DHCP_ENABLE[1]=0
hope it help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2002 06:53 AM
05-17-2002 06:53 AM
Re: help configuring lan0
istatprd / root# ioscan |grep lan
8/12/1/0 lan PCI(10110009) -- Built-in #1
8/16/6 lan Built-in LAN
Thoughts?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2002 06:57 AM
05-17-2002 06:57 AM
Re: help configuring lan0
to display details in lanadmin type
landamin
option lan
option display
Should give something like
PPA Number = 0
Description = lan0 Hewlett-Packard 10/100 TX Full-Duplex TT
= 1500
Type (value) = ethernet-csmacd(6)
MTU Size = 1500
Speed = 100000000
Station Address = 0x108303ae98
Administration Status (value) = up(1)
Operation Status (value) = up(1)
Last Change = 743
Inbound Octets = 1029029568
Inbound Unicast Packets = 5955856
Inbound Non-Unicast Packets = 1273395
Inbound Discards = 0
Inbound Errors = 669
Inbound Unknown Protocols = 55
Outbound Octets = 1943242757
Outbound Unicast Packets = 11077341
Outbound Non-Unicast Packets = 2515
Outbound Discards = 0
Outbound Errors = 0
Outbound Queue Length = 0
Specific = 655367
NOTE that both Administration Status and Operation Status are both up.
To set the speed use the -S flag but see man lanadmin for details.
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2002 07:01 AM
05-17-2002 07:01 AM
Re: help configuring lan0
To display current speed:
# lanadmin -x NMID/PPA ( NMID (10.20 or PPA (11.0) for the card can be get from lanscan)
To set the speed:
# lanadmin -X speed/duplex NMID/PPA
# lanadmin -X 100HD 5 ( for 100 Half Duplex and NMID 5)
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2002 07:06 AM
05-17-2002 07:06 AM
Re: help configuring lan0
Again, for a better result from ioscan, use this command:
# ioscan -fnC lan
The command you used will not give all details about the lan cards.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2002 07:11 AM
05-17-2002 07:11 AM
Re: help configuring lan0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2002 09:51 AM
05-17-2002 09:51 AM
Re: help configuring lan0
ioscan -fnC lan produced
statprd /etc/rc.config.d root# ioscan -fnC lan
Class I H/W Path Driver S/W State H/W Type Description
========================================================================
lan 1 8/12/1/0 btlan4 CLAIMED INTERFACE PCI(10110009) -- Built-in #1
lan 0 8/16/6 lan2 CLAIMED INTERFACE Built-in LAN
/dev/diag/lan0 /dev/ether0 /dev/lan0
lanscan produced:
oot# lanscan
Hardware Station Crd Hardware Net-Interface NM MAC HP DLPI Mjr
Path Address In# State NameUnit State ID Type Support Num
8/16/6 0x080009F85F97 0 UP lan0 DOWN 4 ETHER Yes 52
8/12/1/0 0x001083FA32F8 1 UP lan1 UP 5 ETHER Yes 119
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2002 10:20 AM
05-17-2002 10:20 AM
Re: help configuring lan0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2002 11:13 AM
05-17-2002 11:13 AM
SolutionAgain, the NMID-4 is the 10BT card. You have to use this lanadmin option with the 100BT card ! Otherwise it will give you the error.
The lanscan shows your 100BT is up (lan1), where as the 10BT is down ! which interface is having problem ?
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2002 12:36 PM
05-17-2002 12:36 PM
Re: help configuring lan0
Your /etc/rc.config.d/netconf indicates that you have 2 network interfaces on the same subnet. Is this how you want it? (It's not recommended.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2002 12:39 PM
05-17-2002 12:39 PM
Re: help configuring lan0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2002 04:55 AM
05-21-2002 04:55 AM
Re: help configuring lan0
Points to all.
As it turns out, someone had switched the network connections for the two Network cards for my server.
One of the hazards of the server being in one building about 700 miles away from where I am.
Thanks again.
Nickd