Hello,

I have a debian "Jessie" on my beaglebone black. I have installed docker 
and the version is "1.6.2". 
For the internet connection on my beaglebone black, i have shared the 
internet connection of my laptop with my board through USB. 

*Before i start a docker:*
"
root@beaglebone:/home# ifconfig
docker0   Link encap:Ethernet  HWaddr 72:91:a5:2c:9b:51
          inet addr:172.17.42.1  Bcast:0.0.0.0  Mask:255.255.0.0
          inet6 addr: fe80::7091:a5ff:fe2c:9b51/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:38 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:6811 (6.6 KiB)

eth0      Link encap:Ethernet  HWaddr 54:4a:16:be:60:b7
          UP BROADCAST MULTICAST DYNAMIC  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:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:170

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:47856 errors:0 dropped:0 overruns:0 frame:0
          TX packets:47856 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3685552 (3.5 MiB)  TX bytes:3685552 (3.5 MiB)

usb0      Link encap:Ethernet  HWaddr 54:4a:16:be:60:b0
          inet addr:192.168.7.2  Bcast:192.168.7.3  Mask:255.255.255.252
          inet6 addr: fe80::564a:16ff:febe:60b0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2611 errors:0 dropped:0 overruns:0 frame:0
          TX packets:150 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:237262 (231.7 KiB)  TX bytes:29658 (28.9 KiB)
"

*Once i start a docker, and ping 8.8.8.8 i will get the following,*
"
root@84f465d6ba6f:/# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
>From 169.254.28.157 icmp_seq=1 Destination Host Unreachable
>From 169.254.28.157 icmp_seq=2 Destination Host Unreachable
>From 169.254.28.157 icmp_seq=3 Destination Host Unreachable
"

*and now exit the docker and check ifconfig,*
"
root@beaglebone:/home# ifconfig
docker0   Link encap:Ethernet  HWaddr be:a7:5f:2c:e4:c0
          inet addr:172.17.42.1  Bcast:0.0.0.0  Mask:255.255.0.0
          inet6 addr: fe80::7091:a5ff:fe2c:9b51/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:33 errors:0 dropped:0 overruns:0 frame:0
          TX packets:62 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2460 (2.4 KiB)  TX bytes:9163 (8.9 KiB)

eth0      Link encap:Ethernet  HWaddr 54:4a:16:be:60:b7
          UP BROADCAST MULTICAST DYNAMIC  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:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:170

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:47864 errors:0 dropped:0 overruns:0 frame:0
          TX packets:47864 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3686168 (3.5 MiB)  TX bytes:3686168 (3.5 MiB)

usb0      Link encap:Ethernet  HWaddr 54:4a:16:be:60:b0
          inet addr:192.168.7.2  Bcast:192.168.7.3  Mask:255.255.255.252
          inet6 addr: fe80::564a:16ff:febe:60b0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2942 errors:0 dropped:0 overruns:0 frame:0
          TX packets:385 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:259921 (253.8 KiB)  TX bytes:70486 (68.8 KiB)

vethac3dec2 Link encap:Ethernet  HWaddr be:a7:5f:2c:e4:c0
          inet addr:169.254.28.157  Bcast:169.254.255.255  Mask:255.255.0.0
          inet6 addr: fe80::bca7:5fff:fe2c:e4c0/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:33 errors:0 dropped:0 overruns:0 frame:0
          TX packets:57 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2922 (2.8 KiB)  TX bytes:8766 (8.5 KiB)
"

*So there is an additional virtual ethernet and now even on the host, 
internet connection wont work.*
"
root@beaglebone:/home# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
>From 169.254.28.157 icmp_seq=1 Destination Host Unreachable
>From 169.254.28.157 icmp_seq=2 Destination Host Unreachable
>From 169.254.28.157 icmp_seq=3 Destination Host Unreachable
"

Can anyone please help me resolve this?

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to