1833875 Members
1578 Online
110063 Solutions
New Discussion

Dual homed node routing

 
Scott Torgerson
Occasional Contributor

Dual homed node routing

Hello,

This may be a long shot but I thought I would throw it out and see if anyone may have a trick (HP Support says it can't be done).

What I want to do is this:

If I have an HP server with multiple lan cards, I want to make "off net" traffic, go out the interface that it came in on, instead of using the default route.

ex:

Lan1 IP= 126.215.150.10
Lan2 IP= 126.215.152.10
Default Route= 126.215.150.1 (Lan1)

If remote traffic came from 160.230.120.25 to the Lan2 interface, it will go out Lan1 interface to go back (default route). I need a way to make that traffic go out the interface it came in on (Lan2 the non default route, in this example).

Thanks,
2 REPLIES 2
Jason VanDerMark
Trusted Contributor

Re: Dual homed node routing

I have never heard of anyone doing this, but I had a thought that is way out there, but what the hey, can't say I didn't try.

You might be able to fool the server into thinking that the route over the one card is shorter than the other. What I mean is say for example you have two networks, a and b. If I understood your question properly you want traffic coming off of a to go back out the same way it came. You could possibly do this by making the path to the other card an extra hop. I am not sure if this would work, but in theory if 10.20 uses OSPF (Open Shortest Path First) it may choose the shorter path and as such may send them back out. I know this may not be entirely what you were looking for, infact it may not even work, but hey its all I could think of and maybe it will spark someone else to come up with something.

Good Luck,
Jason V.
Tie two birds together, eventhough they have four wings, they cannot fly.
rick jones
Honored Contributor

Re: Dual homed node routing

I think your query got duplicated. Anyhow, in another forum there is a longer answer. The short version is that on HP-UX 11 you can set ip_strong_es_model to have route lookups include source IP address.

btw, I trust the listing of the same IP for the two cards was a typo...
there is no rest for the wicked yet the virtuous have no pillows