Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Forward traffic on IP to another HPUX machine

Status
Not open for further replies.

desktophero

Programmer
Mar 30, 2001
33
US

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.
 
Actually, I want the traffic to go to the other side of the B2000 NIC #2. The destination IP is 10.250.22.101. The only way to get to that IP address is through 10.250.22.102.

Sorry about that.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top