Frr: Can I use FRR to directly create a loopback interface?

Created on 21 Sep 2020  路  7Comments  路  Source: FRRouting/frr

I found create a loopback interface in Kernel was very complex. SO, Can I use FRR to directly create a loopback interface?

question

Most helpful comment

@polychaeta autoclose in 1 week

All 7 comments

There is no code in FRR to add interfaces ( beyond some very very specialized code around pim ). Can you explain a bit better what you are trying to do? loopback devices under linux and *bsd are auto-created at run time.

There is no code in FRR to add interfaces ( beyond some very very specialized code around pim ). Can you explain a bit better what you are trying to do? loopback devices under linux and *bsd are auto-created at run time.

I have no idea to do it. But alot of protocols need loopback dev, like BGP needs loopback update source and as a peer. I will try to find a solution.

you can create loopback interface via the iproute2 command in linux

@polychaeta autoclose in 1 week

you can create loopback interface via the iproute2 command in linux

Thanks alot.
Which iproute2 command ? ip link add name loop0 type dummy? I'm not find loop type. And input ifconfig, the flag of dummy dev is not loopback.

This issue will no longer be automatically closed.

Was this page helpful?
0 / 5 - 0 ratings