- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Clean Up netconf file?
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
05-01-2002 06:00 AM
05-01-2002 06:00 AM
My netconf file (/etc/rc.config.d/netconf) looks like this:
HOSTNAME="hostname"
OPERATING_SYSTEM=HP-UX
LOOPBACK_ADDRESS=127.0.0.1
IP_ADDRESS[0]=x.x.x.x
SUBNET_MASK[1]=255.255.255.0
INTERFACE_NAME[1]=lan1
BROADCAST_ADDRESS[1]=x.x.x.255
LANCONFIG_ARGS[1]="ether"
DHCP_ENABLE[0]=0
ROUTE_DESTINATION[1]="default"
ROUTE_MASK[1]=""
ROUTE_GATEWAY[1]=x.x.x.1
ROUTE_COUNT[1]=1
ROUTE_ARGS[0]=""
GATED=0
GATED_ARGS=""
RDPD=0
RARPD=0
IP_ADDRESS[1]=x.x.x.x
INTERFACE_NAME[0]=lan1
SUBNET_MASK[0]=
ROUTE_GATEWAY[0]=x.x.x.1
ROUTE_COUNT[0]=1
ROUTE_DESTINATION[0]=default
This looks a little messed up to me. Like INTERFACE_NAME[0] & INTERFACE_NAME[1] point to the same lan1 and the IP_ADDRESS[0] & IP_ADDRESS[1] are the same.
The reason I ask is I am planning to use the internal lan card and figured one card would be [0] and [1] for the other.
I figured I could just clean this up but I wanted to check first.
Thanks,
- Justin
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 06:10 AM
05-01-2002 06:10 AM
Re: Clean Up netconf file?
HTH
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 06:10 AM
05-01-2002 06:10 AM
Solution# First LAN card
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]= ....
SUBNET_MASK[0]= .....
BROADCAST_ADDRESS[0]= .....
LANCONFIG_ARGS[0]="ether"
DHCP_ENABLE[0]=0
# Second LAN card
INTERFACE_NAME[1]=lan1
IP_ADDRESS[1]= .....
SUBNET_MASK[1]= ......
BROADCAST_ADDRESS[1]= .......
LANCONFIG_ARGS[1]="ether"
DHCP_ENABLE[1]=0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 06:11 AM
05-01-2002 06:11 AM
Re: Clean Up netconf file?
Looks like you could do some house cleaning.
You could put all the intance numbers in order so it would be easer to see. Fix lan1 so it doesnt have both [0] and [1] intance numbers.
Looks good....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 06:18 AM
05-01-2002 06:18 AM
Re: Clean Up netconf file?
Thanks again,
- Justin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 06:30 AM
05-01-2002 06:30 AM
Re: Clean Up netconf file?
Bill Hassell, sysadmin