How to create a bridge on libbsd?

Chris Johns chrisj at rtems.org
Thu Nov 10 07:46:59 UTC 2016


On 10/11/16 6:33 pm, Sebastian Huber wrote:
> 
> I suggest to first update to the RTEMS and libbsd Git master and then
> try if it already works.
> 

I tried and ifconfig returns the error posted.

Chris

> 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
> 


More information about the users mailing list