cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1142
Views
0
Helpful
1
Replies

Configure loopback IP address for http request

rafi.imran
Level 1
Level 1

HI ,

I have loopback ip configured on my Cisco voice gateway pointing to two subinterfaces (Gig 0, Gig 1). I have a third party webserver.

From my voice gateway I need to send an http request to the third party webserver using loopback ipaddress and get the response on the same loopback ipaddress. But it so happens that even though I bind signals via loopback interface the third party server receives the gigabit ethernet ipaddress instead of loopback. Is this possible?

I have used following loopback related commands on the gateway. Is there anything other commands which are missed?

IP http client source-interface loopback0

bind control source-interface Loopback0

bind media source-interface Loopback0

1 Reply 1

Steven Holl
Cisco Employee
Cisco Employee

This may be a quirk with the order of operations that happens on a loopback interface VS a real interface.  If you change the http bind to a physical interface (pick an interface that *isn't* the closest to the destination IP to test with), does it pick the bound interface?

It also may be due to the nature of what originates the HTTP request.  Note this feature request:

CSCsq06282
Need ability to specify source address for HTTP messages from VXML GW

Does this occur from all HTTP queries, or just from HTTP queries for voice applications?  Perhaps there is a bug floating around here.

-Steve