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

Re: [Xen-users] network access to dom0 in network driver domain



On Fri, May 15, 2015 at 3:44 PM, Ian Campbell <ian.campbell@xxxxxxxxxx> wrote:
> On Fri, 2015-05-15 at 19:57 +0530, Ravindra Kumar Naik wrote:
>> Hi,
>>
>>
>> I want to create a driver domain by assigning the NIC device to a
>> domU. Since I have single NIC, dom0 has no network access once the NIC
>> device is assgined to domU.
>>
>>
>> Is is possible to route dom0 traffic through the driver domain, so
>> dom0 can access the outside network? I am not sure if it is supported
>> by xen.
>
> I think you should be able to attach a vif (backended on the driver
> domain) to dom0 just like you do to a domU.
>
> I think you pass essentially the same syntax as you have in your guest
> cfg file to "xl vif-attach 0 <stuff>".
>
> I've not tried it though.

On very old kernels this won't work because xen-netfront checked to
see if it was domain 0 and refused to initialize; but that seems to
have been fixed in 2012, so anything reasonably recent should work.

 -George

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.