0

I have a BeagleBone black (BBB) that's connected to my host machine, and I'm trying to establish an internet connection in the BBB, and got a following questions:

  • After I reboot the BBB, I see two interfaces coming up with respective IP addresses. Why two and how are they getting an IP assigned if the BBB isn't connected straight to the internet through ethernet cable?
usb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.7.2  netmask 255.255.255.0  broadcast 192.168.7.255
        inet6 fe80::e1c:57ff:fe00:c2c0  prefixlen 64  scopeid 0x20<link>
        ether 0c:1c:57:00:c2:c0  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

usb1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.6.2  netmask 255.255.255.0  broadcast 192.168.6.255
        ether 0c:1c:57:00:c2:c4  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
  • Assuming BBB is in the network, what's preventing the pings from going through to the host? Doing so returns Network Unreachable error

For demonstration, running the following command on my host returns Request timeout for icmp_seq errors.

ping 192.168.7.2`

And running pings from BBB to the host IP returns From 192.168.7.2 icmp_seq=1 Destination Host Unreachable

ping 192.168.1.4

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.