opt.h文件中修改 #define LWIP_IGMP 1ethernetif.c文件中修改 netif->flags |= NETIF_FLAG_BROADCAST | NETIF_FLAG_ETHARP |NETIF_FLAG_IGMP;gd32f4xx_enet.c 中enet_default_init(void)函数的ENET_MULTICAST_FILTER_PERFECT修改为ETH_MULTICAST_FILTER_NONE;