HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- should i configure NETWORK CARD using SAM?
Operating System - HP-UX
1836233
Members
1965
Online
110096
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
01-15-2006 02:17 AM
01-15-2006 02:17 AM
Hi,
I need to configure another IP address on secondary NIC.
these are the details:
# lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/0/8/1/0/4/0 0x00306EF3D7AA 0 UP lan0 snap0 1 ETHER Yes 119
1/0/1/1/0/4/0 0x00306E497FFE 1 UP lan1 snap1 2 ETHER Yes 119
1/0/10/1/0 0x00306EF4680E 2 UP lan2 snap2 3 ETHER Yes 119
# ifconfig lan0
lan0: flags=1843
inet 170.120.1.14 netmask ffffff80 broadcast 170.120.1.17
# ifconfig lan1
ifconfig: no such interface
# ifconfig lan2
ifconfig: no such interface
I need to configure the secondary NIC as follows:
lan1--170.120.1.15 (subnet:255.255.255.128)
how can i do this?
and in which files , i have to make changes & what changes
Once I tried with this:
#ifconfig lan1 170.120.1.15 netmask 255.255.255.128 broadcast 170.120.1.127 up
Then i got disconnected from my server,
I am not physicaly near to my server thatz why i faced a alot of problems.
should i configure this lan1 using SAM?
thanks
bunty
I need to configure another IP address on secondary NIC.
these are the details:
# lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/0/8/1/0/4/0 0x00306EF3D7AA 0 UP lan0 snap0 1 ETHER Yes 119
1/0/1/1/0/4/0 0x00306E497FFE 1 UP lan1 snap1 2 ETHER Yes 119
1/0/10/1/0 0x00306EF4680E 2 UP lan2 snap2 3 ETHER Yes 119
# ifconfig lan0
lan0: flags=1843
inet 170.120.1.14 netmask ffffff80 broadcast 170.120.1.17
# ifconfig lan1
ifconfig: no such interface
# ifconfig lan2
ifconfig: no such interface
I need to configure the secondary NIC as follows:
lan1--170.120.1.15 (subnet:255.255.255.128)
how can i do this?
and in which files , i have to make changes & what changes
Once I tried with this:
#ifconfig lan1 170.120.1.15 netmask 255.255.255.128 broadcast 170.120.1.127 up
Then i got disconnected from my server,
I am not physicaly near to my server thatz why i faced a alot of problems.
should i configure this lan1 using SAM?
thanks
bunty
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2006 05:08 AM
01-15-2006 05:08 AM
Solution
Hi,
An ifconfig LAN configuration will be lost after the first reboot. In order to restore it, you may either use SAM or edit the file /etc/rc.config.d/netconf
Look at it on the configuration array for the existing LAN, update the array index and insert needed values for the configured LAN. After that run
/sbin/init.d/net stop;/sbin/init.d/net start
The commands better to run from the computer console.
HTH
An ifconfig LAN configuration will be lost after the first reboot. In order to restore it, you may either use SAM or edit the file /etc/rc.config.d/netconf
Look at it on the configuration array for the existing LAN, update the array index and insert needed values for the configured LAN. After that run
/sbin/init.d/net stop;/sbin/init.d/net start
The commands better to run from the computer console.
HTH
Entities are not to be multiplied beyond necessity - RTFM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2006 08:18 AM
01-15-2006 08:18 AM
Re: should i configure NETWORK CARD using SAM?
bunty,
You can not have two lan cards on the same network.
when ifconfig causes those results, the cause is usually two cards on one network.
Your netmask should permit that unless of course you have left no address space. Doubt that, because the one works.
Sam should produce exactly the same results if given the same parameters as the ifconfig command, unless ifconfig is broken.
You can also try it by direct edit of /etc/rc.config.d/netconf
I would however expect consistent behavior or I'd start wanting to check the machines patch level.
SEP
You can not have two lan cards on the same network.
when ifconfig causes those results, the cause is usually two cards on one network.
Your netmask should permit that unless of course you have left no address space. Doubt that, because the one works.
Sam should produce exactly the same results if given the same parameters as the ifconfig command, unless ifconfig is broken.
You can also try it by direct edit of /etc/rc.config.d/netconf
I would however expect consistent behavior or I'd start wanting to check the machines patch level.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2006 06:59 PM
01-15-2006 06:59 PM
Re: should i configure NETWORK CARD using SAM?
Hi,
Yes you will get disconnected as you have assigned IPs of same subnet to two cards of you same system.
If you wish to configure this to achive load balancing than you can consider using "Auto Port Aggregation" which will server both your purposes load balance/failover protection.
More info about APA is available in this document
http://www.docs.hp.com/en/J4240-90033/J4240-90033.pdf
HTH,
Devender
Yes you will get disconnected as you have assigned IPs of same subnet to two cards of you same system.
If you wish to configure this to achive load balancing than you can consider using "Auto Port Aggregation" which will server both your purposes load balance/failover protection.
More info about APA is available in this document
http://www.docs.hp.com/en/J4240-90033/J4240-90033.pdf
HTH,
Devender
Impossible itself mentions "I m possible"
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP