Skip to contentSkip to conversation

2.6.31.6 pv_ops and routing DomU

DISCUSSION Stefan Kuhne 2 participants 6 messages Mar 9, 2010 – Mar 11, 2010

lore
Share & tools
lore
#0 lore raw

Hello,

i try to use xen-4.0.0-rcx with linux-2.6.31.6 pv_ops Dom0 Kernel.

I've a DomU as DSL Router with pppoe.
My Hardware has only one NIC, so i have to use it for LAN and pppoe to my DSL Modem.

My Problem is, that only this DomU and the Dom0 has Internet. All others have DNS but ping doesn't work.

I can't find anythink in any log file.

Anyone an idea?

Regards,
Stefan Kuhne

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw
Quoted 7 lines · Stefan Kuhne

Hello,

i try to use xen-4.0.0-rcx with linux-2.6.31.6 pv_ops Dom0 Kernel.

I've a DomU as DSL Router with pppoe.
My Hardware has only one NIC, so i have to use it for LAN and pppoe to my DSL Modem.

Your DomU goes to the Internet. You Dom0 hooks up to the rest of your LAN. You want Dom0 and DomU to route packets back and forth, right?

Quoted 2 lines

My Problem is, that only this DomU and the Dom0 has Internet.

I presume you have your Dom0 NIC in a bridge which has the vif for the DomU.

Quoted 1 line

All others have DNS but ping doesn't work.

Can you ping your DomU from your LAN? That _should_ work.

Quoted 2 lines

I can't find anythink in any log file.

Go to wireshark website and watch the videos on how to use it. Your problem is network related.

Quoted 2 lines

Anyone an idea?

I think your DomU routing is not set properly. Look online for tutorials on NAT/Masquarade/firewall. Make sure you have
echo 1 > /proc/sys/net/ipv4/ip_forward

Set in your DomU.

#2 lore raw

Am 09.03.2010 23:31, schrieb Konrad Rzeszutek Wilk:

Quoted 12 lines · Stefan Kuhne
Quoted 7 lines

Hello,

i try to use xen-4.0.0-rcx with linux-2.6.31.6 pv_ops Dom0 Kernel.

I've a DomU as DSL Router with pppoe.
My Hardware has only one NIC, so i have to use it for LAN and pppoe to my DSL Modem.

Your DomU goes to the Internet. You Dom0 hooks up to the rest of your LAN. You want Dom0 and DomU to route packets back and forth, right?

Sorry, but my english isn't got enough for this.
My DomU makes NAT and all stuff.

Quoted 5 lines
Quoted 1 line

My Problem is, that only this DomU and the Dom0 has Internet.

I presume you have your Dom0 NIC in a bridge which has the vif for the DomU.

Yes.

Quoted 3 lines
Quoted 1 line

All others have DNS but ping doesn't work.

Can you ping your DomU from your LAN? That _should_ work.

Yes, this works for other DomUs and real PC in my LAN.

Quoted 4 lines
Quoted 1 line

I can't find anythink in any log file.

Go to wireshark website and watch the videos on how to use it. Your problem is network related.

But on which interface.
I can try it when i can disconnect Internet.

Quoted 6 lines
Quoted 1 line

Anyone an idea?

I think your DomU routing is not set properly. Look online for tutorials on NAT/Masquarade/firewall. Make sure you have
echo 1 > /proc/sys/net/ipv4/ip_forward

When i use xen-4.0.0-rc2 with an old Dom0 kernel all works fine. When i boot 2.6.31.6 pv_ops i've my problem.

On another System with two NICs (second is passthrough) all Kernel works fine.

Regards,
Stefan Kuhne

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw
In reply to Konrad Rzeszutek Wilk

Am 09.03.2010 23:31, schrieb Konrad Rzeszutek Wilk:

Quoted 1 line · Stefan Kuhne

Hello,

Quoted 4 lines
Quoted 1 line

I can't find anythink in any log file.

Go to wireshark website and watch the videos on how to use it. Your problem is network related.

i've try to compile it static, but you i can't link it. Does anyone known a static binary without GUI?

Regards,
Stefan Kuhne

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#4 lore raw
Quoted 5 lines · Stefan Kuhne

Am 09.03.2010 23:31, schrieb Konrad Rzeszutek Wilk:

Quoted 1 line · Stefan Kuhne

Hello,

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

I can't find anythink in any log file.

Go to wireshark website and watch the videos on how to use it. Your problem is network related.

