Operating System - HP-UX
1753342 Members
5095 Online
108792 Solutions
New Discussion юеВ

Auto Port Configuration Steps in 11.31

 
SOLVED
Go to solution
Sagar Sirdesai
Trusted Contributor

Auto Port Configuration Steps in 11.31

HI All
I need to create auto port configuration on a 11.31 Server.

Lan50 and Lan51 are lan cards and I need to create a autoport configuration lan900 as a failover group.

Then assign a IP address
IP_ADDRESS=35.80.66.1
SUBNET_MASK=255.255.240.0

Please provide me the list of commands
7 REPLIES 7
Michal Kapalka (mikap)
Honored Contributor

Re: Auto Port Configuration Steps in 11.31

Ganesan R
Honored Contributor
Solution

Re: Auto Port Configuration Steps in 11.31

Hi Sagar,

Step by step commands are documented here.

http://book.soundonair.ru/hall2/ch15lev1sec14.html
Best wishes,

Ganesh.
Sagar Sirdesai
Trusted Contributor

Re: Auto Port Configuration Steps in 11.31

Hi Ganeshan

Thanks for the link.
I need to create a lan900 as a failover group for lan50,53

I cannot understand the set of steps to use to assign an IP to lan900 and thn run lanapplyconf.

Sagar
Juli├бn Aimar
Frequent Advisor

Re: Auto Port Configuration Steps in 11.31

This is the doc by HP, link

http://docs.hp.com/en/J4240-90045/index.html

Buena Suerte

Julian
Sagar Sirdesai
Trusted Contributor

Re: Auto Port Configuration Steps in 11.31

I have a doubt here

In the /etc/rc.config.d/netconf

I have an entry for lan50
INTERFACE_NAME[0]="lan50"
IP_ADDRESS[0]="35.80.66.1"
SUBNET_MASK[0]="255.255.240.0"
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0
INTERFACE_MODULES[0]=""

Now I have created lan900 with lan50 lan51.

So Now I have assign the IP address to lan900

I am using the sam eIp currently assigned to lan50.

What modifications I need to make to the /etc/rc.config.d/netconf file

Remove the entries for lan50 and lan51 and make an entry for lan900 as below


INTERFACE_NAME[0]="lan900"
IP_ADDRESS[0]="35.80.66.1"
SUBNET_MASK[0]="255.255.240.0"
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0
INTERFACE_MODULES[0]=""
Michal Kapalka (mikap)
Honored Contributor

Re: Auto Port Configuration Steps in 11.31

I have a doubt here

In the /etc/rc.config.d/netconf

I have an entry for lan50
INTERFACE_NAME[0]="lan50"
IP_ADDRESS[0]="35.80.66.1"
SUBNET_MASK[0]="255.255.240.0"
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0
INTERFACE_MODULES[0]=""

Now I have created lan900 with lan50 lan51.

So Now I have assign the IP address to lan900

I am using the sam eIp currently assigned to lan50.

What modifications I need to make to the /etc/rc.config.d/netconf file

Remove the entries for lan50 and lan51 and make an entry for lan900 as below


INTERFACE_NAME[0]="lan900"
IP_ADDRESS[0]="35.80.66.1"
SUBNET_MASK[0]="255.255.240.0"
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0
INTERFACE_MODULES[0]=""



#==========================================================

an example from my server :

INTERFACE_NAME[0]="lan900"
IP_ADDRESS[0]="10.36.64.105"
SUBNET_MASK[0]=255.255.255.0
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0
INTERFACE_MODULES[0]=""
DEFAULT_INTERFACE_MODULES=""
ROUTE_GATEWAY[0]=10.36.64.1
ROUTE_COUNT[0]=1
ROUTE_DESTINATION[0]=default

lan900 is created ( bind ) with LAN1 and LAN2

kmsrpra4:/#lanscan -q
0
900 1 2
Sagar Sirdesai
Trusted Contributor

Re: Auto Port Configuration Steps in 11.31

Thanks to all

Sagar