To clarify: What is happening is that the ip address leaving the machine, if not on the same network, always gets translated to the ip address of the gateway, so that traffic never gets beyond that...
We have an HPUX machine that is having a routing problem. Any traffic sent on the local network (same switch) works fine. However, when we try to send traffic to any other ip the machine NAT's the ip...