OpenVZ Forum


Home » General » Support » Networking issue with FC4
Networking issue with FC4 [message #8017] Fri, 03 November 2006 13:11 Go to previous message
wasrv is currently offline  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.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: *SOLVED* VLAN on VETH device?
Next Topic: Best setup with lvm?
Goto Forum:
  


Current Time: Mon Aug 04 05:59:02 GMT 2025

Total time taken to generate the page: 1.83204 seconds