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