On Fri, Aug 7, 2015 at 9:54 AM, Marcelo Gondim <[email protected]>
wrote:
>
> But I still think it does wrong. Why to create a vlan I need to have this
> parameter configured in rc.conf? Or why it needs to change
> net.inet.ip.forwarding?
Because that is what the directions for configuring a default gateway
state, and the directions are based off of code behavior.
/etc/rc.d/routing:
if checkyesno gateway_enable; then
ropts_init inet
echo -n ' gateway=YES'
${SYSCTL} net.inet.ip.forwarding=1 > /dev/null
else
${SYSCTL} net.inet.ip.forwarding=0 > /dev/null
fi
--
Adam
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[email protected]"