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@gmail.com>
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@lists.xensource.com
http://lists.xensource.com/xen-users