- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: netconf settings
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
01-30-2004 03:04 AM
01-30-2004 03:04 AM
But here is our current and old netconf file settings. Can someone comment if they look ok especially the BROADCAST_ADDRESS? We have 2 identical machines and what we are doing is swapping IP's so we can test Disaster Recovery as well as set up a box, upgrade, test, and then swap IP's almost unnoticably to the user.
Thanks in advance, Doug
NETCONF file from 2 years ago
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=10.1.0.16
SUBNET_MASK[0]=255.255.255.0
BROADCAST_ADDRESS[0]=10.1.255.255
INTERFACE_STATE[0]=up
DHCP_ENABLE[0]=0
ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=10.1.0.1
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""
RARP=0
IP_ADDRESS[1]=10.1.0.14
SUBNET_MASK[1]=255.255.255.0
INTERFACE_NAME[1]=lan1
BROADCAST_ADDRESS[1]=10.1.255.255
INTERFACE_STATE[1]=up
DHCP_ENABLE[1]=0
IP_ADDRESS[2]=10.1.0.16
SUBNET_MASK[2]=255.255.255.0
INTERFACE_NAME[2]=lan1:1
BROADCAST_ADDRESS[2]=10.1.255.255
INTERFACE_STATE[2]=up
netconf new from December 2003
INTERFACE_NAME[0]=lan0
#IP_ADDRESS[0]=10.1.0.16
IP_ADDRESS[0]=206.193.1.131
SUBNET_MASK[0]=255.255.255.0
#BROADCAST_ADDRESS[0]=10.1.255.255
BROADCAST_ADDRESS[0]=206.193.1.255
INTERFACE_STATE[0]=up
DHCP_ENABLE[0]=0
ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=""
#ROUTE_GATEWAY[0]=10.1.0.1
ROUTE_GATEWAY[0]="206.193.1.1"
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""
#IP_ADDRESS[1]=10.1.0.14
IP_ADDRESS[1]=206.193.1.132
SUBNET_MASK[1]=255.255.255.0
INTERFACE_NAME[1]=lan1
#BROADCAST_ADDRESS[1]=10.1.255.255
BROADCAST_ADDRESS[1]=206.193.1.255
INTERFACE_STATE[1]=up
DHCP_ENABLE[1]=0
#IP_ADDRESS[2]=10.1.0.16
#IP_ADDRESS[2]=206.193.1.131
#SUBNET_MASK[2]=255.255.255.0
#INTERFACE_NAME[2]=lan1:1
#BROADCAST_ADDRESS[2]=10.1.255.255
#BROADCAST_ADDRESS[2]=206.193.1.255
#INTERFACE_STATE[2]=up
#DHCP_ENABLE[2]=0
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2004 03:11 AM
01-30-2004 03:11 AM
SolutionCan not have two NIC's on the same network/subnet with HP-UX.
You have two different interfaces with subnest mask 255.255.255.0 Can't do that.
It is best to test the configuration with ifconfig commands first before modifyiing the permanent network configuration of your box.
This will let you see errors in configurations instead of having to read netconf and try and figure it out.
I would restore netconf, restart the server and then test the recommended changes one at a time with ifconfig and route add commands. Then you can take a specific error to your network guy.
Note there can only be one copy of netconf in /etc/rc.config.d/ directory
If there are two they will BOTH be processed. Keep backups elsewhere.
I have looked at your configuration and see you are not consistent with using double quotes. You should be consisten. Also an invisible character in the wrong place can lead to trouble.
The real issue though appears to be an unsupported configuration.
Remember also you can not with HP-UX have two NIC cards on the same network. Microsoft supports this, as does Linux HP-UX does not.
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-30-2004 03:11 AM
01-30-2004 03:11 AM
Re: netconf settings
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2004 03:18 AM
01-30-2004 03:18 AM
Re: netconf settings
I don't see a problem, however, of having 2 class C subnets (subnet mask 255.255.255.0) as long as they are different networks (206.193.1 on 1 NIC and 206.193.2 on the other for example).
We run 2 different class C networks on our machines without a problem (170.7.2 and 170.7.47 both with 255.255.255.0 subnet mask).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2004 03:23 AM
01-30-2004 03:23 AM
Re: netconf settings
Wow - does that mean if you know IOS you'd be allowed to log on to their routers & make changes? Let them deal with the router & you deal with the OS. The right tool for the job I say & that includes the person wielding it.
Now to the netconf file. Did the network dude create that new one? You're going to have trouble with it because you have *both* NICS on the same subnet. Not supported because traffic can come in one NIC & be sent out the other or vice-versa. IF you need 2 IPs on the same subnet set one of them up as a virtual - i.e.
lan0 = 206.193.1.131
lan0:1 = 206.193.1.132
My 2 cents,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2004 03:36 AM
01-30-2004 03:36 AM
Re: netconf settings
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2004 03:25 AM
02-03-2004 03:25 AM
Re: netconf settings
You didn't say exactly what the symptoms of the problem the application was showing.
Secondly never manually fill in the BROADCAST ADDRESS. We know set_parms and SAM like to do that, but there is no earthly reason to add another field to be changed when reconfiguring a system. The system will create the correct broadcast address unless specified with the ifconfig command "broadcast" option.
It has been pointed out by other respondants to your posting that you are using 2 IP's on the same subnet. Are you sure you want to do this?
It does work, but we don't recommend it. See ITRC Doc # UTRANKBRC00011759 for more details.
Good luck with your DRP strategy, I hope this helps a little,
-> Brian Hackley