- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Wrong 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
тАО01-07-2011 05:40 PM
тАО01-07-2011 05:40 PM
Wrong default gateway
netstat -nr output is
default x.x.x.x UG 0 lan2 1500
instead of lan0.
The netconf file is ok.
I have rebooted the server and used
route delete default gateway and then
route add default gateway 1
but netstat keeps showing lan2 on the gateway and there is no connectivity to the outside.
IтАЩll appreciate your input on this issue.
Thank you,
Fidel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-07-2011 07:34 PM
тАО01-07-2011 07:34 PM
Re: Wrong default gateway
Try editting netconf with the gateway entry and also do assign the gateway with the all powerful command set_parms. Try both. Hope it helps.
Regards
Ismail Azad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-07-2011 08:11 PM
тАО01-07-2011 08:11 PM
Re: Wrong default gateway
Hiding potentially useful details ("x.x.x.x")
may not be the most efficient path to helpful
answers.
> The netconf file is ok.
I'm glad that you like it, but seeing the
actual file contents might be more helpful
than seeing your opinion of them.
> but netstat keeps showing lan2 on the
> gateway [...]
And this is a problem because ...?
> [...] there is no connectivity to the
> outside.
You determined this how?
As usual, showing actual commands with their
actual output can be more helpful than vague
descriptions or interpretations.
It might be helpful if you revealed the IP
addresses and netmasks of all the interfaces
on this system. And "gateway".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-08-2011 03:42 AM
тАО01-08-2011 03:42 AM
Re: Wrong default gateway
Sometimes with some reason route delete can be unable to delete specified route, you can then try the following to just flush the route tables *
# /usr/sbin/route ├в f
prior to do this I recommend to keep a backup of old netstat -rn output, and netconf file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2011 08:28 AM
тАО01-10-2011 08:28 AM
Re: Wrong default gateway
route has nothing to do with the lan-id you use.
Your server will always use the defined lan!
You can try to use SAM (Networking and Communications) to change the settings.
HTH
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2011 10:28 AM
тАО01-10-2011 10:28 AM
Re: Wrong default gateway
Without a netstat -nrv and netstat -ni
and the address of the default gateway
it will be difficult to help you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2011 10:31 AM
тАО01-10-2011 10:31 AM
Re: Wrong default gateway
> instead of lan0.
This means that the address of your default x.x.x.x is in lan2 subnet range.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2011 12:18 PM
тАО01-10-2011 12:18 PM
Re: Wrong default gateway
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2011 03:36 PM
тАО01-10-2011 03:36 PM
Re: Wrong default gateway
make sure the ip address associated with the default route is showing up under lan0 as you expect but not on lan2 (which I am assuming is in your case). Once you re-configure your lan from lan2 to lan0, everything will be okay.
outputs from the following commands would be most helpful
lanscan
ifconfig lan0
ifconfig lan2
netstat -rn
netstat -in
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2011 04:30 PM
тАО01-10-2011 04:30 PM
Re: Wrong default gateway
The issue was a switch port wrongly assigned.
Thank you again for your great help.
Fidel