bridgeif_initdata_t bridge_initdata = BRIDGEIF_INITDATA1(1, 1024,
16, ETH_ADDR(0, 1, 2, 3, 4, 5));
  if(netif_add(&bridge, &ip, &mask, &gw, &bridge_initdata,
bridgeif_init, NO_SYS ? netif_input : ethernet_input) == NULL) {
        LOG(LL_WARN,("Cannot create bridge!"));
  }

  if(netif_add(&mujbus, NULL, NULL, NULL, NULL, mynetif_init, NO_SYS ?
netif_input : tcpip_input) == NULL) {
        LOG(LL_WARN,("Cannot create interface!"));
  }

  bridgeif_add_port(&bridge, &mujbus);
  netif_set_up(&mujbus);
  netif_set_up(&bridge);


I've been looking bit more to what is going on and it does not even respond to ARP requests...
Perhaps there is some issue with MAC adresses?
Maybe i need to set that bridge port to some PROMISCUOUS mode to accept packets for all HW addresses?
But i was not able to figure out how that is done in LWIP.


--
S pozdravem
Best regards
     Tomáš Mudruňka - SPOJE.NET s.r.o.

_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to