The antsle cannot communicate with the public internet

The antsle cannot communicate with the public internet

This can happen if the antsle does not acquire an IP from DHCP but is typically a misconfigured default gateway or DNS server address. 

If you configured a static IP, you also need to set the default gateway and dns server addresses in antMan > Network configuration > Edit Network Defaults. Enter the IP address of the default gateway. Select an interface - typically br0. And finally enter the DNS addresses. When adding the dns addresses, use the keyword 'nameserver'.. see the '?' tool tip for that field.
First, is your ethernet cable plugged into the correct ethernet port (br0)? as shown here: http://docs.antsle.com/setup/#2-connect-power-and-network
And do you see a link light on both the antsle's ethernet port and your router/switch?

Next lets check if the antsleOS can talk to the internet. SSH to the antsle's command line or use the 'edgeLinux terminal' in antMan.
Try to ping using a domain name:
ping -c 3 anthill.antsle.com
ping -c 3 google.com
If the pings are successful then the network settings are good.

If the pings fail, lets check the IP addresses. The three addresses required are the private IP address on br0, default gateway and dns addresses.

You can check the antsle's private IP address with: ifconfig br0
root@myantsle:~ # ifconfig br0
br0: flags=4419<UP,BROADCAST,RUNNING,PROMISC,MULTICAST> mtu 1500
inet 192.168.1.77 netmask 255.255.255.0 broadcast 192.168.1.255
...

Check the default gateway with: route -n

root@myantsle:~ # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 8 0 0 br0
10.1.7.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr2
...
the line with a destination of '0.0.0.0' should show the correct gateway address in the gateway column.

And check the DNS server addresses in the resolv.conf file with: cat /etc/resolv.conf
root@myantsle:~ # cat /etc/resolv.conf
# Generated by dhcpcd from br0.dhcp
# /etc/resolv.conf.head can replace this line
nameserver 192.168.1.1
nameserver 8.8.8.8
...
If any of these addresses are incorrect, set the correct information in antMan > Network configuration

Here is a series of videos for trouble shooting anthill activation in our docs. The 4th video covers internet connectivity: 


    • Related Articles

    • antHill cannot find or activate your antsle

      Here is a series of videos for trouble shooting anthill activation in our docs: https://docs.antsle.com/tshoot/#anthill-activation-cant-find-antsle Here are some of the steps from the video: Is your ethernet cable plugged into the correct ethernet ...
    • Cannont access antMan using 'antsle_name.local' from a browser

      Power Is the red power led on, on the front of the antsle? Ethernet connection Is your ethernet cable plugged into the correct ethernet port?:  http://docs.antsle.com/setup/#2-connect-power-and-network Is there a link light on the ethernet port and ...
    • Backup fails with error: Snapshot '_antsle_backup' exists, probably from a backup in progress.

      If a backup fails with the following error: Snapshot '_antsle_backup' exists, probably from a backup in progress. If this is not the case, please delete it and try again. From the antsle's command ...
    • Network 'bblv' is not active

      It may be an overlap of IP addresses. The internal network for the antlets (10.1.1.x by default) must be a unique network - different than the LAN your antsle is connected to.  If these networks are the same, run the baseip script, from the antsle's ...
    • What is an antlet what does antlet mean?

      An antlet is a virtual (and usually headless) virtual server. It looks and feels like a real, physical server, and it runs a complete operating system. With antsle, you can pick and choose how your antlets are implemented under the hood: they can be ...