OpenVZ Forum


Home » General » Support » Networking Issues - CentOS 5
Networking Issues - CentOS 5 [message #29223] Wed, 09 April 2008 00:18 Go to next message
sitediscovery is currently offline  sitediscovery
Messages: 1
Registered: April 2008
Location: sacramento, Ca
Junior Member
I have installed the system, I have edited the sysctl.conf file. I have ipv4 forwarding enabled. I will try to be brief here.

My host network is 192.168.0.0

I have 192.168.0.54 assigned to eth0
virbr0 has an ip address of 192.168.122.1

I never installed or even know what virbr0 is.

I can ping 192.168.0.54 just fine.
I can ping 192.168.122.1 just fine.

I cannot ping my gateway at 192.168.0.1

I have no external network connectivity.

Before I installed openvz on this system, I could get out just fine.

here is my sysctl.conf file:

net.ipv4.ip_forward = 1
net.ipv4.conf.default.proxy_arp = 0
net.ipv4.conf.all.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
net.ipv4.tcp.syncookies = 1
net.ipv4.conf.default.send_redirects = 1
net.ipv4.conf.all.send_redirects = 0

after reboot cat /proc/sys/net/ipv4/ip_forward returns a 1.

I'm not a brain surgeon. What am I missing? A default route somewhere? Everything on the host side looks fine. Why would I all of a sudden lose my ability to see my local network after installing openvz? Does the virbr0 interface take over all routing?

Any help is much appreciated.
Re: Networking Issues - CentOS 5 [message #29234 is a reply to message #29223] Wed, 09 April 2008 10:06 Go to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Please,

what kernel do you use?
"uname -a"
Are you sure that it it OpenVZ kernel?
Please describe how did you install OpenVZ. Where have you got your kernel?
Previous Topic: Install from Live CD?
Next Topic: bringing up CTs with duplicate IP addresses
Goto Forum:
  


Current Time: Sat Sep 28 06:04:05 GMT 2024

Total time taken to generate the page: 0.04085 seconds