WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Re: CentOS routing table gone

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: CentOS routing table gone
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <848d36ff0609111542n21173429jc3a8dabb1d9efc3c@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <848d36ff0609111542n21173429jc3a8dabb1d9efc3c@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>