[Solved] Strange network problem with Xen 4.0 on stable

2013-06-28 Thread François TOURDE
Hi.

For the archives:

Le 15883ième jour après Epoch,
François TOURDE écrivait:

 Hi list.

 I'm using Xen (long time ago), and I've a strange problem with one of
 the DomU. It's the only DomU with this behaviour. It doesn't reply to
 ping and can't have access to the net.

 In detail:

[...]

 Packets seems to be forwarded from Dom0 to DomU, but not from DomU to Dom0:

[...]

 Routes are:

 Dom0:
 root@srv04:~# ip route
 88.191.222.127 dev vif115.0  scope link  src 88.191.108.41 
 88.191.223.138 dev vif114.0  scope link  src 88.191.108.41 
 88.191.229.230 dev vif113.0  scope link  src 88.191.108.41 
 88.191.226.108 dev vif116.0  scope link  src 88.191.108.41 
 88.191.108.0/24 dev eth0  proto kernel  scope link  src 88.191.108.41 
 88.191.110.0/24 dev eth1  proto kernel  scope link  src 88.191.110.41 
 default via 88.191.110.1 dev eth1 
 default via 88.191.108.1 dev eth0 

Even with accept_source_routing on all concerned interfaces, the
vif114.0 packets that should be sent to outside network are routed by
eth1, not the receiving interface eth0.

Disabling eth1 (not yet used) solves the problem.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87bo6q9y7n@tourde.org



Strange network problem with Xen 4.0 on stable

2013-06-27 Thread François TOURDE
Hi list.

I'm using Xen (long time ago), and I've a strange problem with one of
the DomU. It's the only DomU with this behaviour. It doesn't reply to
ping and can't have access to the net.

In detail:

Dom0 Debian stable:
  Linux srv04 2.6.32-5-xen-amd64 #1 SMP Fri May 10 11:48:05 UTC 2013 x86_64 
GNU/Linux

Working DomU:
  Linux wiki 2.6.32-5-amd64 #1 SMP Fri May 10 08:43:19 UTC 2013 x86_64 GNU/Linux

Not working DomU:
  Linux rh42g1 2.6.32-5-amd64 #1 SMP Fri May 10 11:48:05 UTC 2013 x86_64 
GNU/Linux

Packets seems to be forwarded from Dom0 to DomU, but not from DomU to Dom0:

(srv04=Dom0, Xternal NIC=eth0)

root@srv04:~# tcpdump -n -i eth0  src 88.191.223.138 or dst 88.191.223.138
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
10:21:51.437722 IP 62.147.184.98  88.191.223.138: ICMP echo request, id 1448, 
seq 1, length 64
10:21:52.445622 IP 62.147.184.98  88.191.223.138: ICMP echo request, id 1448, 
seq 2, length 64
10:21:53.454046 IP 62.147.184.98  88.191.223.138: ICMP echo request, id 1448, 
seq 3, length 64

But packets from DomU to Dom0 seems to be sent to Dom0:

root@srv04:~# tcpdump -n -i vif114.0  src 88.191.223.138 or dst 88.191.223.138
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on vif114.0, link-type EN10MB (Ethernet), capture size 65535 bytes
10:22:13.224780 IP 62.147.184.98  88.191.223.138: ICMP echo request, id 1459, 
seq 1, length 64
10:22:13.224866 IP 88.191.223.138  62.147.184.98: ICMP echo reply, id 1459, 
seq 1, length 64
10:22:14.224020 IP 62.147.184.98  88.191.223.138: ICMP echo request, id 1459, 
seq 2, length 64
10:22:14.224114 IP 88.191.223.138  62.147.184.98: ICMP echo reply, id 1459, 
seq 2, length 64
10:22:18.223371 ARP, Request who-has 88.191.223.138 tell 88.191.108.41, length 
28
10:22:18.223467 ARP, Reply 88.191.223.138 is-at 00:16:3e:6b:9e:3c, length 28

Routes are:

Dom0:
root@srv04:~# ip route
88.191.222.127 dev vif115.0  scope link  src 88.191.108.41 
88.191.223.138 dev vif114.0  scope link  src 88.191.108.41 
88.191.229.230 dev vif113.0  scope link  src 88.191.108.41 
88.191.226.108 dev vif116.0  scope link  src 88.191.108.41 
88.191.108.0/24 dev eth0  proto kernel  scope link  src 88.191.108.41 
88.191.110.0/24 dev eth1  proto kernel  scope link  src 88.191.110.41 
default via 88.191.110.1 dev eth1 
default via 88.191.108.1 dev eth0 

Working DomU:
88.191.229.0/24 dev eth0  proto kernel  scope link  src 88.191.229.230 
default dev eth0  scope link 

Not working DomU:
88.191.223.0/24 dev eth0  proto kernel  scope link  src 88.191.223.138 
default dev eth0  scope link 

Any ideas are welcome


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87li5warkj@tourde.org