Date: Fri, 07 Aug 2015 17:33:51 +0300 From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: Marcelo Gondim <gondim@bsdinfo.com.br>, FreeBSD Stable Mailing List <freebsd-stable@freebsd.org> Subject: Re: Routing stops working when we create a new vlan Message-ID: <55C4C1CF.5070505@yandex.ru> In-Reply-To: <55C4C0BB.5070204@bsdinfo.com.br> References: <55C3E641.9060305@bsdinfo.com.br> <55C4AFC8.9030302@yandex.ru> <55C4C0BB.5070204@bsdinfo.com.br>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --2J2lcH7495KQt0ODaTXEmdpp64X0ctMmd Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 07.08.2015 17:29, Marcelo Gondim wrote: > On 07-08-2015 10:16, Andrey V. Elsukov wrote: >> On 07.08.2015 01:57, Marcelo Gondim wrote: >>> For all work again I need to restart the router. >>> I don't know if I could correctly explain the problem. >> Do you have gateway_enable=3D"YES" in your /etc/rc.conf? >> > I have net.inet.ip.forwarding=3D1 but when I create a new vlan, the sys= tem > is changing to: net.inet.ip.forwarding=3D0. Why? AFAIR, devd starts some scripts and if you don't have gateway_enable=3D"YES" net.inet.ip.forwarding will be reset to zero. And since devd doesn't restart sysctl.conf you lose your gateway. The right way to configure router - use gateway_enable=3D"YES" in rc.conf= =2E > I try to go back to the value 1 and the system does not return to work.= > Only back to work if I restart the system. This seems strange, are you sure? --=20 WBR, Andrey V. Elsukov --2J2lcH7495KQt0ODaTXEmdpp64X0ctMmd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJVxMHQAAoJEAHF6gQQyKF6PaQH/ivKpKH2cvAsuXjlhUgYSZ+d EALEzZD8x6bj+/Ou9DSgaB7+ekr5LWPBoVoxWYApTYKuIiybzCGnPIYZLBRb0ePl uQWDxyyVS4CLnqoUrNtXOolYiwhjiKpsB256hgHy5u7EWPwGYcZsmw4zDPuZZg5e /ug6kyVQcnxd+BFwduBKXXzYrX4DMJfAMv4ygSB5w42FwBclzJGVt2zBeN1u0eoz ESioiZJ+bi5wxEj2ArhUHjYNxn98mJwG60HUM6OASH0c0rlcOotsQFhyVWY/OoL/ e+91tzlfv/jrxEDdd6n1cuNhlPKG0WchUnTIizd+SwMapKD8NKFxvfPwrkiaDik= =G1b1 -----END PGP SIGNATURE----- --2J2lcH7495KQt0ODaTXEmdpp64X0ctMmd--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55C4C1CF.5070505>