-
Notifications
You must be signed in to change notification settings - Fork 13
kraft run on WSL2, no route #5
Comments
I'm also facing the same issue. I was following USoC21 session and I also couldn't get response from the server with wget. I had the same error. |
Unikraft / kraft doesn't currently support WSL. It's best to use a Linux host. |
I forgot to mention that I'm running Arch linux. |
@windshome , make sure the |
@razvand but what is tap0? When I run "ip" command,it response: root@LAPTOP-683IEQSK:/mnt/c/Users/lenovo# ip l |
@windshome , then I suggest you used a full fledged virtual machine. WSL2 may not work for Unikraft development / deployment. |
I run these command on my WSL2 Ubuntu 20.04
$ sudo brctl addbr virbr0
$ sudo ip a a 172.44.0.1/24 dev virbr0
$ sudo ip l set dev virbr0 up
When I run " kraft run -b virbr0 "netdev.ipv4_addr=172.44.0.2 netdev.ipv4_gw_addr=172.44.0.1 netdev.ipv4_subnet_mask=255.255.255.0 --" " on my WSL2
after boot ,I wun "wget http://172.44.0.2:8123/"
it print:
but how can I config the route on my WSL2?
The text was updated successfully, but these errors were encountered: