OpenVZ Forum


Home » General » Support » [solved] opensuse11(VE) network failed
[solved] opensuse11(VE) network failed [message #34071] Sun, 30 November 2008 16:44 Go to next message
tukey is currently offline  tukey
Messages: 10
Registered: March 2008
Location: China
Junior Member
Hi,
I wanted to migrate an openSUSE 11 from a physical server into a VE.
I did read some articles about "Physical to container" and "OpenSUSE template creation".
Then I copied everything from the physical server into /vz/private/XXXX, created a /etc/vz/conf/XXXX.conf with parameter IP_ADDRESS in it (here XXXX is my VEID).
And I disabled the VE's udev, created several necessary devices in /dev using mknod, modified /etc/fstab, linked /proc/mounts to /etc/mtab ... and so on.

By far, every is fine except network doen't work. I can't ping from or into the VE.

When I do a "ifconfig" inside the VE, nothing retrieved.
While when I do a "ifconfig -a", the result shows as below.
-------------------------------
# ifconfig -a
lo Link encap:Local Loopback
LOOPBACK MTU:16436 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)

venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
BROADCAST POINTOPOINT 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)
-------------------------------


So, can anyone help me or give a tip please?
Thank you.

[Updated on: Fri, 05 December 2008 09:34] by Moderator

Report message to a moderator

Re: opensuse11(VE) network failed [message #34073 is a reply to message #34071] Sun, 30 November 2008 16:52 Go to previous messageGo to next message
tukey is currently offline  tukey
Messages: 10
Registered: March 2008
Location: China
Junior Member
btw, my HN is slackware12, kernel is 2.6.24, patch version is ovz006.5. I have some other distros as VEs, they are working well.
Re: opensuse11(VE) network failed [message #34082 is a reply to message #34073] Mon, 01 December 2008 08:15 Go to previous messageGo to next message
khorenko is currently offline  khorenko
Messages: 533
Registered: January 2006
Location: Moscow, Russia
Senior Member
Hello.

Please, check latest 2.6.18-x kernel based on RHEL5 kernel. If it works, please, report back and file a bug for 2.6.24, in that case i guess that will be a known problem and we'll fix it quickly.

Thanks you.

--
Konstantin


If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
Re: opensuse11(VE) network failed [message #34086 is a reply to message #34082] Mon, 01 December 2008 09:18 Go to previous messageGo to next message
tukey is currently offline  tukey
Messages: 10
Registered: March 2008
Location: China
Junior Member
to Konstantin,

Ok, Thanks for your reply. I will try as you said.
I'll let you know the result later.
Re: opensuse11(VE) network failed [message #34111 is a reply to message #34086] Wed, 03 December 2008 02:55 Go to previous messageGo to next message
tukey is currently offline  tukey
Messages: 10
Registered: March 2008
Location: China
Junior Member
I have not tried it yet.
But I modified some settings in the VE-opensuse11, it just worked.
So it's not a bug.

Thank you for helping me.
Re: opensuse11(VE) network failed [message #34128 is a reply to message #34111] Fri, 05 December 2008 09:34 Go to previous messageGo to next message
khorenko is currently offline  khorenko
Messages: 533
Registered: January 2006
Location: Moscow, Russia
Senior Member
Hi.
Could you please post here what exactly did you modify to make it working? This might help other people in case they face the same issue.

Thank you.

--
Konstantin


If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
Re: opensuse11(VE) network failed [message #34943 is a reply to message #34128] Thu, 12 February 2009 20:58 Go to previous message
mule169 is currently offline  mule169
Messages: 1
Registered: February 2009
Junior Member
Hello,

If you have the time or inclination I would like to know what you configured in the VE to get the networking to work. I am running into the same problem with both veth and venet

Thanks
Previous Topic: how to find correct template for vps
Next Topic: Vlans on HN, how to disable routing between them
Goto Forum:
  


Current Time: Sun Jul 21 05:14:53 GMT 2024

Total time taken to generate the page: 0.02350 seconds