Configure loopback IP address for http request

Unanswered Question
Sep 6th, 2010
User Badges:

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
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Steven Holl Tue, 09/07/2010 - 07:41
User Badges:
  • 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:

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.



This Discussion