Networking issue with FC4 [message #8017] |
Fri, 03 November 2006 13:11 |
wasrv
Messages: 12 Registered: November 2006
|
Junior Member |
|
|
Hello,
The installation of OpenVZ on the server was a breeze, both the kernel replacement and the daemon installation:
[07:59:05][~]> rpm -qa | grep vz
vzquota-3.0.9-1
vzpkg-2.7.0-18
vzctl-lib-3.0.12-1
vzctl-3.0.12-1
vzrpm44-4.4.1-22.5
vzrpm44-python-4.4.1-22.5
vztmpl-fedora-core-5-2.0-2
ovzkernel-2.6.9-023stab032.1
vzyum-2.4.0-11
vzrpm43-python-4.3.3-7_nonptl.6
[07:59:12][~]> uname -a
Linux X.Y.Z 2.6.9-023stab032.1 #1 Fri Oct 20 02:48:36 MSD 2006 i686 athlon i386 GNU/Linux
I modified the kernel tuning parameters as mentioned in the guide and networking parameters are all set:
[08:03:26][~]> cat /proc/sys/net/ipv4/ip_forward
1
[08:03:33][~]> iptables -L
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
I have created a FC5 VE and added it an IP as described in your guide, however networking doesn't work. Ifconfig & route on the VE lists the following info:
-bash-3.1# ifconfig -a
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:7 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1084 (1.0 KiB) TX bytes:1084 (1.0 KiB)
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.1 P-t-P:127.0.0.1 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:164 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:23688 (23.1 KiB)
venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:11.22.33.44 P-t-P:11.22.33.44 Bcast:11.22.33.44 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
-bash-3.1# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
191.255.255.0 0.0.0.0 255.255.255.0 U 0 0 0 venet0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 venet0
0.0.0.0 191.255.255.1 0.0.0.0 UG 0 0 0 venet0
Where 11.22.33.44 is the IP I added for the VE. Now here's the output for the HN:
[08:09:05][~]> ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:00:21:F4:53:1F
inet addr:11.22.33.99 Bcast:11.22.33.255 Mask:255.255.255.128
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1081802 errors:0 dropped:0 overruns:0 frame:0
TX packets:300108 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:88613125 (84.5 MiB) TX bytes:185321665 (176.7 MiB)
Interrupt:17 Base address:0xd000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:33065 errors:0 dropped:0 overruns:0 frame:0
TX packets:33065 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3462234 (3.3 MiB) TX bytes:3462234 (3.3 MiB)
venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:164 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:23688 (23.1 KiB) TX bytes:0 (0.0 b)
Where 11.22.33.99 is my main IP address.
After browsing these forums, I tried several tricks but none worked (the preserve arguments for /bin/cf and the early load of the ip_conntrack module).
Any suggestions for my problem?
Thank you and for your great product.
|
|
|
|
|
|
|
Re: Networking issue with FC4 [message #8029 is a reply to message #8028] |
Fri, 03 November 2006 14:12 |
wasrv
Messages: 12 Registered: November 2006
|
Junior Member |
|
|
Sorry, I misunderstood Here's the output:
VE:
-bash-3.00# ping 11.22.33.99
PING 11.22.33.99 (11.22.33.99) 56(84) bytes of data.
--- 11.22.33.99 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 2999ms
HN:
[09:09:48][~]> tcpdump -n -i venet0
tcpdump: WARNING: arptype 65535 not supported by libpcap - falling back to cooke d socket
tcpdump: WARNING: venet0: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on venet0, link-type LINUX_SLL (Linux cooked), capture size 96 bytes
09:10:36.381161 IP 11.22.33.44 > 11.22.33.99: icmp 64: echo request seq 0
09:10:37.380548 IP 11.22.33.44 > 11.22.33.99: icmp 64: echo request seq 1
09:10:38.380406 IP 11.22.33.44 > 11.22.33.99: icmp 64: echo request seq 2
09:10:39.380247 IP 11.22.33.44 > 11.22.33.99: icmp 64: echo request seq 3
4 packets captured
4 packets received by filter
0 packets dropped by kernel
11.22.33.44 - IP assigned to the VE
11.22.33.99 - main IP of the HN
About the access, it's a production server, I'm not allowed to
[Updated on: Fri, 03 November 2006 14:13] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|