LINUX.ORG.RU

История изменений

Исправление ipeacocks, (текущая версия) :

centos (192.168.1.30) - это хост-машина в Virtualbox, на котором стоит контейнер.

server102 (192.168.1.47) - сам контейнер. Это тоже CentOS.

192.168.1.41- физический хост в котором работает Virtualbox, а в нем уже CentOS.

192.168.1.1 - роутер.

С хост-машины centos в Virtualbox пингую роутер и физический хост (192.168.1.41):

[root@centos ~]# arping -I vmbr0 192.168.1.1
ARPING 192.168.1.1 from 192.168.1.30 vmbr0
Unicast reply from 192.168.1.1 [CC:5D:4E:4E:4A:78]  1.638ms
Unicast reply from 192.168.1.1 [CC:5D:4E:4E:4A:78]  0.935ms
Unicast reply from 192.168.1.1 [CC:5D:4E:4E:4A:78]  0.923ms
Unicast reply from 192.168.1.1 [CC:5D:4E:4E:4A:78]  0.893ms
Unicast reply from 192.168.1.1 [CC:5D:4E:4E:4A:78]  0.910ms
^CSent 5 probes (1 broadcast(s))
Received 5 response(s)

[root@centos ~]# arping -I vmbr0 192.168.1.41
ARPING 192.168.1.41 from 192.168.1.30 vmbr0
Unicast reply from 192.168.1.41 [F4:6D:04:15:6F:60]  1.473ms
Unicast reply from 192.168.1.41 [F4:6D:04:15:6F:60]  0.670ms
Unicast reply from 192.168.1.41 [F4:6D:04:15:6F:60]  0.701ms
Unicast reply from 192.168.1.41 [F4:6D:04:15:6F:60]  0.675ms
Sent 4 probes (1 broadcast(s))
Received 4 response(s)
[root@centos ~]# 

C контейнера server102:

[root@server102 /]# arping -I eth0 192.168.1.41
ARPING 192.168.1.41 from 192.168.1.47 eth0
^CSent 5 probes (5 broadcast(s))
Received 0 response(s)
[root@server102 /]# arping -I eth0 192.168.1.30
ARPING 192.168.1.30 from 192.168.1.47 eth0
Unicast reply from 192.168.1.30 [08:00:27:1B:39:80]  0.606ms
Unicast reply from 192.168.1.30 [08:00:27:1B:39:80]  0.546ms
Unicast reply from 192.168.1.30 [08:00:27:1B:39:80]  0.545ms
Unicast reply from 192.168.1.30 [08:00:27:1B:39:80]  0.546ms
^CSent 4 probes (1 broadcast(s))
Received 4 response(s)
[root@server102 /]# 

[root@server102 /]# arping -I eth0 192.168.1.1 
ARPING 192.168.1.1 from 192.168.1.47 eth0
^CSent 53 probes (53 broadcast(s))
Received 0 response(s)
[root@server102 /]# 

Спасибо.

Исправление ipeacocks, :

centos (192.168.1.30) - это хост-машина в Virtualbox, на котором стоит контейнер.

server102 (192.168.1.47) - сам контейнер. Это тоже CentOS.

192.168.1.41- физический хост в котором работает Virtualbox, а в нем уже CentOS.

192.168.1.1 - роутер.

С хост-машины centos в Virtualbox пингую роутер и физический хост (192.168.1.41):

[root@centos ~]# arping -I vmbr0 192.168.1.1
ARPING 192.168.1.1 from 192.168.1.30 vmbr0
Unicast reply from 192.168.1.1 [CC:5D:4E:4E:4A:78]  1.638ms
Unicast reply from 192.168.1.1 [CC:5D:4E:4E:4A:78]  0.935ms
Unicast reply from 192.168.1.1 [CC:5D:4E:4E:4A:78]  0.923ms
Unicast reply from 192.168.1.1 [CC:5D:4E:4E:4A:78]  0.893ms
Unicast reply from 192.168.1.1 [CC:5D:4E:4E:4A:78]  0.910ms
^CSent 5 probes (1 broadcast(s))
Received 5 response(s)

