- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ip configuration problem!!
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
10-26-2005 08:24 PM
10-26-2005 08:24 PM
ip configuration problem!!
I have a K class box with HPUX 11.00 and 3 NIC's:
lan0 - driver btlan1
lan1 - driver lan2
lan2 - driver btlan1
I have changed the ip configuration in the netconf (see below) and rebooted the box. Before changing lan0 was 10.1.32.12 and lan1 was 10.80.241.12, the problem was that lan1 is built-in lan and the NIC can only 10M and on the box is running an apache server which is listening on 10.80.241.12 so I wanted to change to 100M FullDuplex. But after the reboot the lan0 is again 10.1.32.12 and lan1 10.80.241.12 - where is the problem????
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=10.80.241.12
SUBNET_MASK[0]=255.255.255.240
BROADCAST_ADDRESS[0]=10.80.241.15
INTERFACE_STATE[0]=up
DHCP_ENABLE[0]=0
INTERFACE_NAME[1]=lan1
IP_ADDRESS[1]=10.1.32.12
SUBNET_MASK[1]=255.255.255.224
BROADCAST_ADDRESS[1]=10.1.32.31
INTERFACE_STATE[1]=up
DHCP_ENABLE[1]=0
INTERFACE_NAME[2]=lan2
IP_ADDRESS[2]=62.180.105.41
SUBNET_MASK[2]=255.255.255.240
BROADCAST_ADDRESS[2]=62.180.105.47
INTERFACE_STATE[2]=up
DHCP_ENABLE[2]=0
# Internet routing configuration. See route(1m), routing(7)
#
# ROUTE_DESTINATION: Destination hostname (in /etc/hosts) or host or network
# IP address in decimal-dot notation, preceded by the word
# "host" or "net"; or simply the word "default".
#
# ROUTE_MASK: Subnetwork mask in decimal-dot notation, or C language
# hexadecimal notation. This is an optional field.
# A IP address, subnet mask pair uniquely identifies
# a subnet to be reached. If a subnet mask is not given,
# then the system will assign the longest subnet mask
# of the configured network interfaces to this route.
# If there is no matching subnet mask, then the system
# will assign the default network mask as the route's
# subnet mask.
#
# ROUTE_GATEWAY: Gateway hostname (in /etc/hosts) or IP address in
# decimal-dot notation. If local interface, must use the
# same form as used for IP_ADDRESS above (hostname or
# decimal-dot notation). If loopback interface, i.e.,
# 127.0.0.1, the ROUTE_COUNT must be set to zero.
#
# ROUTE_COUNT: An integer that indicates whether the gateway is a
# remote interface (one) or the local interface (zero)
# or loopback interface (e.g., 127.*).
#
# ROUTE_ARGS: Route command arguments and options. This variable
# may contain a combination of the following arguments:
# "-f", "-n" and "-p pmtu".
#
# For each additional route, add a set of variable assignments like the ones
# below, changing the index to "[1]", "[2]" et cetera.
#
# IMPORTANT: for 9.x-to-10.0 transition, do not put blank lines between
# the next set of statements
# ROUTE_DESTINATION[0]=default
# ROUTE_MASK[0]=""
# ROUTE_GATEWAY[0]=""
# ROUTE_COUNT[0]=""
# ROUTE_ARGS[0]=""
# Dynamic routing daemon configuration. See gated(1m)
#
# GATED: Set to 1 to start gated daemon.
# GATED_ARGS: Arguments to the gated daemon.
GATED=0
GATED_ARGS=""
#
# Router Discover Protocol daemon configuration. See rdpd(1m)
#
# RDPD: Set to 1 to start rdpd daemon
#
RDPD=0
#
# Reverse ARP daemon configuration. See rarpd(1m)
#
# RARP: Set to 1 to start rarpd daemon
#
RARP=0
ROUTE_GATEWAY[0]=10.1.32.1
ROUTE_COUNT[0]=1
ROUTE_DESTINATION[0]="net 10.1.60.0"
IP_ADDRESS[0]=10.1.32.12
SUBNET_MASK[0]=255.255.255.240
ROUTE_GATEWAY[1]=10.80.241.3
ROUTE_COUNT[1]=1
ROUTE_DESTINATION[1]=default
IP_ADDRESS[1]=10.80.241.12
SUBNET_MASK[1]=255.255.255.224
ROUTE_GATEWAY[2]=10.1.32.1
ROUTE_COUNT[2]=1
ROUTE_DESTINATION[2]="host 172.16.1.2"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2005 08:35 PM
10-26-2005 08:35 PM
Re: ip configuration problem!!
ROUTE_GATEWAY[0]=10.1.32.1
ROUTE_COUNT[0]=1
ROUTE_DESTINATION[0]="net 10.1.60.0"
>>>IP_ADDRESS[0]=10.1.32.12
SUBNET_MASK[0]=255.255.255.240
ROUTE_GATEWAY[1]=10.80.241.3
ROUTE_COUNT[1]=1
ROUTE_DESTINATION[1]=default
>>>>IP_ADDRESS[1]=10.80.241.12
SUBNET_MASK[1]=255.255.255.224
Since these lines comes after the previous lines they are accepted.
hth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2005 08:36 PM
10-26-2005 08:36 PM
Re: ip configuration problem!!
e.g. netconf.old
If so, this may be causing the problem.
ALL files in the rc.config.d get sourced at start time, and as netconf.old appears after netconf, it may be that it is reading in the old values.
If so, it is not recommended to do this, rather create a backup directory in rc.config.d and create backup copies in there.
Having said that, I notice at the bottome of your netconf file you have:
ROUTE_GATEWAY[0]=10.1.32.1
ROUTE_COUNT[0]=1
ROUTE_DESTINATION[0]="net 10.1.60.0"
IP_ADDRESS[0]=10.1.32.12 <<<<< BAD
SUBNET_MASK[0]=255.255.255.240 <<<<< BAD
ROUTE_GATEWAY[1]=10.80.241.3
ROUTE_COUNT[1]=1
ROUTE_DESTINATION[1]=default
IP_ADDRESS[1]=10.80.241.12 <<<<< BAD
SUBNET_MASK[1]=255.255.255.224 <<<<< BAD
ROUTE_GATEWAY[2]=10.1.32.1
ROUTE_COUNT[2]=1
ROUTE_DESTINATION[2]="host 172.16.1.2"
Comment out or remove the above matrked 4 lines
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2005 08:45 PM
10-26-2005 08:45 PM
Re: ip configuration problem!!
the fact is I have a lot of netconf.xxxx in /etc/rc.config.d directory and never had a problem until now. I thought is maybe a problem that the system IP address (set_parms) is set to 10.80.241.12 and the lan1 being the built-in lan - so the default - this lan1 will get the system ip address. Is that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2005 08:45 PM
10-26-2005 08:45 PM
Re: ip configuration problem!!
Awadhesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2005 08:47 PM
10-26-2005 08:47 PM
Re: ip configuration problem!!
SUBNET_MASK[0]=255.255.255.240
BROADCAST_ADDRESS[0]=10.80.241.15
SUBNET_MASK[1]=255.255.255.224
BROADCAST_ADDRESS[1]=10.1.32.31
and running /sbin/init.d/net start should resolve your problem.