OpenVZ Forum


Home » General » Support » Cannot Access Internet
Re: Cannot Access Internet [message #33827 is a reply to message #33825] Thu, 13 November 2008 09:25 Go to previous messageGo to previous message
fatboytim
Messages: 6
Registered: November 2008
Junior Member
maratrus wrote on Thu, 13 November 2008 03:20


you shouldn't have aliases on the HN!
If you want to assign an ip address to your VE "vzctl set $VEID --ipadd x.x.x.x" is sufficient.


That's exactly what I did.
As per the wiki, I did:
[host-node]# vzctl create CTID --ostemplate osname
[host-node]# vzctl set CTID --ipadd a.b.c.d --save
[host-node]# vzctl set CTID --nameserver a.b.c.d --save
[host-node]# vzctl start CTID

Basically the only things I've done with this server is to install the kernel & tools, reboot into OpenVZ kernel, download the CentOS 4 prebuilt OS template, then create the containers using the above commands.

I then tried to connect to them via SSH and that worked fine, but outgoing connections from the containers isn't working.

I did also make some config changes to grub etc as per the instructions on http://wiki.openvz.org/Quick_installation but other than this I haven't installed or changed anything else on the server from a fresh RHEL4 install.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Network Problem
Next Topic: Using DRBD with VPS
Goto Forum:
  


Current Time: Sat Sep 07 19:28:13 GMT 2024

Total time taken to generate the page: 0.05916 seconds