dhclient changes: ifconfig_sisXX="... DHCP" almost works right with natd

Brooks Davis brooks at one-eyed-alien.net
Mon Jun 27 16:43:26 GMT 2005


On Sun, Jun 19, 2005 at 01:24:09AM +0100, Robert Watson wrote:
> 
> With the new dhclient arrangement, it looks like we almost support the 
> following syntax:
> 
> ifconfig_sis0="ether 00:XX:XX:XX:XX:XX DHCP"
> 
> In that the boot sequence appears to automatically try DHCP after doing 
> the ifconfig line.  This is great.  However, it looks like the detection 
> of interfaces to use "-dynamic" with in /etc/rc.d/natd no longer works. 
> Specifically, when I use the above syntax in rc.conf and run sh 
> /etc/rc.d/natd start, I get the following:
> 
>  natdnatd: sis0: cannot get interface address
> 
> If I manually launch natd with -dynamic, then it does work properly again. 
> If I remove the extended ether segment of the ifconfig line, it works 
> again also. So it looks like 'list_net_interfaced dhcp' isn't matching the 
> sis0 interface in the above example?

The check is broken in that case, I'm going to fix it this week
(assuming someone hasn't done it for me already).

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050627/8124d24a/attachment.bin


More information about the freebsd-current mailing list