- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Configuring 2nd LAN cards to isolate inter-sys...
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
09-14-2006 05:19 AM
09-14-2006 05:19 AM
So I did some searching here and googled but didn't find much. I can configure these adapters in netconf, putting the 2nd LAN card of each in a separate IP network. After that what?
Goals:
a) LAN traffic between the two vPars prefers the 2nd LAN card on each.
b) If either of the 2nd LAN cards fail, vPar-to-vPar traffic falls back to the primary LAN cards.
c) If either of the primary LAN cards fail, traffic to the office LAN can route across the 2nd LAN card to the other vPar and out to the world and back.
Pointers to tutorials, manuals, welcome.
thanks,
Carl
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2006 05:30 AM
09-14-2006 05:30 AM
Re: Configuring 2nd LAN cards to isolate inter-system traffic
vPar 1:
root: ioscan -funC lan
Class I H/W Path Driver S/W State H/W Type Description
==========================================================================
lan 0 1/0/1/1/0/4/0 igelan CLAIMED INTERFACE HP A6794-60001 PCI
1000Base-T
lan 1 1/0/14/1/0 igelan CLAIMED INTERFACE HP A6825-60101 PCI
1000Base-T Adapter
root: ifconfig lan0
lan0: flags=1843
inet 10.1.1.9 netmask ffff0000 broadcast 10.1.255.255
root: ifconfig lan1
ifconfig: no such interface
vPar 2:
root: ioscan -funC lan
Class I H/W Path Driver S/W State H/W Type Description
==========================================================================
lan 0 0/0/8/1/0/4/0 igelan CLAIMED INTERFACE HP A6794-60001 PCI
1000Base-T
lan 1 0/0/14/1/0 igelan CLAIMED INTERFACE HP A6825-60101 PCI
1000Base-T Adapter
root: ifconfig lan1
lan1: flags=1843
inet 10.1.1.15 netmask ffff0000 broadcast 10.1.255.255
root: ifconfig lan0
ifconfig: no such interface
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2006 05:49 AM
09-14-2006 05:49 AM
Re: Configuring 2nd LAN cards to isolate inter-system traffic
If this is so, then you have to aggregate and configure spare LAN card for LAN_MONITOR in /etc/rc.config.d/hp_apaportconf
HP_APAPORT_INTERFACE_NAME[0]=lan3
HP_APAPORT_CONFIG_MODE[0]=LAN_MONITOR
HP_APAPORT_INTERFACE_NAME[1]=lan7
HP_APAPORT_CONFIG_MODE[1]=LAN_MONITOR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2006 06:09 AM
09-14-2006 06:09 AM
Re: Configuring 2nd LAN cards to isolate inter-system traffic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2006 06:27 AM
09-14-2006 06:27 AM
Re: Configuring 2nd LAN cards to isolate inter-system traffic
Looking at my ioscan results, I wonder, am I really seeing 4 NICs ? Or is that just 3? Aren't these two views of the same hardware?
lan 1 0/0/14/1/0 (vPar 1)
lan 1 1/0/14/1/0 (vPar 2)
And if so, I'm wondering what happened to my 4th NIC which has a cable plugged in to it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2006 06:46 AM
09-14-2006 06:46 AM
Re: Configuring 2nd LAN cards to isolate inter-system traffic
lan 1 0/0/14/1/0 (vPar 1)
lan 1 1/0/14/1/0 (vPar 2)
And if so, I'm wondering what happened to my 4th NIC which has a cable plugged in to it.
<<<<
If you look closely, they are two different hardware paths.
vpar1 - Cell board 0 path
vpar2 - cell board 1 path
If you want to use send NIC card for NFS or backup purpose then you can do it. Just add proper entries in netconf file and bring up network interface card. But you won't be able to use it for failover configuration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2006 07:13 AM
09-14-2006 07:13 AM
Re: Configuring 2nd LAN cards to isolate inter-system traffic
(sorry, haven't searched/googled on that specific topic yet)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2006 10:17 AM
09-14-2006 10:17 AM
Re: Configuring 2nd LAN cards to isolate inter-system traffic
Better way to achieve high speed, port aggregation means you will get higher throughput using one network using two LAN cards. You run two network cables to switch and configure port aggregation at host and switch level.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2006 05:57 PM
09-14-2006 05:57 PM
SolutionWhile assigning an IP address to the second NIC, assign a name as well. Add the name and IP into DNS or hosts file. While using NFS use the Name assigned to the second NIC and HPUX will route the traffic automatically.
From second Vpar do
mount -F nfs name_assigned_to_second_nic:/test /test
make sure that the host can resolve name_assigned_to_second_nic properly
-PB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2006 06:12 PM
09-14-2006 06:12 PM
Re: Configuring 2nd LAN cards to isolate inter-system traffic
You can't achieve all the goals at the same time unfortunately..
A separate lan for you NFS traffic is possible. Just create a private lan, export the file system and give only access to the private IP on the client side..
After this you can't use the private lan adapters for any fail over capability to the office lan unfortunately. The APA software that has to be used for automatic adapter fail over can't be used in that way.
Greetings,
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2006 12:20 AM
09-15-2006 12:20 AM
Re: Configuring 2nd LAN cards to isolate inter-system traffic
i.e. if primary default route fails, secondary one which uses the other vPar as its default gateway kicks in.
This possibility came to my attention because I found that if a TCP connection went unanswered, something in HP-UX would try to ping the (default route) gateway, and if unsucccessful would stop using that gateway altogether (gateway was a firewall that wasn't responding to ping, so I had to allow ping to prevent this behavior).
So I reason that if it can't get to the default gateway of default route #1, it will ignore it and start using the gateway of default route #2.
The only question is how to make sure that default route #1 is always preferred over default route #2.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2006 01:13 AM
09-15-2006 01:13 AM
Re: Configuring 2nd LAN cards to isolate inter-system traffic
i.e. if primary default route fails, secondary one which uses the other vPar as its default gateway kicks in.
This possibility came to my attention because I found that if a TCP connection went unanswered, something in HP-UX would try to ping the (default route) gateway, and if unsucccessful would stop using that gateway altogether (gateway was a firewall that wasn't responding to ping, so I had to allow ping to prevent this behavior).
So I reason that if it can't get to the default gateway of default route #1, it will ignore it and start using the gateway of default route #2.
The only question is how to make sure that default route #1 is always preferred over default route #2.
-------================+++++++++++
Default means one not more than one. you can't have more than one default route. If you want failover functionality then better use port aggregation so that you would achieve higher throughput and failover.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2006 02:51 AM
09-15-2006 02:51 AM
Re: Configuring 2nd LAN cards to isolate inter-system traffic
The problem is the failover to the secondary default route will only happen for traffic which is destined for a different network from either primary or secondary NICs. I'd have to put both NICs on a different IP network from the usual office LAN to make it work.
So short term I guess I'll just settle for keeping NFS traffic off the main switch/LAN.
Strange that there's not much to be found for "multi-homed HP-UX".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2006 02:59 AM
09-15-2006 02:59 AM
Re: Configuring 2nd LAN cards to isolate inter-system traffic
I've had problems in the past assigning a default route to a secondary lan card higher up the chain than the first (ie. setting a default route for lan2 when there is a lan0), but hopefully YMMV.
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2006 03:09 AM
09-15-2006 03:09 AM
Re: Configuring 2nd LAN cards to isolate inter-system traffic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2006 03:19 AM
09-15-2006 03:19 AM
Re: Configuring 2nd LAN cards to isolate inter-system traffic
Write a script to monitor if the default route is disabled and if so remove it and add a default route through the other vPar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2006 04:33 AM
09-15-2006 04:33 AM
Re: Configuring 2nd LAN cards to isolate inter-system traffic
Problem is, for traffic to use ANY default gateway I have to make that traffic come from another network. And that means putting a router between my main network and the networks of either NIC in both machines. That would need to be a gigabit router which I don't currently have.
So I guess I'm just segregating the NFS traffic until the failover becomes important enough. :(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2006 06:44 AM
09-19-2006 06:44 AM