Re: [Qemu-discuss] No IP in net interface when using socket netdev

2018-01-24 Thread Thomas Huth
On 24.01.2018 16:09, Zihan Yang wrote: > Hi, > > Thanks for the help, but I don't see how I can assign a static IP to it in > the command line, neither the '-netdev socket' option or the '-device > e1000e' option allows a ip property. Assigning the IP address to an interface is job of the OS that

Re: [Qemu-discuss] No IP in net interface when using socket netdev

2018-01-24 Thread Zihan Yang
Hi, Thanks for the help, but I don't see how I can assign a static IP to it in the command line, neither the '-netdev socket' option or the '-device e1000e' option allows a ip property. I tried to manually assign one inside guest VM, but it seems not working, I still can't ping each other, they ar

Re: [Qemu-discuss] No IP in net interface when using socket netdev

2018-01-23 Thread Thomas Huth
Hi, On 23.01.2018 15:37, Zihan Yang wrote: > I'm trying to start two VMs V1 and V2, and let them connect through socket. > > I'm using the latest qemu source code cloned from git. Here is the > configuration of two VM: > V1: two net cards, one for public Internet using SLIRP, one listening on >

[Qemu-discuss] No IP in net interface when using socket netdev

2018-01-23 Thread Zihan Yang
I'm trying to start two VMs V1 and V2, and let them connect through socket. I'm using the latest qemu source code cloned from git. Here is the configuration of two VM: V1: two net cards, one for public Internet using SLIRP, one listening on port 1234. The start command is: $ qemu-system-x86_64 -m