HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: route add default does not take for second vla...
Operating System - HP-UX
1837193
Members
2430
Online
110114
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
11-01-2004 12:44 PM
11-01-2004 12:44 PM
route add default does not take for second vlan
I have two front end networks and one backend. The backend of course works for all as it is one large broadcast domain.
The second front end is pingable but routes do not take. I remember a few years ago something about an hp-ux bug (ok it wasnt a bug but some arguement about rfc conformaty) that prevented this scenerio from working but that there was a work around.
Web/App network: 10.81.46.1/26
Web server1: 10.81.46.5 (Works)
Web server2: 10.81.46.11 (Works)
App server1: 10.81.46.13 (Works)
DB Network: 10.81.46.64/26
DB Server1: 10.81.46.69 (Front end does not work)
The web/app servers work just fine as their gateway is 10.81.46.1 and hp-ux likes that.
I can ping 10.81.46.64 all day long just fine, but can not add that as my default route.
I have tried using different metrics, netmasks (though only 255.255.255.192 should work), different incantations of the route add command and no luck.
I can ping the gateways just fine. In both vlans the gateway is pingable from the servers within the respective vlan.
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
10.81.46.69 10.81.46.69 UH 0 lan0 4136
192.168.0.10 192.168.0.10 UH 0 lan1 4136
10.80.16.252 10.80.16.252 UH 0 lan5 4136
10.81.46.64 10.81.46.69 U 2 lan0 1500
10.80.16.0 10.80.16.252 U 2 lan5 1500
127.0.0.0 127.0.0.1 U 0 lo0 0
Any thoughts?
This is HP-UX 11.11 with latest patch bundle applied.
The second front end is pingable but routes do not take. I remember a few years ago something about an hp-ux bug (ok it wasnt a bug but some arguement about rfc conformaty) that prevented this scenerio from working but that there was a work around.
Web/App network: 10.81.46.1/26
Web server1: 10.81.46.5 (Works)
Web server2: 10.81.46.11 (Works)
App server1: 10.81.46.13 (Works)
DB Network: 10.81.46.64/26
DB Server1: 10.81.46.69 (Front end does not work)
The web/app servers work just fine as their gateway is 10.81.46.1 and hp-ux likes that.
I can ping 10.81.46.64 all day long just fine, but can not add that as my default route.
I have tried using different metrics, netmasks (though only 255.255.255.192 should work), different incantations of the route add command and no luck.
I can ping the gateways just fine. In both vlans the gateway is pingable from the servers within the respective vlan.
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
10.81.46.69 10.81.46.69 UH 0 lan0 4136
192.168.0.10 192.168.0.10 UH 0 lan1 4136
10.80.16.252 10.80.16.252 UH 0 lan5 4136
10.81.46.64 10.81.46.69 U 2 lan0 1500
10.80.16.0 10.80.16.252 U 2 lan5 1500
127.0.0.0 127.0.0.1 U 0 lo0 0
Any thoughts?
This is HP-UX 11.11 with latest patch bundle applied.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 03:04 PM
11-01-2004 03:04 PM
Re: route add default does not take for second vlan
Hi,
The bug or the compliance was that first and last subnets as a result of subnetting were being considered as "network" and "broadcast" addresses by old routing protocols. So, they wouldn't work if you used those IP addresses for hosts.
You can turn off checking it by setting the ndd parameter 'ip_strong_es_model' to 0
ndd -set /dev/ip ip_strong_es_model 0
You may also want to consider setting 'ip_check_subnet_addr' to 0.
-Sri
The bug or the compliance was that first and last subnets as a result of subnetting were being considered as "network" and "broadcast" addresses by old routing protocols. So, they wouldn't work if you used those IP addresses for hosts.
You can turn off checking it by setting the ndd parameter 'ip_strong_es_model' to 0
ndd -set /dev/ip ip_strong_es_model 0
You may also want to consider setting 'ip_check_subnet_addr' to 0.
-Sri
You may be disappointed if you fail, but you are doomed if you don't try
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2004 03:26 PM
11-02-2004 03:26 PM
Re: route add default does not take for second vlan
I think you have made a mistake in your IP plan or perhaps in your thinking. You have a network DB Network: 10.81.46.64/26. You can not use 10.81.46.64 (nor 10.81.46.127) as a host address since that is the network address (broadcast address) and it is no wonder that the route won't take. In many older unix systems the network address is also responded to as if it were a broadcast so pinging it may work work even if there is no host on that address.
The default route should point to a router in the range 10.81.46.65 to 20.82.46.126 (and use a metric of 1). The router should know how to get to other subnets. Is there such a router? Is there really a router at 10.81.46.64?
Assuming there really is a router at 10.81.46.64 it cannot have a mask of 255.255.255.192 (/26). This is what happens if I try to assign that ip address to a cisco router:
(config-if)#ip add 10.81.46.64 255.255.255.192
Bad mask 255.255.255.192 for address 10.81.46.64.
Ron
The default route should point to a router in the range 10.81.46.65 to 20.82.46.126 (and use a metric of 1). The router should know how to get to other subnets. Is there such a router? Is there really a router at 10.81.46.64?
Assuming there really is a router at 10.81.46.64 it cannot have a mask of 255.255.255.192 (/26). This is what happens if I try to assign that ip address to a cisco router:
(config-if)#ip add 10.81.46.64 255.255.255.192
Bad mask 255.255.255.192 for address 10.81.46.64.
Ron
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP