Jump to content
Калькуляторы

Проблема с сетью и openvz

Всем привет.

Есть ПК на нем два интерфейса (физический и виртуальный), на ПК стоит виртуалка (openvz) и на нем прописан белый IP, по началу вроде как работает, но иногда, раз в хх минут, связь пропадает до IP ПК и виртуалки соответственно.

Пока виртуалку не выпускаешь в интернет, все работает. На виртуалке стоит образ virtual-pbx

 

 

компьютер с openvz

]# ifconfig

eth0 Link encap:Ethernet HWaddr 60:A4:4C:3E:71:09

inet addr:91.xx.xx.6 Bcast:91.xx.xx.255 Mask:255.255.255.0

inet6 addr: fe80::62a4:4cff:fe3e:7109/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:4126971 errors:0 dropped:0 overruns:0 frame:0

TX packets:12516219 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:5620885008 (5.2 GiB) TX bytes:11464109083 (10.6 GiB)

 

eth0:0 Link encap:Ethernet HWaddr 60:A4:4C:3E:71:09

inet addr:10.10.10.6 Bcast:10.10.10.255 Mask:255.255.255.0

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

 

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

inet6 addr: ::1/128 Scope:Host

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:497405 errors:0 dropped:0 overruns:0 frame:0

TX packets:497405 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:153666876 (146.5 MiB) TX bytes:153666876 (146.5 MiB)

 

venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00

inet6 addr: fe80::1/128 Scope:Link

UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1

RX packets:656974063 errors:0 dropped:0 overruns:0 frame:0

TX packets:22322 errors:0 dropped:24 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:681939147998 (635.1 GiB) TX bytes:14167113 (13.5 MiB)

 

# route

Kernel IP routing table

Destination Gateway Genmask Flags Metric Ref Use Iface

91.xx.xx.30 * 255.255.255.255 UH 0 0 0 venet0

91.xx.xx.0 * 255.255.255.0 U 0 0 0 eth0

10.10.10.0 * 255.255.255.0 U 0 0 0 eth0

10.10.0.0 10.10.10.254 255.255.0.0 UG 0 0 0 eth0

link-local * 255.255.0.0 U 1002 0 0 eth0

default 91.xx.xx.254 0.0.0.0 UG 0 0 0 eth0

 

В контейнере на нем:

# ifconfig

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

inet6 addr: ::1/128 Scope:Host

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:5405 errors:0 dropped:0 overruns:0 frame:0

TX packets:5405 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:412988 (403.3 KiB) TX bytes:412988 (403.3 KiB)

 

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:2423 errors:0 dropped:0 overruns:0 frame:0

TX packets:93917329 errors:0 dropped:483 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:174468 (170.3 KiB) TX bytes:96877613649 (90.2 GiB)

 

venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00

inet addr:91.xx.xx.30 P-t-P:91.xx.xx.30 Bcast:91.228.48.30 Mask:255.255.255.255

UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1

 

# route

Kernel IP routing table

Destination Gateway Genmask Flags Metric Ref Use Iface

link-local * 255.255.0.0 U 1002 0 0 venet0

default * 0.0.0.0 U 0 0 0 venet0

 

Подскажите, где найти проблему?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.