desktophero
Programmer
I have an HP 11 B2000 with one physical NIC. I added a logical interface to that NIC so now I have two IP addresses. There is a second NIC that connects directly to another server and is isolated from the first NIC.
What i would like to do is create a redirect on the logical interface that automatically points to the second NIC on the B2000.
B2000 NIC #1:
IP Address = 192.168.1.128
Logical Interface = 192.168.1.133
B2000 NIC #2:
IP Address = 10.250.22.102
NIC #2 is connected via a cross connect to another machine. I would like the traffic coming in on 192.168.1.133 to be redirected to 10.250.22.102.
I am fairly confident this can be done. If i could figure out the equiv of iptables on HPUX, I think this would be pretty easy.
I have tried ROUTE_DESTINATION in the /etc/rc.config.d/netconf file to point to the other host IP as both IP and using the /etc/hosts file for name resolution. I also tried adding the "host " in ROUTE_DESTINATION field, but that still did not work.
Any suggestions?
Thanks.