[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] CentOS routing table gone


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Christoph Koehler" <christoph.koehler@xxxxxxxxx>
  • Date: Mon, 11 Sep 2006 17:42:45 -0500
  • Delivery-date: Mon, 11 Sep 2006 15:43:24 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=HDo1YwbY+IInXTQeeHE2D3dY/UgjuAXc5keDs1oC64ms+ta/XKAi+IFSANN+1+q58iLr6clA+50zbjxtIDI9Ov9pTyqeaZYL7OpP6pSGawYHt4Hc+g/jo8cQltGdrmbQNMSelTZoznN0P2rZrTpuFuoduSu1tWc3h2qUJpF54iQ=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hello all,

I tried to install Xen on my CentOS server, and everything seems to go
right, but once I reboot, there is no default gateway for my network
connections, so I cannot connect in or out. That is all on dom0.

I spent about two hours in the centos channel to get this sorted out,
and all the scripts seem to be okay.
Note that the last line from netstat -rn was manually added via KVM by
me, so it doesn't appear when the system is rebooted.

Here is the output for netstat -rn ; ifconfig eth0 ; ifconfig eth1 ;
cat /etc/sysconfig/network ; cat
/etc/sysconfig/network-scripts/ifcfg-eth0 ; cat
/etc/sysconfig/network-scripts/ifcfg-eth1


[root@dhcp-123 xen]# netstat -rn ; ifconfig eth0 ; ifconfig eth1 ; cat
/etc/sysconfig/network ; cat /etc/sysconfig/network-scripts/ifcfg-eth0
; cat /etc/sysconfig/network-scripts/ifcfg-eth1
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
10.0.0.0        0.0.0.0         255.255.255.0   U         0 0          0 eth1
64.182.165.0    0.0.0.0         255.255.255.0   U         0 0          0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eth1
0.0.0.0         64.182.165.1    0.0.0.0         UG        0 0          0 eth0
eth0      Link encap:Ethernet  HWaddr 00:E0:81:5D:C4:E4
         inet addr:64.182.165.190  Bcast:64.182.165.255  Mask:255.255.255.0
         inet6 addr: fe80::2e0:81ff:fe5d:c4e4/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:3028 errors:0 dropped:0 overruns:0 frame:0
         TX packets:171 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:207927 (203.0 KiB)  TX bytes:27973 (27.3 KiB)

eth1      Link encap:Ethernet  HWaddr 00:E0:81:5D:C4:E3
         inet addr:10.0.0.1  Bcast:10.0.0.255  Mask:255.255.255.0
         inet6 addr: fe80::2e0:81ff:fe5d:c4e3/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:2365 errors:0 dropped:0 overruns:0 frame:0
         TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:149737 (146.2 KiB)  TX bytes:678 (678.0 b)
         Interrupt:20 Base address:0x6000

NETWORKING=yes
HOSTNAME=dhcp-123.installer.lan
GATEWAY=64.182.165.1
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=64.182.165.190
NETMASK=255.255.255.0
DEVICE=eth1
ONBOOT=yes
BOOTPROTO=static
IPADDR=10.0.0.1
NETMASK=255.255.255.0

Do you guys have any ideas?

Thanks!

Christoph

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.