OpenVZ Forum


Home » General » Support » Re: Can't resolve host address within container [SOLVED]
Re: Can't resolve host address within container [SOLVED] [message #50761 is a reply to message #42863] Mon, 28 October 2013 05:02 Go to previous message
sarh877 is currently offline  sarh877
Messages: 5
Registered: October 2013
Junior Member
Hi,

I got the same problem like you. and when I show ifconfig on my container,

it shows:

(the container does not have eth0)

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:560 (560.0 b) TX bytes:560 (560.0 b)

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: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)

virbr0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:39 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:6913 (6.7 KiB)



please help me to find out the problem.thanks so much!

[Updated on: Mon, 28 October 2013 05:03]

Report message to a moderator

 
Read Message icon9.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Read Message
Previous Topic: container can't not access to the Internet
Next Topic: Ploop mount/umount issue
Goto Forum:
  


Current Time: Mon Jun 30 07:52:39 GMT 2025

Total time taken to generate the page: 0.01993 seconds