*SOLVED* Ip Problems Please Help Asap [message #5498] |
Mon, 21 August 2006 23:52 |
Chris.S
Messages: 15 Registered: August 2006
|
Junior Member |
|
|
Hello i just setup a fresh dedicated server i'm trying to make a vps.
I successfully created the vps and i can enter it via vzctl enter
but i cannot access the server from the ip that i allocated it.
I dont think that the ip configuration on the node is setup for the ips that i will be using to make the vps.
Is there a specific file where i need to add the ips that i own so that they will work correctly when im creating vps's?
[Updated on: Fri, 25 August 2006 06:43] by Moderator Report message to a moderator
|
|
|
Re: Ip Problems Please Help Asap [message #5506 is a reply to message #5498] |
Tue, 22 August 2006 06:02 |
Vasily Tarasov
Messages: 1345 Registered: January 2006
|
Senior Member |
|
|
Quote: | but i cannot access the server from the ip that i allocated it.
|
Sorry, I don't quite undestand you... What is "server" in your post? Is it host node or VE?
Can you descibe please what do you do in details and what fails?
Quote: | I dont think that the ip configuration on the node is setup for the ips that i will be using to make the vps.
Is there a specific file where i need to add the ips that i own so that they will work correctly when im creating vps's?
|
You have to give only the following command:
# vzctl set <VEID> --ipadd <IPADDRESS> --save
to start network inside VE. This <IPADDRESS> will be stored in <VEID>.conf file in /etc/vz/conf/ directory.
HTH,
vass.
[Updated on: Tue, 22 August 2006 10:18] Report message to a moderator
|
|
|
|
|
|
|
|
|
Re: Ip Problems Please Help Asap [message #5532 is a reply to message #5521] |
Tue, 22 August 2006 20:31 |
Chris.S
Messages: 15 Registered: August 2006
|
Junior Member |
|
|
[root@175 ~]# ip a l
2: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
4: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:50:2c:a8:2b:ab brd ff:ff:ff:ff:ff:ff
inet 64.9.105.175/26 brd 64.9.105.191 scope global eth0
1: venet0: <BROADCAST,POINTOPOINT,NOARP,UP> mtu 1500 qdisc noqueue
link/void
[root@175 ~]# vzctl exec 200 ip a l
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
3: venet0: <BROADCAST,POINTOPOINT,NOARP,UP> mtu 1500 qdisc noqueue
link/void
inet 127.0.0.1/32 scope host venet0
inet 64.9.105.122/32 brd 64.9.105.122 scope global venet0:0
inet 64.9.105.123/32 brd 64.9.105.123 scope global venet0:1
[root@175 ~]# cat /proc/sys/net/ipv4/ip_forward
0
|
|
|
|
|
|
|