i've try to compile it static, but you i can't link it. Does anyone known a static binary without GUI?

Your distro will probably carry it.

Quoted 11 lines

Regards,
Stefan Kuhne

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#5 lore raw

Am 10.03.2010 20:56, schrieb Konrad Rzeszutek Wilk:

Quoted 4 lines · Stefan Kuhne
Quoted 3 lines

Am 09.03.2010 23:31, schrieb Konrad Rzeszutek Wilk:

Quoted 1 line · Stefan Kuhne

Hello,

Quoted 11 lines
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

I can't find anythink in any log file.

Go to wireshark website and watch the videos on how to use it. Your problem is network related.

i've try to compile it static, but you i can't link it. Does anyone known a static binary without GUI?

Your distro will probably carry it.

i've made a tcpdump:

Pass:

--DNS--
09:37:26.933657 IP Maxdata.access.denied.55125 >
Guardian.access.denied.53: 55913+[|domain]
09:37:26.933961 IP Guardian.access.denied.53 >
Maxdata.access.denied.55125: 55913 1/0/0 (46)

--Ping 1--
09:37:26.936136 IP Maxdata.access.denied > virtualhost.in-berlin.de:
ICMP echo request, id 6928, seq 1, length 64
09:37:26.936181 PPPoE [ses 0x4705] IP koln-d932c04f.pool.mediaWays.net

Quoted 1 line

virtualhost.in-berlin.de: ICMP echo request, id 6928, seq 1, length 64

09:37:26.971358 PPPoE [ses 0x4705] IP virtualhost.in-berlin.de > koln-d932c04f.pool.mediaWays.net: ICMP echo reply, id 6928, seq 1, length 64 09:37:26.971387 IP virtualhost.in-berlin.de > Maxdata.access.denied:
ICMP echo reply, id 6928, seq 1, length 64
09:37:26.972174 IP Maxdata.access.denied.37585 > Guardian.access.denied.53: 63066+[|domain]
09:37:26.972356 IP Guardian.access.denied.53 > Maxdata.access.denied.37585: 63066[|domain]

--Ping 2--
09:37:27.938095 IP Maxdata.access.denied > virtualhost.in-berlin.de:
ICMP echo request, id 6928, seq 2, length 64
09:37:27.938136 PPPoE [ses 0x4705] IP koln-d932c04f.pool.mediaWays.net

Quoted 1 line

virtualhost.in-berlin.de: ICMP echo request, id 6928, seq 2, length 64

09:37:27.972669 PPPoE [ses 0x4705] IP virtualhost.in-berlin.de > koln-d932c04f.pool.mediaWays.net: ICMP echo reply, id 6928, seq 2, length 64 09:37:27.972695 IP virtualhost.in-berlin.de > Maxdata.access.denied:
ICMP echo reply, id 6928, seq 2, length 64
09:37:27.973343 IP Maxdata.access.denied.46607 > Guardian.access.denied.53: 43607+[|domain]
09:37:27.973490 IP Guardian.access.denied.53 > Maxdata.access.denied.46607: 43607[|domain]

Fail:

--DNS--
09:38:31.101765 IP Overmind.access.denied.35363 >
Guardian.access.denied.53: 50524+[|domain]
09:38:31.102110 IP Guardian.access.denied.53 >
Overmind.access.denied.35363: 50524[|domain]

--Ping 1--
09:38:31.102551 IP Overmind.access.denied > virtualhost.in-berlin.de:
ICMP echo request, id 52815, seq 1, length 64 09:38:31.102590 PPPoE [ses 0x4705] IP koln-d932c04f.pool.mediaWays.net

Quoted 1 line

virtualhost.in-berlin.de: ICMP echo request, id 52815, seq 1, length 64

--Ping 2--
09:38:32.110617 IP Overmind.access.denied > virtualhost.in-berlin.de:
ICMP echo request, id 52815, seq 2, length 64 09:38:32.110645 PPPoE [ses 0x4705] IP koln-d932c04f.pool.mediaWays.net

Quoted 1 line

virtualhost.in-berlin.de: ICMP echo request, id 52815, seq 2, length 64

09:38:36.098342 ARP, Request who-has Guardian.access.denied tell Overmind.access.denied, length 46
09:38:36.098360 ARP, Reply Guardian.access.denied is-at 00:16:3e:52:ab:78 (oui Unknown), length 28

Description:
Maxdata: Dom0
Guardian: routing DomU
Overmind: other Dom0 (externel Client on LAN).

Regards,
Stefan Kuhne

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel