Samuel Thibault, le sam. 02 avril 2022 21:21:01 +0200, a ecrit: > jbra...@dismail.de, le sam. 02 avril 2022 19:18:29 +0000, a ecrit: > > April 1, 2022 8:27 PM, "Samuel Thibault" <samuel.thiba...@gnu.org> wrote: > > > > > jbra...@dismail.de, le ven. 01 avril 2022 21:39:39 +0000, a ecrit: > > > > > >> ping -c 3 gnu.org did not work for me. > > > > > > Again, that wholy depends on the host. If you are not running qemu as > > > root, the host may not allow it to emit icmp packets. > > > > I am running qemu as a regular user. > > Then that's not surprising. You need libslirp 0.15 for icmp to be > forwarded by qemu properly. I don't remember which version of qemu > contains that version of libslirp.
Sorry, I mangled that. The support is there in libslirp since ages, but you need to allow it with echo 1000 1000 > /proc/sys/net/ipv4/ping_group_range (assuming the group id of your user running qemu is 1000) Samuel