My 1st VPS: failed: Temporary failure in name resolution [message #29346] |
Fri, 11 April 2008 05:32 |
|
I was installed openvz and create vps using id 111. I was add 3 ip 192.168.1.2 192.168.1.3 192.168.1.4 :
[root@server ~]# ssh 192.168.1.3
root@192.168.1.3's password:
Last login: Sat Apr 12 21:13:29 2008 from 192.168.1.1
[root@server2 ~]# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 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)
venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:127.0.0.1 P-t-P:127.0.0.1 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:42 errors:0 dropped:0 overruns:0 frame:0
TX packets:45 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4308 (4.2 KiB) TX bytes:5649 (5.5 KiB)
venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:192.168.1.2 P-t-P:192.168.1.2 Bcast:192.168.1.2 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
venet0:1 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:192.168.1.3 P-t-P:192.168.1.3 Bcast:192.168.1.3 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
venet0:2 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:192.168.1.4 P-t-P:192.168.1.4 Bcast:192.168.1.4 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
and then i was edit my sysctl :
[root@server ~]# cat /etc/sysctl.conf
# On Hardware Node we generally need
# packet forwarding enabled and proxy arp disabled
net.ipv4.ip_forward = 1
net.ipv4.conf.default.proxy_arp = 0
# Enables source route verification
net.ipv4.conf.all.rp_filter = 1
# Enables the magic-sysrq key
kernel.sysrq = 1
# TCP Explict Congestion Notification
#net.ipv4.tcp_ecn = 0
# we do not want all our interfaces to send redirects
net.ipv4.conf.default.send_redirects = 1
net.ipv4.conf.all.send_redirects = 0
but after that when i login my vps, i cannot download.
[root@server ~]# ssh 192.168.1.3
root@192.168.1.3's password:
Last login: Sat Apr 12 21:18:19 2008 from 192.168.1.1
[root@server2 ~]# wget http://download.openvz.org/utils/vzctl/3.0.22/vzctl-3.0.22-1 .i386.rpm
--21:32:35-- http://download.openvz.org/utils/vzctl/3.0.22/vzctl-3.0.22-1 .i386.rpm
Resolving download.openvz.org... failed: Temporary failure in name resolution.
[root@server2 ~]#
Please help me.
|
|
|