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

[Xen-users] Re: CentOS routing table gone


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Christoph Koehler" <christoph.koehler@xxxxxxxxx>
  • Date: Thu, 14 Sep 2006 15:03:03 -0500
  • Delivery-date: Thu, 14 Sep 2006 13:03:49 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=nhgsxGK56unHyYSGAOnMRbDWz/niVvRm4KBRqheGfKk5sOKRhUOq5rc7L7G4VftGSWX7eUO0+aGhZBcvFRaeKYKoIHYTN6kyko0MzEr/4UWnvv4KlP1hXBc8dE+q9w3/M/6XcLuunNPWOuKaKBTI8T07zoGuvs4aexpIbi2IX/s=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Any ideas why the default gateway disappears on reboot? Should I try
reinstalling Xen?

Any help at all is really appreciated.

Christoph


On 9/11/06, Christoph Koehler <christoph.koehler@xxxxxxxxx> wrote:
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®.