# “Same” Consul Catalog service redirect to different service versions Traefik

**URL:** <https://community.traefik.io/t/same-consul-catalog-service-redirect-to-different-service-versions-traefik/3264>\
**Category:** Traefik v1\
**Tags:** consul-catalog, file\
**Created:** [December 2, 2019, 5:07pm UTC](https://community.traefik.io/t/same-consul-catalog-service-redirect-to-different-service-versions-traefik/3264 "2019-12-02T17:07:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tcnl](https://avatars.discourse-cdn.com/v4/letter/t/c2a13f/32.png) [@tcnl](https://community.traefik.io/u/tcnl)\
**Post date:** [December 2, 2019, 5:07pm UTC](https://community.traefik.io/t/same-consul-catalog-service-redirect-to-different-service-versions-traefik/3264/1 "2019-12-02T17:07:43Z")

</div>

Scenario, I want to Traefik to be able to differentiate service versions, let's imagine like that:

> foo.bar.service/api=1 ---\> 127.0.0.1/api=1  
> foo.bar.service/api=2 ---\> 127.0.0.1/api=2  
> foo.bar.service -----------\> 127.0.0.1/api=2

This way it would work if both services reside in the same IP/host since I could register them on consul using only the IP, but what if they are on different machines

> foo.bar.service/api=1 ---\> 183.159.14.1  
> foo.bar.service/api=2 ---\> 185.195.13.1  
> foo.bar.service ----------\> 185.195.13.1

How, if possible, could I achieve this?  
I'm using Traefik 1.7
