OpenVZ Forum


Home » General » Support » SIOCADDRT: Network is unreachable
SIOCADDRT: Network is unreachable [message #35545] Thu, 02 April 2009 17:32 Go to previous message
dburge is currently offline  dburge
Messages: 4
Registered: January 2009
Junior Member
Hello,

I've just installed OpenVZ on RedHat. I'm having a problem with not being able to ping outside the network from within a VE
I can ping the hardware node IP, but not any other ip or domain name.

When I restart the network on the hardware node I receive this:

**************************************
[root@207516-app1 ~]# service network restart
Shutting down interface eth0: [ OK ]
Shutting down interface eth1: [ OK ]
Shutting down interface venet0: Shutting down interface venet0:
[ OK ]
Shutting down loopback interface: [ OK ]
Disabling IPv4 packet forwarding: net.ipv4.ip_forward = 0
[ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: [ OK ]
Bringing up interface eth1: [ OK ]
Bringing up interface venet0: Bringing up interface venet0:
Configuring interface venet0:
net.ipv4.conf.venet0.send_redirects = 0
[ OK ]
SIOCADDRT: Network is unreachable
SIOCADDRT: Network is unreachable
[root@207516-app1 ~]#
**************************************


I've ensured that iptables are off on the hardware node.
I've ensured that SELINUX is disable, and all other lines in that file are commented out (per some other forum posts).

The VE has a valid IP address assigned with a hostname and nameservers.

Here's a copy of my sysctl.conf file per the manual:

********************************
# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled. See sysctl(Cool and
# sysctl.conf(5) for more details.

# Controls IP packet forwarding
net.ipv4.ip_forward = 1
net.ipv4.conf.default.proxy_arp = 0

# Controls source route verification
net.ipv4.conf.all.rp_filter = 1

# Do not accept source routing
net.ipv4.conf.default.accept_source_route = 0

# we do not want all our interfaces to send redirects
net.ipv4.conf.default.send_redirects = 1
net.ipv4.conf.all.send_redirects = 0

# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 1

# Controls whether core dumps will append the PID to the core filename
# Useful for debugging multi-threaded applications
kernel.core_uses_pid = 1

# Controls the use of TCP syncookies
net.ipv4.tcp_syncookies = 1

# Controls the maximum size of a message, in bytes
kernel.msgmnb = 65536

# Controls the default maxmimum size of a mesage queue
kernel.msgmax = 65536

# Controls the maximum shared segment size, in bytes
kernel.shmmax = 68719476736

# Controls the maximum number of shared memory segments, in pages
kernel.shmall = 4294967296
************************************

Any ideas on why it's not working?

Thanks,

Daniel
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Cant stop VPS from HyperVM
Next Topic: Debian — kernel error
Goto Forum:
  


Current Time: Mon Aug 12 23:27:39 GMT 2024

Total time taken to generate the page: 0.02808 seconds