- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Static Routing
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
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
09-26-2008 12:24 AM
09-26-2008 12:24 AM
Static Routing
If any expert can help.
My rx46460 (11i v2)server have 2 lan interfaces.
lan0 : 172.130.8.197 (production)
lan1 :192.169.1.240 (backup)
backup server ip :192.169.1.40
The purpose of this routing is to make the lan1 traffic dedicated for backup purposes and will not congest the production traffic.
I did run this command....
route add host 192.169.1.40 192.169.1.240
But somehow all the traffic(both lan) use the backup lan.So I need to disable the routing.
Currently the the backup use the production lan which reduce the throughput.
Please help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2008 12:31 AM
09-26-2008 12:31 AM
Re: Static Routing
check '/etc/rc.config.d/netconf' there should be both interfaces and it's also the right place for a permanent routing.
HTH
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2008 12:35 AM
09-26-2008 12:35 AM
Re: Static Routing
Your Lan1 IP (192.169.1.240) and the backup server IP (192.169.1.40) is in the same subnet. So need not to add the route.
You can simply fire backup from the production server. It will use the 192.169.1.240 IP only. beacuse It cannot communicate to the other lan interface (Different Class IP is assigned to lan0).
So simply delete the route and you can achieve the target.
Rgds
Sreekanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2008 01:42 AM
09-26-2008 01:42 AM
Re: Static Routing
When asking such question you should include
a netstat -nrv
because like that like already said, lan0 and lan1 have not the same class,
so traffic to net 192.169 should go lan1
and to net 172.130 go through lan0
execept if the remote address ids in lan1 range, or that default gateway s in lan1 network.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2008 04:36 PM
09-28-2008 04:36 PM
Re: Static Routing
camracd0:>netstat -rnv
Routing tables
Dest/Netmask Gateway Flags Refs Interface Pmtu
127.0.0.1/255.255.255.255 127.0.0.1 UH 0 lo0 4136
192.169.1.240/255.255.255.255 192.169.1.240 UH 0 lan1 4136
172.30.8.197/255.255.255.255 172.30.8.197 UH 0 lan0 4136
172.30.8.0/255.255.255.0 172.30.8.197 U 2 lan0 1500
127.0.0.0/255.0.0.0 127.0.0.1 U 0 lo0 0
default/0.0.0.0 172.30.8.1 UG 0 lan0 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2008 10:29 PM
09-28-2008 10:29 PM
Re: Static Routing
Routing tables
Dest/Netmask Gateway Flags Refs Interface Pmtu
127.0.0.1/255.255.255.255 127.0.0.1 UH 0 lo0 4136
192.169.1.240/255.255.255.255 192.169.1.240 UH 0 lan1 4136
172.30.8.197/255.255.255.255 172.30.8.197 UH 0 lan0 4136
172.30.8.0/255.255.255.0 172.30.8.197 U 2 lan0 1500
127.0.0.0/255.0.0.0 127.0.0.1 U 0 lo0 0
default/0.0.0.0 172.30.8.1 UG 0 lan0 0
It is strange that you don't have any
192.169.1.0/255.255.255.0 192.168.1.240 U 2 lan1 1500
it is like if you configured it as a point to point.
can you send also a
netstat -ni and ifconfig lan1
you should make a
route add net 192.169.1.0 192.168.1.240
then any message sent to 192.169.1.* will be send through lan1
all other traffic should gor through lan0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2008 10:40 PM
09-28-2008 10:40 PM
Re: Static Routing
BTW..below is the sample traceroute ..
Which still use lan 1 instead of lan0 raouting
---/etc/hosts------------
172.30.8.197 camracd0
192.169.1.240 camracd0 #nbu
127.0.0.1 localhost loopback
---traceroute----
camracd0:>traceroute 172.30.8.197
traceroute: Warning: Multiple interfaces found; using 192.169.1.240 @ lan1
traceroute to 172.30.8.197 (172.30.8.197), 30 hops max, 40 byte packets
1 camracd0 (172.30.8.197) 0.082 ms 0.046 ms 0.014 ms
---netstat -in
camracd0:>ifconfig lan1
lan1: flags=1842
inet 192.169.1.240 netmask ffffff00 broadcast 192.169.1.255
camracd0:>netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lan1* 1500 192.169.1.0 192.169.1.240 141761 6 319 0 0
lan0 1500 172.30.8.0 172.30.8.197 783607563 0 94770870 0 0
lo0 4136 127.0.0.0 127.0.0.1 29784553 0 29784553 0 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2008 12:16 AM
09-29-2008 12:16 AM
Re: Static Routing
check with 'lanscan' if lan0 is 'UP' or 'DOWN'.
Can you give us the output?
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2008 12:17 AM
09-29-2008 12:17 AM
Re: Static Routing
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/1/2/0 0x001438EB9BD4 0 UP lan0 snap0 1 ETHER Yes 119
0/1/2/1 0x001438EB9BD5 1 UP lan1 snap1 2 ETHER Yes 119
0/3/1/0 0x001321BD3E72 2 UP lan2 snap2 3 ETHER Yes 119
0/4/1/0 0x001321BD3EC9 3 UP lan3 snap3 4 ETHER Yes 119
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2008 12:24 AM
09-29-2008 12:24 AM
Re: Static Routing
somewhere you have a typo error:
192.169.1.240/255.255.255.255 192.169.1.240 UH 0 lan1 4136
You want
192.169.1.40/255.255.255.255 192.169.1.240 UH 0 lan1 4136
240 - 40
Where have you defined the routing?
'/etc/rc.config.d/netconf' ?
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2008 12:29 AM
09-29-2008 12:29 AM
Re: Static Routing
I deleted the 192.169.1.40 routing before I capture the netstat -rn. I need to delete it because dont want the production traffic use the 192.169.1.40 routing(Which is the main problem)
#route add host 192.169.1.40 192.169.1.24
camracd0:>netstat -rn
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
192.169.1.240 192.169.1.240 UH 0 lan1 4136
172.30.8.197 172.30.8.197 UH 0 lan0 4136
192.169.1.40 192.169.1.240 UH 0 lan1 0
172.30.8.0 172.30.8.197 U 2 lan0 1500
127.0.0.0 127.0.0.1 U 0 lo0 0
default 172.30.8.1 UG 0 lan0 0
Please help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2008 12:33 AM
09-29-2008 12:33 AM
Re: Static Routing
netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lan1* 1500 192.169.1.0 192.169.1.240 141761 6 319 0 0
you have had errors at lan1
Can you reset the error counter and try it again? (landiag?)
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2008 12:41 AM
09-29-2008 12:41 AM
Re: Static Routing
Can you tell me how to reset the counter. ?
Or maybe the full command.
FYI, we dont face similar issue on UNIX server running other than HPUX OS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2008 01:09 AM
09-29-2008 01:09 AM
Re: Static Routing
my example if for hp-ux 11.11:
'landiag'
-> Test Selection mode.
lan = LAN Interface Administration
menu = Display this menu
quit = Terminate the Administration
terse = Do not display command menu
verbose = Display command menu
'lan'
ppa = PPA Number of the LAN Interface
'ppa 1'
'dis' -> Display LAN Interface status and statistics registers:
second page:
Ethernet-like Statistics Group
Index = 1
Alignment Errors = 0
FCS Errors = 0
Single Collision Frames = 0
Multiple Collision Frames = 0
Deferred Transmissions = 0
Late Collisions = 0
Excessive Collisions = 0
Internal MAC Transmit Errors = 0
Carrier Sense Errors = 0
Frames Too Long = 0
Internal MAC Receive Errors = 0
'clear' -> Clear statistics registers
-> all counters of 'dis' are zero.
Test lan1 again - new errors?
Any traffic at all?
What's about disabling production lan0 ?
Traffic at lan1 ?
Maybe the switch is not configured properly?
Half-Duplex/Full-Duplex?
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2008 01:41 AM
09-29-2008 01:41 AM
Re: Static Routing
camracd0:>traceroute 172.30.8.197
traceroute: Warning: Multiple interfaces found; using 192.169.1.240 @ lan1
When you have more than one interface on a system, traceroute is chosing one to make its probe, whatever be the routing table!
So if you want to check traceroute is not the right tool to use except if you precise the -i option.
try ping -o 172.30.8.197 -n 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2008 01:55 AM
09-29-2008 01:55 AM
Re: Static Routing
sorry, I think my last answers go to the wrong direction lan1 is used the most time and you don't want to, right?
Another try:
Where's the backup server '192.169.1.40' in your host?
Also you check traceroute to yourself (172.30.8.197).
What's about another (external) ip?
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2008 05:51 AM
09-29-2008 05:51 AM
Re: Static Routing
don't use traceroute to do that.
in your case traceroute chose 192.169.1.240
to send its traffic.
but if you telnet, ping or watever you use it will chose according to the routing table.
try ping -o you will see that.
or make a network trace with tcpdump for instance, you will see that the interface used is lan1 only for 192.169.1.*
Don"t use traceroute to check that on a multi homed system!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2008 04:57 PM
09-29-2008 04:57 PM
Re: Static Routing
"Don"t use traceroute to check that on a multi homed system!"
But it in a real time on our production server...the traffic went hywire....
whenever we enable the netbackup routing..
We already report this case to hp last week...
and they gave this kind of solution
1. ndd -set /dev/ip ip_strong_es_model 0
which require "PHNE_37670 " patch....
anyone have tried install this patches..
any problem so far?
FYI...our production server is running Oracle 10g RAC.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2008 11:14 AM
10-10-2008 11:14 AM
Re: Static Routing
netstat -s -p tcp > before
netstat -s -p tcp > after
beforeafter before after > delta
less delta
etc etc
I'm guessing you have remote clients in other subnets and that is why return traffic to them would be following the default route even though you have your production and backup interfaces configured into separate IP subnets.
You will need to add an additional "default" route pointing at an IP in your backup subnet range and then indeed set ip_strong_es_model to either 1 or 2. I would suggest experiementing with this at a time when the DB is not in active production use, just to be careful.
You also need to be sure that if your backup server software _initiates_ connections (rather than passively accepts them) that it will bind to your backup network IP directly otherwise route selection may cause it to use the production IP and flow through the production network.