ssh connection problem caused by MAC-adress
Hi,
I have quite strange problem with Ubuntu 20.4 on VirtualBox.
At first I had network issues, meaning my VM couldn't connect wirelessly with the internet. Even with Network Bridge, the right adapter chosen (en0: WLAN), "allow all VMs" and Cable Connection approved, no internet connection could be made.
After I edited the MAC-adress of my VM, so it resembled the MAC-adress of the host, I was able to get an internet connection on my VM.
Everything worked flawlessly until I tried to connect the host with the VM via ssh.
Now, I always get the error message: "ssh connect to host (IP-adress) port22: no route to host".
When I ping the host device I get the error message: "Destination host unreachable".
On the internet I found a comment which says that using the same MAC-adresses on different devices can lead up to such a "no route to host" error.
Is there any other solution to get an internet connection or a functioning connection via ssh while using the same MAC-adresses?
Sorry for any incorrect formulations, but I am new to Ubuntu.
Best regards,
Henrik
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Henrik Schlosser for more information if necessary.