Closed andronat closed 5 months ago
Hello Anastasios 👋
Do you have System Settings
→ Network
→ Firewall
→ Options
→ Enable stealth mode
enabled by a chance?
If so, that's what might be causing the issue.
Non-ICMP traffic should work just fine, for example:
sudo apt-get update
JFYI the problem is the default bridge100
that is not connected to any of the en*
interfaces. Notice the member
fields in the bridge above. I used tart run --net-bridged=en0
and I can now see a new bridge is created:
bridge101: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=63<RXCSUM,TXCSUM,TSO4,TSO6>
ether be:d0:74:90:86:65
Configuration:
id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
ipfilter disabled flags 0x0
member: en0 flags=8003<LEARNING,DISCOVER,MACNAT>
ifmaxaddr 0 port 15 priority 0 path cost 0
member: vmenet1 flags=10003<LEARNING,DISCOVER,CSUM>
ifmaxaddr 0 port 32 priority 0 path cost 0
media: autoselect
status: active
This one has en0
as its member
and indeed internet is working now.
So I do suspect that maybe some better checks are required on Tart's default bridge connections? Maybe we should be checking for if interfaces like en*
are connected to the default bridge? 🤷♂️
I used
tart run --net-bridged=en0
and I can now see a new bridge is created:
Wait, but what command did you used before?
Is the issue still reproducible for you?
I used the default command from the quick start guide that doesn't specify a net bridge. And it automatically picks bridge100 as described above.
Yea the issue is reproducible on my machine.
And it automatically picks bridge100 as described above.
That seems to be working as intended.
Also note that this bridge should not have a Ethernet nor Wi-Fi interface added to it because the routing is achieved at the networking level and addresses are automatically translated using NAT.
Could you please give https://github.com/cirruslabs/tart/issues/718#issuecomment-1907799247 a look?
I confirm I had 0 connectivity. No non-icmp can go through.
Do you have any VPN or other software that can interfere with host network setup?
Hello everyone! New here :D I just had chance to install Tart on my M1 with Macos Ventura 13.6 (22G120). I followed the commands from the quick-start guide for Ubuntu latest. The VM runs and I can SSH to it, but the Ubuntu guest doesn't have internet access:
From Macos
ifconfig
I can see the bridge:And from Ubuntu I can see it connected with a proper IP address through
ip address
:IP routing in the Linux VM also seems right (
ip route show default
):I saw some GH issues using the following command on Macos, I don't know how relevant it is:
I can ping my Macos from the VM:
I'm not sure what's the issue. Is this expected behavior for Linux VMs?
PS: I don't know how relevant it is for interference, but I also have Docker Desktop installed and running at the same time.