Layer7 API Management

  • 1.  How to bind a service on a specific interface ?

    Posted Mar 22, 2017 05:05 AM

    Hi all,

     

    I need to publish the same service from different environment on the same IP Gateway. I need to bind the tow different publishing on specific IPs or interface.

     

    I would like to have something like :

    - eth0 : 192.168.1.100:8080/myservice/hello --> Test backend

    - eth1 : 192.168.1.101:8080/myservice/hello --> Preproduction backend

     

    I do not want to reach Test from the 192.168.1.100 neither to reach Preproduction from the other interface.

     

    I was able to bind specific IPs on specific port but all services are available on both interfaces... I'll need help !

     

    Thank you in advance for your help,

    Regards,

    Greg



  • 2.  Re: How to bind a service on a specific interface ?
    Best Answer

    Broadcom Employee
    Posted Mar 22, 2017 08:50 AM

    Hi Greg,

     

    I would suggest reviewing the listen port advanced properties, specifically the option to 'Associate port with single published service'. If it needs more refining you can setup a policy that checks the incoming port/ip and route accordingly.

     

    Listen Port Properties - CA API Gateway - 9.2 - CA Technologies Documentation 

    Transport Layer Context Variables - CA API Gateway - 9.2 - CA Technologies Documentation 

     

    Regards,

    Joe



  • 3.  Re: How to bind a service on a specific interface ?

    Posted Mar 22, 2017 09:08 AM

    Thank you ! I works as expected.