Jump to content

No network on docker bridge.

2 posts in this topic Last Reply

Recommended Posts

Posted (edited)



I currently have an issue where I lost all network connectivity on the default docker bridge and all but one user defined network. I'm not sure where else to go but here are some commands I have used to try to diagnose. 


root@igbrain:~# docker run --rm busybox ip addr                 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet scope host lo
       valid_lft forever preferred_lft forever
2: tunl0@NONE: <NOARP> mtu 1480 qdisc noop qlen 1000
    link/ipip brd
3: gre0@NONE: <NOARP> mtu 1476 qdisc noop qlen 1000
    link/gre brd
4: gretap0@NONE: <BROADCAST,MULTICAST> mtu 1462 qdisc noop qlen 1000
    link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
5: erspan0@NONE: <BROADCAST,MULTICAST> mtu 1450 qdisc noop qlen 1000
    link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
6: ip_vti0@NONE: <NOARP> mtu 1480 qdisc noop qlen 1000
    link/ipip brd
7: sit0@NONE: <NOARP> mtu 1480 qdisc noop qlen 1000
    link/sit brd
62: eth0@if63: <BROADCAST,MULTICAST,UP,LOWER_UP,M-DOWN> mtu 1500 qdisc noqueue 
    link/ether 02:42:ac:11:00:04 brd ff:ff:ff:ff:ff:ff
    inet brd scope global eth0
       valid_lft forever preferred_lft forever
root@bigbrain:~# docker run --rm busybox ip route show           default via dev eth0 dev eth0 scope link  src 
root@bigbrain:~# docker run --rm busybox cat /etc/resolv.conf
# Generated DNSv4 entries:
root@bigbrain:~# docker run --rm busybox ping -c 4       PING ( 56 data bytes

--- ping statistics ---
4 packets transmitted, 0 packets received, 100% packet loss
root@bigbrain:~# docker run --rm busybox nslookup google.com     ;; connection timed out; no servers could be reached



Unraid box as far as I can tell has the proper route. The only network that works is the one I created using the following:


docker network create --driver=bridge --ip-range= --subnet= --gateway=192. 168.0.20--attachable -o "com.docker.network.bridge.name=br0" --aux-address="DefaultGatewayIPv4=" br0


Any help is appreciated! 



Edited by Kingedgar

Share this post

Link to post

you seem to have a 2nd NIC: eth1 ? or did you remove this at some point?


run docker network list

run docker network inspect [name of network]

run iptables -vnL


Share this post

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.