Hi, I had problem restarting the kernel, so I upgraded the openvz kernal from rescue mode. Now I'm having a problem connecting from VE to outside (only 2 out of 8 can connect).
FROM NODE:
Code:
# ip route
xxxxx
83.149.124.192/26 dev eth0 proto kernel scope link src 83.149.xxxx
169.254.0.0/16 dev eth0 scope link
default via 83.14xxx4 dev eth0
FROM NODE:
Code:
# service network restart
Shutting down interface eth0: [ 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: RTNETLINK answers: Network is down
ifup-local ERROR: Unable to add route ip route add 83.149.124.240 dev venet0
[ OK ]
Bringing up interface venet0: Bringing up interface venet0:
Configuring interface venet0:
net.ipv4.conf.venet0.send_redirects = 0
Configuring ipv6 venet0:
[ OK ]
FROM node:
Code:
# ifconfig
eth0 Link encap:Ethernet HWaddr 3C:4A:92:7C:FF:0A
inet addr:83.1xxxx Bcast:83.1xxx Mask:255.255.255.192
inet6 addr: fe80::3e4a:92ff:fe7c:ff0a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2004517 errors:0 dropped:1 overruns:0 frame:5
TX packets:950648 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2858974391 (2.6 GiB) TX bytes:271792119 (259.2 MiB)
Interrupt:169 Memory:df900000-df910000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:37 errors:0 dropped:0 overruns:0 frame:0
TX packets:37 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:64238 (62.7 KiB) TX bytes:64238 (62.7 KiB)
venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet6 addr: fe80::1/128 Scope:Link
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:28638802 errors:0 dropped:0 overruns:0 frame:0
TX packets:46146657 errors:0 dropped:215 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:25566663407 (23.8 GiB) TX bytes:55047654902 (51.2 GiB)
from internal:
Code:
# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:400 (400.0 B) TX bytes:400 (400.0 B)
venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:127.0.0.2 P-t-P:127.0.0.2 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:1 errors:0 dropped:0 overruns:0 frame:0
TX packets:841 errors:0 dropped:10 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:112 (112.0 B) TX bytes:58625 (58.6 KB)
venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:83.149.127.85 P-t-P:83.149.127.85 Bcast:0.0.0.0 Mask:255.255.255.0
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
---------- Post added 09-18-11 at 02:46 PM ----------
From node:
Quote:
# cat /etc/sysctl.conf
net.ipv4.ip_forward = 1
net.ipv6.conf.default.forwarding = 1
net.ipv6.conf.all.forwarding = 1
net.ipv4.conf.default.proxy_arp = 0
net.ipv4.conf.all.rp_filter = 1
kernel.sysrq = 1
net.ipv4.conf.default.send_redirects = 1
net.ipv4.conf.all.send_redirects = 0
|
Quote:
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
xxxxxxxxxxxxxxxxxxxxxx
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 83.14xxxxx4 0.0.0.0 UG 0 0 0 eth0
|