OpenVZ Forum


Home » General » Support » Problem with Networking - VENET Interfaces not Configured
Problem with Networking - VENET Interfaces not Configured [message #30715] Wed, 04 June 2008 16:47 Go to previous message
sjdean is currently offline  sjdean
Messages: 30
Registered: May 2008
Member
Hi,

Im having a few problems with networking.

This is what I see. The VPS venet0 interface doesn't have an IP, and the venet0 doesn't appear to be bridged to the ethernet card on eth1.

The VE doesn't seem to bring up venet0 or venet0:0 (indeed why I have two - Im not sure).

Trying to restart the network services on the VE from the VPS gives:

"Bringing up interface venet0: Error, some other host already uses address 127.0.0.1."

venet0 seems assigned 127.0.0.1 while venet0:0 10.0.0.32 (my chosen ip), which means if it can't bring up venet0 then I would imagine it can't load venet0:0

Even if I change the IP of venet0 on the VE to something unused, it still gives the same error.

What this means, is that I can't ping the IP of 10.0.0.32 from either the network or the VPS.

Here's more info:

Kernel
Quote:

Linux rutsey.blargle.local 2.6.24-ovz005.1 #1 SMP Mon May 12 16:38:09 MSD 2008 i 686 athlon i386 GNU/Linux


Setting IP Address With VZCTL
Quote:

Adding IP address(es): 10.0.0.32
SIOCADDRT: No such device
Saved parameters for VE 102


VPS ifcofnig
Quote:

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:0 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:0 (0.0 b) TX bytes:0 (0.0 b)

VPS Route
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.32 * 255.255.255.255 UH 0 0 0 venet0


VE Scripts and Files
Quote:

[root@rutsey sysconfig]# cat network
NETWORKING="yes"
GATEWAY="192.0.2.1"
HOSTNAME="collins.blargle.local"


lo on ve
Quote:

[root@rutsey network-scripts]# cat ifcfg-lo
DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
# If you're having problems with gated making 127.0.0.0/8 a martian,
# you can change this to something else (255.255.255.255, for example)
BROADCAST=127.255.255.255
ONBOOT=yes
NAME=loopback


venet0 on ve
Quote:

[root@rutsey network-scripts]# cat ifcfg-venet0
DEVICE=venet0
BOOTPROTO=static
ONBOOT=yes
IPADDR=127.0.0.1
NETMASK=255.255.255.255
BROADCAST=0.0.0.0


venet0:0 on ve
Quote:

[root@rutsey network-scripts]# cat ifcfg-venet0:0
DEVICE=venet0:0
ONBOOT=yes
IPADDR=10.0.0.32
NETMASK=255.255.255.255


Network Stop
Quote:

[root@rutsey etc]# vzctl exec 102 service network stop
Shutting down loopback interface: [ OK ]
Cannot find device "sit0"


Network Start
Quote:

[root@rutsey etc]# vzctl exec 102 service network start
Bringing up loopback interface: Error, some other host already uses address 127.0.0.1.
[FAILED]
Bringing up interface venet0: Error, some other host already uses address 127.0.0.1.
[FAILED]
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists


Let me know if you need more.



Im trying the fedora-9-i386 template.

Any thoughts?

Cheers
Simon
 
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: How do I reset root password.
Next Topic: SSH proxy/gateway
Goto Forum:
  


Current Time: Wed Aug 14 09:20:05 GMT 2024

Total time taken to generate the page: 0.02773 seconds