OpenVZ Forum


Home » International » Russian » [solved] eth0 in VE
[solved] eth0 in VE [message #34689] Mon, 26 January 2009 18:03 Go to previous message
beaver is currently offline  beaver
Messages: 11
Registered: January 2009
Location: Kiev, Ukraine
Junior Member
Здравствуйте.
На сервере имеются следующие интерфейсы:

Quote:

#ifconfig
eth0 Link encap:Ethernet HWaddr 00:E0:81:4B:DD:B3
inet addr:10.3.0.252 Bcast:10.3.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:25563 errors:0 dropped:0 overruns:0 frame:0
TX packets:1301 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2396966 (2.2 MiB) TX bytes:188755 (184.3 KiB)

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
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:13 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1025 (1.0 KiB) TX bytes:1228 (1.1 KiB)



Есть VE, где картина выглядит так:
Quote:

# /sbin/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
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:21 errors:0 dropped:0 overruns:0 frame:0
TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2880 (2.8 KiB) TX bytes:3533 (3.4 KiB)

venet0:1 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.3.0.215 P-t-P:10.3.0.215 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1


И есть некая программа [в VE], для работы требующая eth0. Как его получить? [вопрос, наверное, тупой, но извините)]

[Updated on: Tue, 27 January 2009 14:20]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Centos 5.2 + ip alias
Next Topic: kernel-2.6.24 bug - traffic control settings
Goto Forum:
  


Current Time: Wed Nov 06 01:00:57 GMT 2024

Total time taken to generate the page: 0.03694 seconds