- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- best way to setup (2) lan cards for different netw...
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
12-09-2005 06:34 AM
12-09-2005 06:34 AM
HP-UX hohp230 B.11.11 U 9000/800 100434656 unlimited-user license
9000/800/L3000-7x
###################################
root@hohp230[/etc/rc.config.d]
#/etc/ioscan -nfC lan
Class I H/W Path Driver S/W State H/W Type Description
========================================================================
lan 0 0/0/0/0 btlan CLAIMED INTERFACE HP PCI 10/100Base-TX Core
/dev/diag/lan0 /dev/ether0 /dev/lan0
lan 1 0/8/0/0/4/0 btlan CLAIMED INTERFACE HP A5506B PCI 10/100Base-TX 4 Port
/dev/diag/lan1 /dev/ether1 /dev/lan1
lan 2 0/8/0/0/5/0 btlan CLAIMED INTERFACE HP A5506B PCI 10/100Base-TX 4 Port
/dev/diag/lan2 /dev/ether2 /dev/lan2
lan 3 0/8/0/0/6/0 btlan CLAIMED INTERFACE HP A5506B PCI 10/100Base-TX 4 Port
/dev/diag/lan3 /dev/ether3 /dev/lan3
lan 4 0/8/0/0/7/0 btlan CLAIMED INTERFACE HP A5506B PCI 10/100Base-TX 4 Port
###############################################
root@hohp230[/root]
#netstat -rn
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
192.168.10.230 192.168.10.230 UH 0 lan1 4136
10.254.110.230 10.254.110.230 UH 0 lan0 4136
192.168.10.0 192.168.10.230 U 2 lan1 1500
10.254.0.0 10.254.110.230 U 2 lan0 1500
127.0.0.0 127.0.0.1 U 0 lo0 0
default 10.254.200.1 UG 0 lan0 0
#
root@hohp230[/root]
#ifconfig lan1
lan1: flags=843
inet 192.168.10.230 netmask ffffff00 broadcast 192.168.10.255
root@hohp230[/root]
#lanadmin -x 1
Current Config = 100 Full-Duplex MANUAL
Netconf:
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=10.254.110.230
SUBNET_MASK[0]=255.255.0.0
BROADCAST_ADDRESS[0]=10.254.255.255
INTERFACE_STATE[0]=up
DHCP_ENABLE[0]=0
#HP A5506B PCI 10/100Base-TX 4 Port Interface
#INTERFACE_NAME[1]=lan1
#IP_ADDRESS[1]=192.168.10.230
#SUBNET_MASK[1]=255.255.255.0
#BROADCAST_ADDRESS[1]=192.168.10.255
#INTERFACE_STATE[1]=up
############################################
question #1 :
Not clear if I need to configure "hpbtlanconf" or "hp_apaportconf" ? I was thinking, since we are only using (1) port for lan1, I could just add lan1 to "hpbtlanconf" as follows:
#more hpbtlanconf
HP_BTLAN_INTERFACE_NAME[0]=lan0
HP_BTLAN_STATION_ADDRESS[0]=
HP_BTLAN_SPEED[0]=100FD
#HP_BTLAN_INTERFACE_NAME[1]=lan1
#HP_BTLAN_STATION_ADDRESS[1]=
#HP_BTLAN_SPEED[1]=100FD
#########################################
question #2 :
Best way to setup aliases for hohp230 to 192.168.10.230 ?
Thanks for your help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2005 06:48 AM
12-09-2005 06:48 AM
SolutionAs for an "alias" for hohp230 to the second address, I assume you mean how to have two addresses assigned to the same hostname. A couple of employment assignments ago, I worked in a shop that had a production network and a management network for each server in their data center. They used the same hostname on both networks and it really caused them some some unnecessary confusion. Ideally, you want unique hostnames for each IP address, especially on the same host if for no other reason than tools on the host itself that need to resolve things backwards and forwards always gets the right answer.
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2005 06:49 AM
12-09-2005 06:49 AM
Re: best way to setup (2) lan cards for different networks
I'm not sure I quite understand you 2nd question. Are you asking how to assign the name hohp230 to the ip address? If so, then you can do this locally via the /etc/hosts file. If you have a DNS serer on your network, you need to create an entry in the DNS server for 192.168.10.230 to map that to hohp230.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2005 06:51 AM
12-09-2005 06:51 AM
Re: best way to setup (2) lan cards for different networks
hohp230lab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2005 06:55 AM
12-09-2005 06:55 AM
Re: best way to setup (2) lan cards for different networks
10.254.110.230 hohp230.scif.com hohp23
192.168.10.230 hohp230.scif.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2005 09:23 AM
12-09-2005 09:23 AM
Re: best way to setup (2) lan cards for different networks
I wanted my lan1 card to use the following route "192.168.10.1", so I entered the following command:
#route add 192.168.10.0 192.168.10.1 1
add net 192.168.10.0: gateway 192.168.10.1
##################################
Netstat -rn now shows the following :
root@hohp230[/etc/rc.config.d]
#netstat -rn
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
192.168.10.230 192.168.10.230 UH 0 lan1 4136
10.254.110.230 10.254.110.230 UH 0 lan0 4136
192.168.10.0 192.168.10.230 U 2 lan1 1500
10.254.0.0 10.254.110.230 U 2 lan0 1500
192.168.10.0 192.168.10.1 UG 0 lan1 0
127.0.0.0 127.0.0.1 U 0 lo0 0
default 10.254.200.1 UG 0 lan0 0
############################
What change do I make in the netconf file to
configure lan1 after reboot ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2005 09:49 AM
12-09-2005 09:49 AM
Re: best way to setup (2) lan cards for different networks
ROUTE_DESTINATION[1]="net 192.168.10.0"
ROUTE_MASK[1]=""
ROUTE_GATEWAY[1]="192.168.10.1"
ROUTE_COUNT[1]=""
ROUTE_ARGS[1]=""
Does anyone know the command to stop/start
the network without bouncing the server ?
Is it :
cd /sbin/init.d
./net stop ; ./net start ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2005 10:08 AM
12-09-2005 10:08 AM
Re: best way to setup (2) lan cards for different networks
/sbin/init.d/net start
Is the commands you will use