Skip to content

docker swarm some times register eth0 other eth1 #652

@viest

Description

@viest
/ # ifconfig
eth0      Link encap:Ethernet  HWaddr 02:42:0A:00:07:97
          inet addr:10.0.7.151  Bcast:10.0.7.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1450  Metric:1
          RX packets:835 errors:0 dropped:0 overruns:0 frame:0
          TX packets:817 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:473052 (461.9 KiB)  TX bytes:97115 (94.8 KiB)

eth1      Link encap:Ethernet  HWaddr 02:42:0A:FF:06:F7
          inet addr:10.255.6.247  Bcast:10.255.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1450  Metric:1
          RX packets:67 errors:0 dropped:0 overruns:0 frame:0
          TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:9171 (8.9 KiB)  TX bytes:23480 (22.9 KiB)

eth2      Link encap:Ethernet  HWaddr 02:42:AC:12:00:04
          inet addr:172.18.0.4  Bcast:172.18.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

fabio output:

 [INFO] consul: Registered fabio as "fabio"
 [INFO] consul: Registered fabio with id "fabio-ba36cab4e60d-9998"
 [INFO] consul: Registered fabio with address "10.255.6.247"
 [INFO] consul: Registered fabio with tags ""

consul check

Service 'fabio' check
Output
Get http://[10.255.6.247]:9998/health: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

I'm gonna use the eth0 network. What am I supposed to do?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions