How to create a bridge on libbsd?

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Nov 10 07:33:51 UTC 2016


Hello Yu Lei,

I suggest to first update to the RTEMS and libbsd Git master and then 
try if it already works.

On 10/11/16 06:57, yu lei wrote:
> Dear all,
>
> I have a board with two network interfaces, and now I can configure 
> them up successfully. My rtems version is the master version in May, 2016.
>
> However, I failed to create a bridge and set interfaces as its 
> members. Referring to tutorial[1] from freebsd about bridge, I try to 
> use "ifconfig bridge create", "ifconfig bridge0 addm iface0 addm 
> iface1up" to create it using rtems_bsd_command_ifconfig().
> What I got from terminal is "ifconfig SIOCIFCREATE2: Invalid argument" 
> and an command execution failure.
>
> I also notice that libbsd support rc.conf in June but I havn't tried 
> it. Will it be helpful to setup a bridge and does ifconfig support 
> bridge operation?
>
> Best regards,
> Yu Lei
>
>
> [1] https://www.freebsd.org/doc/handbook/network-bridging.html
>
>
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the users mailing list