As I understand that the loopback interface( is used to route packets back to the source. How is it then used to talk to iBGP neighbors? I understand that the goal is to ensure that the interface doesn't go down, so using an emulated/software interface ensures that, but how to packets go out of the host on a loopback interface. Thanks in advance.

  • You should mention which OS you are using. You can't rely on all of them to behave the same. You should not be relying on or the loopback interface for talking to neighbors. – kasperd May 18 '14 at 8:46

A loopback interface on BGP speaking routers doesn't use only It uses a routable address and can be used to reach a router regardless of what interface is used. This can be useful e.g. when configuring BGP sessions between two routers which have multiple paths between them, but you don't want to be specific on which interfaces are used.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.