cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4340
Views
5
Helpful
5
Replies

Binding loopback interface with physical interface

AbuRafay63
Level 1
Level 1

Dears,

 

I have a query that i saw one option of "bind interface(Gigabitethernet 0/0/0)" while configuring loop back WAN link. 

Interface Loopback1

tunnel-interface

encapsulation ipsec 

color private1 

bind Gigabitethernet 0/0/0

what does it mean by "bind interface (Gigabitethernet)" command??? 

 

Thanks

 

5 Replies 5

Hi,

 

in some circumstances you may need that physical interface without tunnel-interface configuration. Because command "tunnel-interface" hard-codes interface to run /send/receive only specific type of traffic, basically makes interface "SD-WAN interface" and you can't do regular routing over it.

 

Let me explain in one simple-classical case:

Suppose you have controllers in DC, you have SD-WAN border router on DC. And your branch router (also runs SD-WAN) want to reach controllers over DC border router. Topology:

 

DC_CONTROLLERS --- DC_Border --- WAN (example MPLS) --- BRANCH_Border.

 

In this case, if you configure tunnel interface on physical port (that is connected to MPLS WAN), then branch can't connect to controllers through DC_Border. This is because regular routing (L3 packet switching i.e getting packet on one interface and sending over another) can't be done through tunnel-interface. Tunnel-interface should receive SD-WAN specific traffic, that is: tunnel traffic (gre or ipsec) or native traffic (dns,netconf,sshd etc) that destined to router itself.

 

In this type of cases, you may create loopback interface, bind it to physical interface,add tunnel configuration to loopback interface, but not configure tunnel-interface on physical. Since, tunnel-interface is not configured on physical ,it can do regular L3 packet switching routing and in our case, branch router can connect to dc-controllers over dc-border router.

 

In short, answer to your question is: after adding tunnel-configuration to loopback, you bind it to one physical interface, so loopback (software interface) can understand over which physical interface (hardware interface) it allowed to send traffic.

 

There are several other cases where loopback method can be useful. Read Cisco SD-WAN Design Guide (excellent document), link below.

 

https://www.cisco.com/c/en/us/td/docs/solutions/CVD/SDWAN/cisco-sdwan-design-guide.html#LoopbackInterfaceTunnels

 

HTH,

HTH,
Please rate and mark as an accepted solution if you have found any of the information provided useful.

Hello.

Do I have to configure NAT If I use loopback binding ?

Thanks.

It totally depends on your need. NAT is just for address translation  - if needed (which can be in case of service side nat or direct internet access).

HTH,
Please rate and mark as an accepted solution if you have found any of the information provided useful.

Thank you so much

No. It all depends up on the physical interface (WAN transport) (requirements).