[Cialug] Ip forward question

Barry Von Ahsen barry at vonahsen.com
Mon Dec 14 16:00:18 CST 2009


tack 'em on the bottom of /etc/init.d/network with some comment about 
#stupid RH networking, grumble grumble ?

then forget about it for six months until there's an update that 
clobbers your changes


-barry


Tom Pohl wrote:
> You can always change the default in sysctl.conf
> net.ipv4.conf.default.proxy_arp = 1
> 
> BUT that may have unintended consequences depending on if you want to do proxy_arp on all interfaces or just your select 2!
> 
> -Tom
> 
> 
> On Dec 14, 2009, at 3:34 PM, albus wrote:
> 
>> I've got a new proxy arp firewall setup with CentOS 5.4
>>
>> It has only 2 nics.
>>
>> I've run 
>> echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp
>> echo 1 > /proc/sys/net/ipv4/conf/eth1/proxy_arp
>>
>> And it all works. However every time I service network restart or reboot it drops forwarding
>> until I re-issue the 2 echo lines.
>>
>> Something is over writing it. From what I've Googled it's a problem others have had as well. But
>> I haven't run in to how to make it permanant.
>>
>> I'm about to just include the 2 echo lines in /etc/rc.local 
>> But I'd rather know where to make it stick instead.
>>
>> Any ideas?
>>
>> _______________________________________________
>> Cialug mailing list
>> Cialug at cialug.org
>> http://cialug.org/mailman/listinfo/cialug
> 
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug



More information about the Cialug mailing list