- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 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
Discussions
Discussions
Forums
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
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
тАО12-28-2009 11:10 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2009 11:15 PM
тАО12-28-2009 11:15 PM
SolutionCheck nestat -rn
# netstat -rn
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
192.168.112.143 192.168.112.143 UH 0 lan1 4136
16.118.112.143 16.118.112.143 UH 0 lan0 4136
16.118.112.0 16.118.112.143 U 2 lan0 1500
192.168.0.0 192.168.112.143 U 2 lan1 1500
127.0.0.0 127.0.0.1 U 0 lo0 0
default 16.118.112.1 UG 0 lan0 0
[rx260-17]/
Regards,
Sooraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2009 11:23 PM
тАО12-28-2009 11:23 PM
Re: default gateway
Check netstat -rn
It will show you all the routes and default gateway.
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2009 04:24 AM
тАО12-29-2009 04:24 AM
Re: default gateway
Also, verify "netconf" file (netconf: configuration values for core networking subsystems)
File --> /etc/rc.config.d/netconf
some entrys:
INTERFACE_NAME[0]=lan1
IP_ADDRESS[0]=172.X.X.X
SUBNET_MASK[0]=255.255.0.0
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]="up"
DHCP_ENABLE[0]=0
ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=172.X.0.200
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""
Rgs,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2009 06:40 AM
тАО12-29-2009 06:40 AM
Re: default gateway
As noted netstat -rn will show the default gateway which is permanently stored in /etc/rc.config.d/netconf
Gotha's
1) Do not change netconf and back up the file in /etc/rc.config.d/ both will be read and neither will work.
2) There can be but one default gateway. Other NIC card's can however have gateways in the configuration file or added with the route command.
SEP
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
тАО12-29-2009 08:17 AM
тАО12-29-2009 08:17 AM
Re: default gateway
Do not edit anything on this "/etc/rc.config.d/netconf" file if you dont have confidence what you are going to do
you can cat this file to see the informaion of your nic cards.
netstat -r or netstart -rn
is the command to see the default gateway.
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-01-2010 10:54 PM
тАО01-01-2010 10:54 PM