Created attachment 163351 [details] network.subr.diff The commit https://svnweb.freebsd.org/base?view=revision&revision=253924 by hrs@ had obsoleted rc.conf variable gif_interfaces and tried to support backward compatibility but failed. For example, this works for 9.x: gif_interfaces="gif0" gifconfig_gif0="1.1.1.1 2.2.2.2" ifconfig_gif0="inet 192.168.0.1 192.168.0.2" For 10.2-STABLE, gif0 is creates and tunnel addresses are assigned but inet addresses do not. Using cloned_interfaces instead of gif_interfaces does not help. Attached patch restores compatibility.
This is still a problem for 10.x and 11.0. Please commit the fix.
Created attachment 179135 [details] network.subr.diff Fix path
Hi! Just notifying you on awaiting PR. Would you like me to commit this one-liner myself?
A commit references this bug: Author: eugen Date: Sat Oct 20 18:01:48 UTC 2018 New revision: 339462 URL: https://svnweb.freebsd.org/changeset/base/339462 Log: Make upgrade from previous FreeBSD versions less painful and make previously working configuration like this work again: gif_interfaces="gif0" gifconfig_gif0="1.1.1.1 2.2.2.2" ifconfig_gif0="inet 192.168.1.1 192.168.1.2 netmask 255.255.255.252" PR: 204700 MFC after: 1 month Changes: head/libexec/rc/network.subr
A commit references this bug: Author: eugen Date: Mon Oct 22 17:27:36 UTC 2018 New revision: 339604 URL: https://svnweb.freebsd.org/changeset/base/339604 Log: MFC r339462: make upgrade from previous FreeBSD versions less painful and make previously working configuration like this work again: gif_interfaces="gif0" gifconfig_gif0="1.1.1.1 2.2.2.2" ifconfig_gif0="inet 192.168.1.1 192.168.1.2 netmask 255.255.255.252" PR: 204700 Approved by: re (gjb) Changes: _U stable/12/ stable/12/libexec/rc/network.subr
A commit references this bug: Author: eugen Date: Wed Oct 24 05:14:03 UTC 2018 New revision: 339679 URL: https://svnweb.freebsd.org/changeset/base/339679 Log: MFC r339462: make upgrade from previous FreeBSD versions less painful and make previously working configuration like this work again: gif_interfaces="gif0" gifconfig_gif0="1.1.1.1 2.2.2.2" ifconfig_gif0="inet 192.168.1.1 192.168.1.2 netmask 255.255.255.252" PR: 204700 Changes: _U stable/11/ stable/11/etc/network.subr
A commit references this bug: Author: eugen Date: Wed Oct 24 05:15:46 UTC 2018 New revision: 339680 URL: https://svnweb.freebsd.org/changeset/base/339680 Log: MFC r339462: make upgrade from previous FreeBSD versions less painful and make previously working configuration like this work again: gif_interfaces="gif0" gifconfig_gif0="1.1.1.1 2.2.2.2" ifconfig_gif0="inet 192.168.1.1 192.168.1.2 netmask 255.255.255.252" PR: 204700 Changes: _U stable/10/ stable/10/etc/network.subr
Committed and merged to all supported branches.