Help with setting up Networking for XEN on CentOS 5.9


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Help with setting up Networking for XEN on CentOS 5.9
# 1  
Old 02-06-2013
Help with setting up Networking for XEN on CentOS 5.9

Hey guys, I've reached the point of setting up VM's on XEN but the net installations seem to be failing when I am in the netinstall on the actual VM, so this leads me to believe that the networking on the host machine is not set up correctly. I am running CentOS 5.9 along with XEN and was just wondering how I need to set up the network to get it all working
Hopefully this is enough to give you an idea of our network setup.

Code:

 Here is all of the details that 'ifconfig' returns:
 ---------------------------------------------------------------------------------------------------------------------------------
 br0       Link encap:Ethernet  HWaddr 00:25:90:71:30:9C  
           inet addr:188.165.218.137  Bcast:188.165.255.255  Mask:255.255.255.0
           inet6 addr: fe80::225:90ff:fe71:309c/64 Scope:Link
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:38485 errors:0 dropped:0 overruns:0 frame:0
           TX packets:19719 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0 
           RX bytes:38387680 (36.6 MiB)  TX bytes:3787287 (3.6 MiB)
 
 eth0      Link encap:Ethernet  HWaddr 00:25:90:71:30:9C  
           inet6 addr: fe80::225:90ff:fe71:309c/64 Scope:Link
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:50404 errors:0 dropped:0 overruns:0 frame:0
           TX packets:19695 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0 
           RX bytes:40990478 (39.0 MiB)  TX bytes:3783764 (3.6 MiB)
 
 lo        Link encap:Local Loopback  
           inet addr:127.0.0.1  Mask:255.0.0.0
           inet6 addr: ::1/128 Scope:Host
           UP LOOPBACK RUNNING  MTU:16436  Metric:1
           RX packets:1108839 errors:0 dropped:0 overruns:0 frame:0
           TX packets:1108839 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0 
           RX bytes:122676613 (116.9 MiB)  TX bytes:122676613 (116.9 MiB)
 
 peth0     Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
           inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
           UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
           RX packets:2333951 errors:0 dropped:0 overruns:0 frame:0
           TX packets:997037 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000 
           RX bytes:1890808794 (1.7 GiB)  TX bytes:125384065 (119.5 MiB)
           Interrupt:18 Memory:fbce0000-fbd00000 
 
 vif0.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
           inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
           UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
           RX packets:988868 errors:0 dropped:0 overruns:0 frame:0
           TX packets:2308773 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0 
           RX bytes:124885374 (119.0 MiB)  TX bytes:1889302304 (1.7 GiB)
 
 vif36.0   Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
           inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
           UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
           RX packets:60 errors:0 dropped:0 overruns:0 frame:0
           TX packets:22679 errors:0 dropped:717 overruns:0 carrier:0
           collisions:0 txqueuelen:500 
           RX bytes:3952 (3.8 KiB)  TX bytes:3505239 (3.3 MiB)
 
 vif37.0   Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
           inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
           UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
           RX packets:133 errors:0 dropped:0 overruns:0 frame:0
           TX packets:15336 errors:0 dropped:450 overruns:0 carrier:0
           collisions:0 txqueuelen:500 
           RX bytes:8808 (8.6 KiB)  TX bytes:2029528 (1.9 MiB)
 
 virbr0    Link encap:Ethernet  HWaddr 00:00:00:00:00:00  
           inet addr:***.***.***.*** Bcast:192.168.122.255  Mask:255.255.255.0
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
           TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0 
           RX bytes:0 (0.0 b)  TX bytes:3125 (3.0 KiB)
 
 xenbr0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
           UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
           RX packets:245606 errors:0 dropped:0 overruns:0 frame:0
           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0 
           RX bytes:18043856 (17.2 MiB)  TX bytes:0 (0.0 b)
 ---------------------------------------------------------------------------------------------------------------------------------
 
 And this is the various gateways and such using 'route -n':
 
 ---------------------------------------------------------------------------------------------------------------------------------
 
 Kernel IP routing table
 Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
 ***.***.***.***   0.0.0.0         255.255.255.0   U     0      0        0 virbr0
 ***.***.***.***   0.0.0.0         255.255.255.0   U     0      0        0 br0
 0.0.0.0         ***.***.***.*** 0.0.0.0         UG    0      0        0 br0
 
 ---------------------------------------------------------------------------------------------------------------------------------
 
 This is the config file for eth0:
 
 ---------------------------------------------------------------------------------------------------------------------------------
 
 DEVICE=eth0
 #BOOTPROTO=static
 #IPADDR=***.***.***.***  
