1849087 Members
10497 Online
104041 Solutions
New Discussion

Forwarding IP packets

 
Paul Clayton
Frequent Advisor

Forwarding IP packets

How does one configure HPUX 11.00 to forward IP packets between interface cards.
4 REPLIES 4
Tim D Fulford
Honored Contributor

Re: Forwarding IP packets

to see waht it is:
ndd -get /dev/tcp ip_forwarding

to set it
ndd -set /dev/tcp ip_forwarding 1

o - No forwarding
1 - Forwarding
2 - forwarding if multiple interfaces

I'd set to 1

Tim
-
Paul Clayton
Frequent Advisor

Re: Forwarding IP packets

Brilliant!! That is the one command I did not try.

thanx
T G Manikandan
Honored Contributor

Re: Forwarding IP packets

To list current settings
# ndd -get /dev/ip ip_forwarding

To set to new value
# ndd -set /dev/ip ip_forwarding 0

The changes will be lost after a reboot .Make entries in /etc/rc.config.d/nddconf file.
TRANSPORT_NAME[0]=ip
NDD_NAME[0]=ip_forwarding
NDD_VALUE[0]=0

ndd -c will apply changes.


Thanks
rick jones
Honored Contributor

Re: Forwarding IP packets

unless someone has explicitly disabled it, since you said "interface cards" it implies you already have multiple interfaces, and HP-UX will by default forward packets.

there is a bit more to it of course - you have to have systems on either side of the HP-UX box configured to use the HP-UX box as a router.
there is no rest for the wicked yet the virtuous have no pillows