Date: Sun, 22 Dec 2002 01:47:22 +0100 (CET) From: Sten Spans <sten@blinkenlights.nl> To: FreeBSD-gnats-submit@FreeBSD.org Subject: conf/46454: dhcp_interfaces should be configurable in rc.conf Message-ID: <20021222004722.DE15655E7@ford.blinkenlights.nl>
next in thread | raw e-mail | index | archive | help
>Number: 46454 >Category: conf >Synopsis: dhcp_interfaces should be configurable in rc.conf >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Dec 21 16:50:03 PST 2002 >Closed-Date: >Last-Modified: >Originator: Sten Spans >Release: FreeBSD 4.7-STABLE i386 >Organization: none >Environment: System: FreeBSD ford.blinkenlights.nl 4.7-STABLE FreeBSD 4.7-STABLE #1: Mon Nov 11 01:04:34 CET 2002 root@ford.blinkenlights.nl:/usr/obj/usr/src/sys/FORD i386 FreeBSD 4.7-STABLE >Description: I have a machine with a vlan interface created with the following rc.conf entries: cloned_interfaces="vlan4" ifconfig_vlan4="vlan 4 vlandev fxp0" this vlan interface has to do dhcp for it's ip address, however I can't do : cloned_interfaces="vlan4" ifconfig_vlan4="DCHP" because that leaves the vlandev is un-configured. >How-To-Repeat: not aplicable >Fix: don't empty dhcp_interfaces in rc.network line 194 ( dhcp_interfaces="" ) which enables the following setup : cloned_interfaces="vlan4" ifconfig_vlan4="vlan 4 vlandev fxp0" dhcp_interfaces="vlan4" Which makes sense because you can specify network, ipv6_network and gif interfaces in rc.conf as well. This change makes dhcp possible on interfaces that need ifconfigging before they are dhcp ready. I think that this is a better solution than using /etc/start_if.${ifn} scripts because it keeps the config in rc.conf where it belongs. I also don't see why the emptying of dhcp_interfaces in rc.network is needed. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021222004722.DE15655E7>