How to create a bridge on libbsd?
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.
> 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,
>> However, I failed to create a bridge and set interfaces as its
>> members. Referring to tutorial 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
>>  https://www.freebsd.org/doc/handbook/network-bridging.html
>> users mailing list
>> users at rtems.org
More information about the users