On Wed, Apr 13, 2011 at 4:28 PM, Asias He <asias.hejun@xxxxxxxxx> wrote: > On 04/13/2011 08:28 PM, Asias He wrote: >> On 04/13/2011 08:13 PM, Sasha Levin wrote: >>> Add --host-ip-addr parameter to allow changing the host-side IP address. >> >> >> I'd personally prefer something like this: >> >> --network=model=virtio,hostip=x.x.x.x/mask,guestmac=yy:yy:yy:yy >> >> Once we can set up ip address for guest, we can use: >> >> --network=model=virtio,hostip=x.x.x.x/mask,guestmac=yy:yy:yy:yy,guestip=z.z.z.z/mask,guestgw=v.v.v.v >> > > > Alternatively, we can use an option group like this: > > Network options: > -n --network <virtio> > -h --hostip <x.x.x.x/n> > -y --guestip <x.x.x.x/n> > -z --guestmac <xx:xx:xx:xx:xx:xx> > I agree. We can create a networking group once we start expanding the options. -- Sasha. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html