OpenVZ Forum


Home » General » Support » VE networking question
VE networking question [message #32640] Thu, 21 August 2008 14:43 Go to previous message
satimis is currently offline  satimis
Messages: 39
Registered: August 2008
Member
Hi folks,

Each time booting up the host, VE (guest) starts automatically. However VE can't connect Internet. I have to run on host;

[Host]# brctl addif br0 veth101.0
[Host]# vzctl exec 101 dhclient eth0

Then VE can access Internet.


[Host]# vzctl exec 101 ping -c3 google.com
PING google.com (72.14.207.99) 56(84) bytes of data.
64 bytes from eh-in-f99.google.com (72.14.207.99): icmp_seq=1 ttl=237 time=237 ms
64 bytes from eh-in-f99.google.com (72.14.207.99): icmp_seq=2 ttl=237 time=237 ms
64 bytes from eh-in-f99.google.com (72.14.207.99): icmp_seq=3 ttl=237 time=240 ms

--- google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 10803ms
rtt min/avg/max/mdev = 237.328/238.381/240.166/1.268 ms

Is there any way to make network connected automatically on booting the VM?

Can I set fixed IP on VE

Please advise. TIA Pointer would be appreciated.


B.R.
satimis
 
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: What control panel for testing server.
Next Topic: which ve's start on machine boot
Goto Forum:
  


Current Time: Fri Aug 16 20:30:09 GMT 2024

Total time taken to generate the page: 0.02877 seconds