Hi,
Here is the output of my remote list:
When I do a git push I got the previous error message where the host is replaced by that IP address..
Code:
ssh: connect to host 172.17.0.2 port 22: No route to host
However, when I do a ping or even an nslookup I got the real IP address as it should be:
Code:
> nslookup example.com
Server: 192.168.0.1
Address: 192.168.0.1#53
Non-authoritative answer:
Name: example.com
Address: 75.126.162.205
> ping example.com
PING example.com (75.126.162.205) 56(84) bytes of data.
In both these cases I got my real IP..
How can I check (reset) the arp cache ?
Edit:
I found this link
https://www.orionscache.com/2014/01/...ache-in-linux/
When I listed the arp cache at first I got this:
Code:
>arp -n
Address HWtype HWaddress Flags Mask Iface
192.168.0.1 ether 18:d6:c7:xx:xx:xx C enp0s3
172.17.0.3 ether 02:42:ac:xx:xx:x3 C docker0
172.17.0.2 ether 02:42:ac:xx:xx:x2 C docker0
Then I flushed the cache and I got one line deleted:
Code:
>ip -s -s neigh flush all
..
..
*** Round 1, deleting 5 entries ***
*** Flush is complete after 1 round ***
>arp -n
Address HWtype HWaddress Flags Mask Iface
192.168.0.1 ether 18:d6:c7:xx:xx:xx C enp0s3
172.17.0.2 ether 02:42:ac:xx:xx:x2 C docker0
But the result stay the same...
And in fact, that weird address has to do with docker?
I don't know why...
Edit 2:
Also, since I'm running arch (manjaro), it seems I don't have a dns cache..