Docker with two differents gateways

Hello,
My scenario is:

routes added:
ip route add table link1 10.1.1.0/26 via 10.1.1.1 dev eth0
ip route add table link1 192.168.1.0/26 via 192.168.1.1 dev eth1
ip route add default via 10.1.1.1 table link1
ip route add table link2 10.1.1.0/26 via 10.1.1.1 dev eth0
ip route add table link2 192.168.1.0/26 via 192.168.1.1 dev eth1
ip route add default via 192.168.1.1 table link2
ip rule add from 10.1.1.0/26 lookup link1
ip rule add from 192.168.1.0/26 lookup link2

rt_tables:
255 local
254 main
253 default
0 unspec
128 link1
129 link2

docker version:
Client:
Version: 17.04.0-ce
API version: 1.28
Go version: go1.7.5
Git commit: 4845c56
Built: Mon Apr 3 18:07:42 2017
OS/Arch: linux/amd64

Server:
Version: 17.04.0-ce
API version: 1.28 (minimum version 1.12)
Go version: go1.7.5
Git commit: 4845c56
Built: Mon Apr 3 18:07:42 2017
OS/Arch: linux/amd64
Experimental: false

The problem is:
When I try access the service in port 7000 througth the host in the same network (10.1.1.0/26 or 192.168.1.0/26), this access did not work, but through of other network (10.10.10.0/24) and other host I access with success. I need access this service througth the network 10.1.1.0/26 or 192.168.1.0/26, what I’m doing wrong?.
Details:
Telnet and curl also not work, in host in the same network. If I try execute telnet inside the DOCKER HOST utilizing localhost it is work, but telnet or curl in 10.1.1.2 or 192.168.1.2 not.

I’m using ubuntu 16.04:
4.4.0-78-generic