分享

ping the instance tunnels interface ping 不通求大神解决

happy丿 发表于 2015-10-22 11:09:11 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 11 16291
我的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


已有(11)人评论

跳转到指定楼层
w1lo3n4g5 发表于 2015-10-22 11:28:26
楼主有没有学习视频给推荐下
回复

使用道具 举报

w1lo3n4g5 发表于 2015-10-22 11:29:09
最好是全点的,我是新手希望有配置和开发的相关材料,谢谢
回复

使用道具 举报

jixianqiuxue 发表于 2015-10-22 12:24:43
一个交换机?两个网段??
回复

使用道具 举报

jixianqiuxue 发表于 2015-10-22 12:28:56

没有路由。不同网段不能互访。
回复

使用道具 举报

happy丿 发表于 2015-10-22 12:30:58
不太懂,你说明白一些吗?请问怎么解决啊
回复

使用道具 举报

jixianqiuxue 发表于 2015-10-22 12:46:28
happy丿 发表于 2015-10-22 12:30
不太懂,你说明白一些吗?请问怎么解决啊

这个知识比较多了。建议查询下路由器和交换机的区别
开发人员必读openstack网络基础2:交换机、路由器、DHCP
http://www.aboutyun.com/thread-9648-1-1.html


最好先使用虚拟机,楼主显然网络知识比较缺乏。

回复

使用道具 举报

pig2 发表于 2015-10-22 12:49:31
w1lo3n4g5 发表于 2015-10-22 11:29
最好是全点的,我是新手希望有配置和开发的相关材料,谢谢

配置开发,如果想有前途,必须懂基本的部署。
推荐
about云零基础开发、部署+理论openstack入门视频【J版及 K版】


https://item.taobao.com/item.htm?spm=a1z10.1-c.w4004-4627152322.5.qEZ2OG&id=522548227466

回复

使用道具 举报

12下一页
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条