Operating System - HP-UX
1833768 Members
1852 Online
110063 Solutions
New Discussion

Re: Routing/IP Forwarding across multiple nics

 
SOLVED
Go to solution
Dan Hardison
Advisor

Routing/IP Forwarding across multiple nics

I have a rp2470 with the following network interfaces configured.

192.168.100.242 - lan0
10.2.1.1 - lan1 - Web server

My question is.... How do I insure that traffic coming in on the 10.2.1.1 interface WILL NOT BE ROUTED and/or FORWARDED across the other interface?

I guess a simple way to put it is "how do I turn OFF IP forwarding?"

TIA,
Dan
2 REPLIES 2
Sridhar Bhaskarla
Honored Contributor
Solution

Re: Routing/IP Forwarding across multiple nics

Hi,

set the ndd parameter

ndd -set /dev/ip ip_forwarding 0

Edit /etc/rc.config.d/nddconf and put an entry like this

TRANSPORT_NAME[0]=ip
NDD_NAME[0]=ip_forwarding
NDD_VALUE[0]=0

This will retain the ndd setting after reboots.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Dan Hardison
Advisor

Re: Routing/IP Forwarding across multiple nics

Thanks Sri! Worked like a charm!

Dan