- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to add default gateway
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-25-2005 07:03 PM
05-25-2005 07:03 PM
How to add default gateway
Can any help me in adding default gateway and
subnetmask permanatly in hpux11
Thanks
Binu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2005 07:10 PM
05-25-2005 07:10 PM
Re: How to add default gateway
Use SAM --> Networking and Communication --> Network Interface Cards, select the card for which you want to Gateway/Netmask, select Actions --> Modify.
Make any desired changes, and you are done.
Method 2:
Edit /etc/rc.config.d/netconf and make desired changes, something like:
HOSTNAME="sliam33"
OPERATING_SYSTEM=HP-UX
LOOPBACK_ADDRESS=127.0.0.1
INTERFACE_NAME[0]="lan0"
IP_ADDRESS[0]="10.216.169.133"
SUBNET_MASK[0]="255.255.248.0"
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0
INTERFACE_MODULES[0]=""
ROUTE_DESTINATION[0]="default"
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]="10.216.168.1"
ROUTE_COUNT[0]="1"
ROUTE_ARGS[0]=""
Regards,
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2005 07:11 PM
05-25-2005 07:11 PM
Re: How to add default gateway
Try
# delete it from netconf
route delete default
# add a new one
route add default
# change netconf file using a script
./changeKeys.sh /etc/rc.config.d/netconf ROUTE_GATEWAY[0] "
# stop
/sbin/init.d/net stop
# restart service
/sbin/init.d/net start
Cheerio,
Renarios
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2005 07:17 PM
05-25-2005 07:17 PM
Re: How to add default gateway
You add through "route" command also. For Ex:
#route add default 192.168.252.193 netmask 255.255.255.0
Regards,
Saravanan M
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2005 07:30 PM
05-25-2005 07:30 PM
Re: How to add default gateway
Another way would be to "play it safe"
Use the set_parms addl_netwrk command and you key in the values which you want the system to have, even after a reboot.
Also, Please do assign points to who have answered your question;
http://forums1.itrc.hp.com/service/forums/pageList.do?userId=CA1271811&listType=unassigned&forumId=1
Regards,
--Naveej