* problem with network in domU
@ 2007-11-19 15:35 Maciej Browarski
2007-11-19 15:47 ` michael schuster
0 siblings, 1 reply; 4+ messages in thread
From: Maciej Browarski @ 2007-11-19 15:35 UTC (permalink / raw)
To: xen-devel; +Cc: xen-discuss
Hello,
I'm using xen-3.1.2 downloaded today from repository.
As dom0 I have linux-kernel 2.6.18 and Debian distro.
As domU I install OpenSolaris Nevada 75a.
My config file looks:
name = 'osdev'
memory = '1024'
vcpus = 2
disk = [ 'file:/mnt/xen/osdev/disk.raw,0,w',
'file:/mnt/xen/osdev/disk1.raw,1,w' ]
vif = [ '' ]
on_shutdown = 'destroy'
on_reboot = 'destroy'
on_crash = 'destroy'
After xm create I see new devices in dom0: peth0, xenbr0 and etc.
bash# brctl show
xenbr0 8000.feffffffffff no vif0.0
peth0
vif3.0
So, on dom0 outside network works fine, but on domU I have strange
behavior ( dom0 and domU has addresses from DHCP).
From domU I catch good address. I can also ping outside gateway but
connect with any TCP/UDP ports outside my machine is incorrect (there
are only SYN and SYN/ACK nothing more and timeout).
All connection between dom0 and domU works good.
Have you any idea what's wrong ?
Regards
Maciej
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: problem with network in domU
2007-11-19 15:35 problem with network in domU Maciej Browarski
@ 2007-11-19 15:47 ` michael schuster
2007-11-19 15:59 ` Re: [xen-discuss] " Maciej Browarski
0 siblings, 1 reply; 4+ messages in thread
From: michael schuster @ 2007-11-19 15:47 UTC (permalink / raw)
To: Maciej Browarski; +Cc: xen-devel, xen-discuss
Maciej Browarski wrote:
> Hello,
> I'm using xen-3.1.2 downloaded today from repository.
> As dom0 I have linux-kernel 2.6.18 and Debian distro.
> As domU I install OpenSolaris Nevada 75a.
> My config file looks:
> name = 'osdev'
> memory = '1024'
> vcpus = 2
> disk = [ 'file:/mnt/xen/osdev/disk.raw,0,w',
> 'file:/mnt/xen/osdev/disk1.raw,1,w' ]
> vif = [ '' ]
> on_shutdown = 'destroy'
> on_reboot = 'destroy'
> on_crash = 'destroy'
>
> After xm create I see new devices in dom0: peth0, xenbr0 and etc.
> bash# brctl show
> xenbr0 8000.feffffffffff no vif0.0
> peth0
> vif3.0
> So, on dom0 outside network works fine, but on domU I have strange
> behavior ( dom0 and domU has addresses from DHCP).
> From domU I catch good address. I can also ping outside gateway but
> connect with any TCP/UDP ports outside my machine is incorrect (there
> are only SYN and SYN/ACK nothing more and timeout).
> All connection between dom0 and domU works good.
> Have you any idea what's wrong ?
sounds a bit like you're having difficulty with checksums.
the following is a way to disable ip checksums *in dom0*; I don't know
whether the same works in domU, but you could give it a try:
Set "ip:dohwcksum" to 0 in /etc/system. Reboot, retest, report results.
(btw: that means you need to add a line looking like this:
set ip:dohwcksum = 0
to /etc/system in your domU)
hth
--
Michael Schuster Sun Microsystems, Inc.
recursion, n: see 'recursion'
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Re: [xen-discuss] problem with network in domU
2007-11-19 15:47 ` michael schuster
@ 2007-11-19 15:59 ` Maciej Browarski
0 siblings, 0 replies; 4+ messages in thread
From: Maciej Browarski @ 2007-11-19 15:59 UTC (permalink / raw)
To: michael schuster; +Cc: xen-devel, xen-discuss
michael schuster wrote:
> Maciej Browarski wrote:
>> Hello,
>> I'm using xen-3.1.2 downloaded today from repository.
>> As dom0 I have linux-kernel 2.6.18 and Debian distro.
>> As domU I install OpenSolaris Nevada 75a.
>> My config file looks:
>> name = 'osdev'
>> memory = '1024'
>> vcpus = 2
>> disk = [ 'file:/mnt/xen/osdev/disk.raw,0,w',
>> 'file:/mnt/xen/osdev/disk1.raw,1,w' ]
>> vif = [ '' ]
>> on_shutdown = 'destroy'
>> on_reboot = 'destroy'
>> on_crash = 'destroy'
>>
>> After xm create I see new devices in dom0: peth0, xenbr0 and etc.
>> bash# brctl show
>> xenbr0 8000.feffffffffff no vif0.0
>> peth0
>> vif3.0
>> So, on dom0 outside network works fine, but on domU I have strange
>> behavior ( dom0 and domU has addresses from DHCP).
>> From domU I catch good address. I can also ping outside gateway but
>> connect with any TCP/UDP ports outside my machine is incorrect (there
>> are only SYN and SYN/ACK nothing more and timeout).
>> All connection between dom0 and domU works good.
>> Have you any idea what's wrong ?
>
> sounds a bit like you're having difficulty with checksums.
>
> the following is a way to disable ip checksums *in dom0*; I don't know
> whether the same works in domU, but you could give it a try:
>
> Set "ip:dohwcksum" to 0 in /etc/system. Reboot, retest, report results.
>
> (btw: that means you need to add a line looking like this:
> set ip:dohwcksum = 0
> to /etc/system in your domU)
>
> hth
Thanks :) it's works :)
Best Regards,
Maciej
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: problem with network in domU
@ 2007-11-19 16:02 Juergen Keil
0 siblings, 0 replies; 4+ messages in thread
From: Juergen Keil @ 2007-11-19 16:02 UTC (permalink / raw)
To: Michael.Schuster; +Cc: xen-devel, xen-discuss
> Maciej Browarski wrote:
> > Hello,
> > I'm using xen-3.1.2 downloaded today from repository.
> > As dom0 I have linux-kernel 2.6.18 and Debian distro.
> > As domU I install OpenSolaris Nevada 75a.
> > My config file looks:
> > name = 'osdev'
> > memory = '1024'
> > vcpus = 2
> > disk = [ 'file:/mnt/xen/osdev/disk.raw,0,w',
> > 'file:/mnt/xen/osdev/disk1.raw,1,w' ]
> > vif = [ '' ]
> > on_shutdown = 'destroy'
> > on_reboot = 'destroy'
> > on_crash = 'destroy'
> >
> > After xm create I see new devices in dom0: peth0, xenbr0 and etc.
> > bash# brctl show
> > xenbr0 8000.feffffffffff no vif0.0
> > peth0
> > vif3.0
> > So, on dom0 outside network works fine, but on domU I have strange
> > behavior ( dom0 and domU has addresses from DHCP).
> > From domU I catch good address. I can also ping outside gateway but
> > connect with any TCP/UDP ports outside my machine is incorrect (there
> > are only SYN and SYN/ACK nothing more and timeout).
> > All connection between dom0 and domU works good.
> > Have you any idea what's wrong ?
>
> sounds a bit like you're having difficulty with checksums.
Yep, see also:
http://www.opensolaris.org/os/community/xen/docs/linux-dom0/#Networking_failures
Maciej probably has to set the kernel variable "xnf_cksum_offload = 0"
in the solaris domU, so that the linux dom0 network backend driver sends
packets with correct checksums for the solaris domU.
Apparently there are issues with OpenSolaris's xen network frontend driver
checksum offload support, which does not get along with a linux dom0
backend driver.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-11-19 16:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-19 15:35 problem with network in domU Maciej Browarski
2007-11-19 15:47 ` michael schuster
2007-11-19 15:59 ` Re: [xen-discuss] " Maciej Browarski
-- strict thread matches above, loose matches on Subject: below --
2007-11-19 16:02 Juergen Keil
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.