高并发与负载均衡——网络TCP-IP基础知识

Linux下查看路由表

[root@node01 root]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.227.0   0.0.0.0         255.255.255.0   U     0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     1002   0        0 eth0
0.0.0.0         192.168.227.2   0.0.0.0         UG    0      0        0 eth0
[root@node01 root]# 

ping百度与qq

[root@node01 root]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.227.0   0.0.0.0         255.255.255.0   U     0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     1002   0        0 eth0
0.0.0.0         192.168.227.2   0.0.0.0         UG    0      0        0 eth0
[root@node01 root]# ping www.baidu.com
PING www.a.shifen.com (220.181.112.244) 56(84) bytes of data.
64 bytes from 220.181.112.244: icmp_seq=1 ttl=128 time=27.1 ms
64 bytes from 220.181.112.244: icmp_seq=2 ttl=128 time=25.1 ms
64 bytes from 220.181.112.244: icmp_seq=3 ttl=128 time=24.2 ms

64 bytes from 220.181.112.244: icmp_seq=4 ttl=128 time=23.4 ms
64 bytes from 220.181.112.244: icmp_seq=5 ttl=128 time=30.9 ms
^C
--- www.a.shifen.com ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4248ms
rtt min/avg/max/mdev = 23.425/26.203/30.971/2.698 ms
[root@node01 root]# ping www.qq.com
PING https.qq.com (123.151.137.18) 56(84) bytes of data.
64 bytes from 123.151.137.18: icmp_seq=1 ttl=128 time=24.5 ms
64 bytes from 123.151.137.18: icmp_seq=2 ttl=128 time=25.7 ms
64 bytes from 123.151.137.18: icmp_seq=3 ttl=128 time=33.9 ms
^C
--- https.qq.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2218ms
rtt min/avg/max/mdev = 24.507/28.078/33.974/4.202 ms

在这里插入图片描述
在这里插入图片描述

  • 2
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值