[root@centos ~]# arping -I vmbr0 192.168.1.41
ARPING 192.168.1.41 from 192.168.1.30 vmbr0
Unicast reply from 192.168.1.41 [F4:6D:04:15:6F:60]  1.473ms
Unicast reply from 192.168.1.41 [F4:6D:04:15:6F:60]  0.670ms
Unicast reply from 192.168.1.41 [F4:6D:04:15:6F:60]  0.701ms
Unicast reply from 192.168.1.41 [F4:6D:04:15:6F:60]  0.675ms
Sent 4 probes (1 broadcast(s))
Received 4 response(s)
[root@centos ~]# 

C контейнера server102:

[root@server102 /]# arping -I eth0 192.168.1.41
ARPING 192.168.1.41 from 192.168.1.47 eth0
^CSent 5 probes (5 broadcast(s))
Received 0 response(s)
[root@server102 /]# arping -I eth0 192.168.1.30
ARPING 192.168.1.30 from 192.168.1.47 eth0
Unicast reply from 192.168.1.30 [08:00:27:1B:39:80]  0.606ms
Unicast reply from 192.168.1.30 [08:00:27:1B:39:80]  0.546ms
Unicast reply from 192.168.1.30 [08:00:27:1B:39:80]  0.545ms
Unicast reply from 192.168.1.30 [08:00:27:1B:39:80]  0.546ms
^CSent 4 probes (1 broadcast(s))
Received 4 response(s)
[root@server102 /]# 

[root@server102 /]# arping -I eth0 192.168.1.1 
ARPING 192.168.1.1 from 192.168.1.47 eth0
^CSent 53 probes (53 broadcast(s))
Received 0 response(s)
[root@server102 /]# 

Исходная версия ipeacocks, :

centos (192.168.1.30) - это хост-машина в Virtualbox, на котором стоит контейнер.

server102 (192.168.1.47) - сам контейнер. Это тоже CentOS.

192.168.1.1 - роутер.

С хост-машины centos в Virtualbox пингую роутер и физический хост (192.168.1.41):

[root@centos ~]# arping -I vmbr0 192.168.1.1
ARPING 192.168.1.1 from 192.168.1.30 vmbr0
Unicast reply from 192.168.1.1 [CC:5D:4E:4E:4A:78]  1.638ms
Unicast reply from 192.168.1.1 [CC:5D:4E:4E:4A:78]  0.935ms
Unicast reply from 192.168.1.1 [CC:5D:4E:4E:4A:78]  0.923ms
Unicast reply from 192.168.1.1 [CC:5D:4E:4E:4A:78]  0.893ms
Unicast reply from 192.168.1.1 [CC:5D:4E:4E:4A:78]  0.910ms
^CSent 5 probes (1 broadcast(s))
Received 5 response(s)

[root@centos ~]# arping -I vmbr0 192.168.1.41
ARPING 192.168.1.41 from 192.168.1.30 vmbr0
Unicast reply from 192.168.1.41 [F4:6D:04:15:6F:60]  1.473ms
Unicast reply from 192.168.1.41 [F4:6D:04:15:6F:60]  0.670ms
Unicast reply from 192.168.1.41 [F4:6D:04:15:6F:60]  0.701ms
Unicast reply from 192.168.1.41 [F4:6D:04:15:6F:60]  0.675ms
Sent 4 probes (1 broadcast(s))
Received 4 response(s)
[root@centos ~]# 

C контейнера server102:

[root@server102 /]# arping -I eth0 192.168.1.41
ARPING 192.168.1.41 from 192.168.1.47 eth0
^CSent 5 probes (5 broadcast(s))
Received 0 response(s)
[root@server102 /]# arping -I eth0 192.168.1.30
ARPING 192.168.1.30 from 192.168.1.47 eth0
Unicast reply from 192.168.1.30 [08:00:27:1B:39:80]  0.606ms
Unicast reply from 192.168.1.30 [08:00:27:1B:39:80]  0.546ms
Unicast reply from 192.168.1.30 [08:00:27:1B:39:80]  0.545ms
Unicast reply from 192.168.1.30 [08:00:27:1B:39:80]  0.546ms
^CSent 4 probes (1 broadcast(s))
Received 4 response(s)
[root@server102 /]# 

[root@server102 /]# arping -I eth0 192.168.1.1 
ARPING 192.168.1.1 from 192.168.1.47 eth0
^CSent 53 probes (53 broadcast(s))
Received 0 response(s)
[root@server102 /]#