dhcpcd-discuss

unsupported interface type 00 for ng0 and tun0 on FreeBSD

Guy Yur

Thu Mar 05 19:19:50 2015

Hi,

I am running dhcpcd on FreeBSD for IPv6 prefix delegation on netgraph
ppp interface (mpd5) and also to give an OpenVPN tun0 an IPv6 prefix.

dhcpcd complains tun0 and ng0 have unsupported interface type
because tun0 is IFT_PPP and ng0 is IFT_PROPVIRTUAL.
This is only cosmetic, the default case still allows them
when they are specified in the configuration.

dhcpcd[821]: tun0: unsupported interface type 00
dhcpcd[821]: ng0: unsupported interface type 00


1. Should sdl->sdl_type be printed instead of ifp->family
   for "%s: unsupported interface type %.2x"?
   (print_unknown_sdl_type.patch)
   with the patch:
   dhcpcd[4233]: tun0: unsupported interface type 17
   dhcpcd[4233]: ng0: unsupported interface type 35

2. Can IFT_PPP and IFT_PROPVIRTUAL be added to the
   known types and be like bridge - only used if
   specified in config without warning on unsupported?
   (something like handle_ppp_and_propvirtual.patch)

Thanks,
Guy

Attachment: print_unknown_sdl_type.patch
Description: Binary data

Attachment: handle_ppp_and_propvirtual.patch
Description: Binary data


Follow-Ups:
Re: unsupported interface type 00 for ng0 and tun0 on FreeBSDRoy Marples
Archive administrator: postmaster@marples.name