Xen vif-route + vm's interconnection
Hi,
I have debian lenny with Xen + 2vms using vif-route script.
Every machine has public IP address .
Is this Xen-specific case or this is my misunderstanding of basic
routing problems , but it seems that my machines can't reach each
other.
Here's the configuration ( ip a l & ip route for each host)
Dom0 :
root@dom0:~# ip a l | grep -B 2
1: eth0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:30:48:ba:25:3e brd ff:ff:ff:ff:ff:ff
inet 23.23.195.111/24 brd 23.23.195.255 scope global eth0
--
25: vif10.0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 32
link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
inet 23.23.195.111/32 brd 23.255.255.255 scope global vif10.0
--
26: vif11.0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 32
link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
inet 23.23.195.111/32 brd 23.255.255.255 scope global vif11.0
--
27: vif12.0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 32
link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
inet 23.23.195.111/32 brd 23.255.255.255 scope global vif12.0
------------------------
root@dom0:~# ip route
23.23.23.147 dev vif12.0 scope link src 23.23.195.111
23.23.95.220 dev vif11.0 scope link src 23.23.195.111
23.23.23.141 dev vif10.0 scope link src 23.23.195.111
23.23.195.0/24 dev eth0 proto kernel scope link src 23.23.195.111
default via 23.23.195.254 dev eth0
DomU (1st host debian01):
root@debian01:/etc/powerdns# ip route
23.23.195.111 dev eth0 scope link
default via 23.23.195.111 dev eth0
-----
root@debian01:/etc/powerdns# ip a l
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UP qlen 1000
link/ether 00:16:3e:0f:26:8c brd ff:ff:ff:ff:ff:ff
inet 23.23.23.141/32 brd 23.255.255.255 scope global eth0
DomU (2nd host - debian02 ):
debian02:/etc/powerdns# ip route
23.23.195.111 dev eth0 scope link
23.0.0.0/8 dev eth0 proto kernel scope link src 23.23.95.220
default via 23.23.195.111 dev eth0
-----------
debian02:/etc/powerdns# ip a l
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UP qlen 1000
link/ether 00:16:3e:57:e7:0f brd ff:ff:ff:ff:ff:ff
inet 23.23.95.220/8 brd 23.255.255.255 scope global eth0
Am I missing something or those machines dont have a chance to see each other ?
regards
WZ
--
Wojciech Ziniewicz
http://rfc.sunsite.dk/rfc/rfc2324.html
Reply to: