[mdlug] dual homed and dual default routes?
Rich Clark
rrclark at rrclark.net
Fri Feb 8 15:45:23 EST 2008
On Fri, 8 Feb 2008, Raymond McLaughlin wrote:
> Rich Clark wrote:
>> On Fri, 8 Feb 2008, Dean Durant wrote:
>>
>>> Hello, I am trying to create a dual homed machine, that routes packets,
>>> & runs squid.
>
>>> SNIP>
>
>> Do you have the following line in /etc/sysctl.conf?
>>
>> net.ipv4.ip_forward=1
>>
>> Check that first, as it's the most likely problem. If you do and it's set
>> to 0, change it to 1.
>
> Don't you need to reboot for this to have any effect? Or atleast restart
> networking? That's my general understanding of the files under /etc/.
Execute as root 'sysctl -p /etc/sysctl.conf' for immediate changes to take
effect. If you do change or add the line to sysctl.conf, they become
permanent.
> Isn't there a similar flag under /var, like /var/run/<something> that
> can do this on the fly?
Nah, easiest I know if is as above.
More information about the mdlug
mailing list