Hi,
It's been a while since I last posted in LQ.. feels great to be back!
I have installed a Xen with 2 VM's inside. They are all under the same subnet.
The Xen machine can see the outside network but both machines in it cannot.
How do I create the bridge correctly (to xenbr0 i guess) so it fixes this?
Here's what I tried:
===========
It's RHEL5.3
1. '/etc/sysconfig/network-scripts/ifcfg-eth0' is ok on both VM's
2. iptables service is disabled, system-config-network shows IP,DNS, GW are correct.
3. On the VM's the route -n shows the gw ip though I cannot ping it.
4. checked hosts.allow, hosts.
5. In '/etc/xen/xend-config.sxp' unmarked:
(network-script network-bridge)
(vif-script vif-bridge)
6. in xen/<images_location>/ I modified vm.cfg so vif = [ 'ip=10.2.0.54' ] for one of my virtual machines.
7. I cannot however find '/etc/network/interfaces', can anyone advise if actually in my case it's the
ifcfg-eth0?
7. I basically followed the Bridged Networking scenario in Xen Networking:
http://wiki.kartbuilding.net/index.php/Xen_Networking but to no avail yet.
I'll be happy to post any info, let me know.
Ifconfig on the Xen Parent:
-----------
[root@XEN_PARENT]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:50:56:8B:3A:E4
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:130021 errors:0 dropped:0 overruns:0 frame:0
TX packets:75097 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10315149 (9.8 MiB) TX bytes:12038346 (11.4 MiB)
Interrupt:17 Base address:0x2000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:127 errors:0 dropped:0 overruns:0 frame:0
TX packets:127 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:18162 (17.7 KiB) TX bytes:18162 (17.7 KiB)
vif1.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:83 errors:0 dropped:0 overruns:0 frame:0
TX packets:73422 errors:0 dropped:266 overruns:0 carrier:0
collisions:0 txqueuelen:32
RX bytes:9868 (9.6 KiB) TX bytes:6378453 (6.0 MiB)
vif3.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:350 errors:0 dropped:0 overruns:0 frame:0
TX packets:44129 errors:0 dropped:341 overruns:0 carrier:0
collisions:0 txqueuelen:32
RX bytes:27754 (27.1 KiB) TX bytes:3818085 (3.6 MiB)
xenbr0 Link encap:Ethernet HWaddr 00:50:56:8B:3A:E4
inet addr:10.2.0.52 Bcast:0.0.0.0 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:130303 errors:0 dropped:0 overruns:0 frame:0
TX packets:74569 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8526828 (8.1 MiB) TX bytes:11982125 (11.4 MiB)
-----------------------------------
Any help will be greatly appreciated.
Thanks,
Liron