#NETMASK=255.255.255.0
 ONBOOT=yes
 #GATEWAY=***.***.***.*** 
#DNS1=8.8.8.8
 #DNS2=8.8.4.4
 IPV6INIT=yes
 IPV6_AUTOCONF=no
 IPV6ADDR=2001:41D0:2:A589::1/64
 BRIDGE=br0
 
 ---------------------------------------------------------------------------------------------------------------------------------
 
 This is the config file for br0:
 
 ---------------------------------------------------------------------------------------------------------------------------------
 
 DEVICE="br0"
 NM_CONTROLLED="yes"
 ONBOOT=yes
 TYPE=Bridge
 BOOTPROTO=none
 IPADDR=***.***.***.***  
PREFIX=24
 GATEWAY=***.***.***.***
 DNS1=8.8.8.8
 DNS2=8.8.4.4
 DEFROUTE=yes
 IPV4_FAILURE_FATAL=yes
 IPV6INIT=no
 NAME="System br0"
 
 ---------------------------------------------------------------------------------------------------------------------------------

All we want to do is point the static IP's that we have bought to the VPS's that we create, we're trying to get a leg up and everything just keeps falling over and it's incredibly annoying. Right now we can't get past the netinstall because I think the bridges are not set up correctly, not entirely certain though.

I have blanked the IP addresses out for obvious reasons.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

Help using XEN in CentOS 5.9

Hey guys, I've been straddling with this issue for quite some time now and I'm getting absolutely nowhere with it. It took me a long time to get XEN up and running on my server. We only use SSH to manipulate our servers, but we finally got it up and running. Now I'm at the point of actually... (1 Reply)
Discussion started by: mccabec123
1 Replies

2. Red Hat

How to Upgrade Centos 5.7 using Centos 5.8 ISO image on Vmware workstation

Dear Linux Experts, On my windows 7 desktop with the help of Vmware workstation (Version 7.1), created virtual machine and installed Centos 5.7 successfully using ISO image. Query : Is this possible to upgrade the Centos 5.7 using Centos 5.8 ISO image to Centos version 5.8?.. if yes kindly... (2 Replies)
Discussion started by: Ananthcn
2 Replies

3. IP Networking

RedHat/Centos Disable IPv6 Networking

Guide on how to disable ipv6 for Centos and RedHat 1) Edit /etc/sysconfig/network-scripts/ifcfg-eth0 and change: NETWORKING_IPV6=yes to NETWORKING_IPV6=no 2) Edit /etc/modprobe.conf and add these lines: alias net-pf-10 off alias ipv6 off 3) Stop the ipv6tables service: ... (0 Replies)
Discussion started by: zanna91
0 Replies

4. Red Hat

need help in installing Xen on Centos 6

Hello folks, I am trying to install Xen on centos 6! Kindly check out the following screen shots! What should I do? Regards (0 Replies)
Discussion started by: ahmedamer12
0 Replies

5. UNIX for Dummies Questions & Answers

Help with setting Samba on CentOS

Hello folks; i have Linux CentOS server that is already on my corporate domain and I'm trying to configure Samba so i can browse or see it from my Windows machine. i followed a lot of threads but still can't login when trying to map a drive. Is there a way to setup Samba on that server (with... (2 Replies)
Discussion started by: Katkota
2 Replies

6. Red Hat

xen vnc not working in Centos

i configured XEN to use port 5902 and it worked. I installed vncserver on the host machine. Now when i connect to 5902 it redirects me to the centos machine not to the XEN guest. (0 Replies)
Discussion started by: mrjoli021
0 Replies

7. UNIX for Dummies Questions & Answers

problem of networking in centos

Hello, I am using dual boot of linux, one is ubuntu and the other is one is centos. I have three NIC's and only one of them connected with cable. The thing is that when I boot from the ubuntu, it does recognize it and I am connected to the Internet. When I boot from the centos I am not... (6 Replies)
Discussion started by: programAngel
6 Replies

8. UNIX for Dummies Questions & Answers

Help setting up XServer in Centos 5.4

Hi, After I remove the external video card after setup, Centos 5.4 upon boot cannot start the XServer for the onboard video card. How can I configure XServer to get it working? Machine is a DELL OPTIPLEX 745 (1 Reply)
Discussion started by: mojoman
1 Replies

9. UNIX for Advanced & Expert Users

xen

was looking for some help /tutorials on xen ..im a beginner on virtualisation ..so any help would be greatly appreciated ...p.s. whats the basic difference between para and full virtualisation (2 Replies)
Discussion started by: tarunicon
2 Replies
Login or Register to Ask a Question