我的controller network compute 分别装在三个物理机上 且都接在同一个交换机上controller
root@controller:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:14:2a:c9:78:11
inet addr:192.168.1.106 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::214:2aff:fec9:7811/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1151 errors:0 dropped:185 overruns:0 frame:0
TX packets:497 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:101497 (101.4 KB) TX bytes:52354 (52.3 KB)
eth1 Link encap:Ethernet HWaddr 00:0a:eb:03:06:48
UP BROADCAST MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
network
network@network:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:0a:eb:7d:81:69
inet addr:192.168.2.114 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
eth1 Link encap:Ethernet HWaddr 00:16:ec:50:ea:25
inet addr:192.168.1.114 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::216:ecff:fe50:ea25/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:491 errors:0 dropped:7 overruns:0 frame:0
TX packets:311 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:42707 (42.7 KB) TX bytes:36977 (36.9 KB)
eth2 Link encap:Ethernet HWaddr 00:15:e9:42:5d:9a
UP BROADCAST MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
compute
root@compute:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0a:eb:9e:a6:a4
inet addr:192.168.2.143 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
eth1 Link encap:Ethernet HWaddr 00:16:ec:50:f6:6f
inet addr:192.168.1.143 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::216:ecff:fe50:f66f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:281 errors:0 dropped:7 overruns:0 frame:0
TX packets:177 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:22753 (22.7 KB) TX bytes:20995 (20.9 KB)
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:65536 Metric:1
RX packets:101 errors:0 dropped:0 overruns:0 frame:0
TX packets:101 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:7585 (7.5 KB) TX bytes:7585 (7.5 KB)
root@controller:~# ping -c 4 network
PING network (192.168.1.114) 56(84) bytes of data.
64 bytes from network (192.168.1.114): icmp_seq=1 ttl=64 time=0.255 ms
64 bytes from network (192.168.1.114): icmp_seq=2 ttl=64 time=0.101 ms
64 bytes from network (192.168.1.114): icmp_seq=3 ttl=64 time=0.098 ms
^C
--- network ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.098/0.151/0.255/0.074 ms
root@controller:~# ping -c 4 compute
PING compute (192.168.1.143) 56(84) bytes of data.
64 bytes from compute (192.168.1.143): icmp_seq=1 ttl=64 time=0.227 ms
64 bytes from compute (192.168.1.143): icmp_seq=2 ttl=64 time=0.107 ms
64 bytes from compute (192.168.1.143): icmp_seq=3 ttl=64 time=0.099 ms
^C
--- compute ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.099/0.144/0.227/0.059 ms
root@controller:~# ping -c 4 192.168.2.114
PING 192.168.2.114 (192.168.2.114) 56(84) bytes of data.
--- 192.168.2.114 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3023ms
root@controller:~# ping -c 4 192.168.2.143
PING 192.168.2.143 (192.168.2.143) 56(84) bytes of data.
--- 192.168.2.143 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 2999ms
network@network:~$ ping -c 4 controller
PING controller (192.168.1.106) 56(84) bytes of data.
64 bytes from controller (192.168.1.106): icmp_seq=1 ttl=64 time=0.145 ms
64 bytes from controller (192.168.1.106): icmp_seq=2 ttl=64 time=0.100 ms
64 bytes from controller (192.168.1.106): icmp_seq=3 ttl=64 time=0.098 ms
c64 bytes from controller (192.168.1.106): icmp_seq=4 ttl=64 time=0.097 ms
--- controller ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2998ms
rtt min/avg/max/mdev = 0.097/0.110/0.145/0.020 ms
network@network:~$ ping -c 4 compute
PING compute (192.168.1.143) 56(84) bytes of data.
64 bytes from compute (192.168.1.143): icmp_seq=1 ttl=64 time=0.280 ms
64 bytes from compute (192.168.1.143): icmp_seq=2 ttl=64 time=0.135 ms
64 bytes from compute (192.168.1.143): icmp_seq=3 ttl=64 time=0.100 ms
^C
--- compute ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.100/0.171/0.280/0.079 ms
network@network:~$ ping -c 4 192.168.2.143
PING 192.168.2.143 (192.168.2.143) 56(84) bytes of data.
From 192.168.2.114 icmp_seq=1 Destination Host Unreachable
From 192.168.2.114 icmp_seq=2 Destination Host Unreachable
From 192.168.2.114 icmp_seq=3 Destination Host Unreachable
From 192.168.2.114 icmp_seq=4 Destination Host Unreachable
--- 192.168.2.143 ping statistics ---
4 packets transmitted, 0 received, +4 errors, 100% packet loss, time 3015ms
pipe 3
root@compute:~# ping -c 4 controller
PING controller (192.168.1.106) 56(84) bytes of data.
64 bytes from controller (192.168.1.106): icmp_seq=1 ttl=64 time=0.154 ms
64 bytes from controller (192.168.1.106): icmp_seq=2 ttl=64 time=0.102 ms
64 bytes from controller (192.168.1.106): icmp_seq=3 ttl=64 time=0.096 ms
^C
--- controller ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.096/0.117/0.154/0.027 ms
root@compute:~# ping -c 4 network
PING network (192.168.1.114) 56(84) bytes of data.
64 bytes from network (192.168.1.114): icmp_seq=1 ttl=64 time=0.138 ms
64 bytes from network (192.168.1.114): icmp_seq=2 ttl=64 time=0.109 ms
64 bytes from network (192.168.1.114): icmp_seq=3 ttl=64 time=0.097 ms
^C
--- network ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.097/0.114/0.138/0.021 ms
root@compute:~# ping -c 4 192.168.2.114
PING 192.168.2.114 (192.168.2.114) 56(84) bytes of data.
From 192.168.2.143 icmp_seq=1 Destination Host Unreachable
From 192.168.2.143 icmp_seq=2 Destination Host Unreachable
From 192.168.2.143 icmp_seq=3 Destination Host Unreachable
^C
--- 192.168.2.114 ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3015ms
pipe 3
|