[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to setup user mode network backend and test it?

From: ckim
Subject: how to setup user mode network backend and test it?
Date: Thu, 15 Apr 2021 22:20:15 +0900

Dear list members,


I tried qemu networking but it doesn’t work and I can’t figure out what is wrong.

I first tried “-netdev user,id=n1 -device e1000,netdev=n1” as network option,(I added e1000 driver in the linux kernel build too.).

By `ip link show` I can see there is the ‘eth0’ interface. So I gave commands below


ifconfig eth0 netmask up

route add default gw


I know this ‘user’ network backend doesn’t support ping protocol so I tried tftp provided by busybox.


tftp -g -r hello   (get the file hello from tftp server, I checked the tftp server works.)


But it times out. I tried with IP address (router or with dhcp option, but it’s the same.

Is my approach correct? Or is there something wrong?

Any help or comment will be appreciated.


Chan Kim


reply via email to

[Prev in Thread] Current Thread [Next in Thread]