OpenVZ Forum


Home » International » Russian » *SOLVED* venet, "connect: Invalid argument"
Re: venet, "connect: Invalid argument" [message #33339 is a reply to message #33326] Wed, 08 October 2008 10:44 Go to previous messageGo to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Quote:


[root@test_centos_2 ~]# ip r ls
10.0.5.0/24 dev venet0  scope host
169.254.0.0/16 dev venet0  scope link
default via 10.0.5.10 dev venet0
[root@test_centos_2 ~]#




Проблема в "10.0.5.0/24 dev venet0 scope host", а точнее "scope host". Из "man ip"
Quote:


host - the address is valid only inside this host.


Поставьте "scope link".
Вам не нужно прописывать routing внутри VPS, достаточно иметь default маршрут на venet0 интерфес.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Стоит ли связываться с HyperVM ?
Next Topic: Совместимость openvz и virtuozzo
Goto Forum:
  


Current Time: Sat Aug 30 19:00:39 GMT 2025

Total time taken to generate the page: 0.11174 seconds