- 论坛徽章:
- 0
|
请问各位前辈,我的freebsd在traceroute 内网IP的时候没有任何问题能收到回应
但是当我traceroute 外网的域名时候发现freebsd根本没有封ICMP包去做
我tcpdump | grep icmp
获者tcpdump | grep udp 都没有输出
但是我traceroute 内网的ip时都有发送ICMP包探测
DNS没有问题能成功解析
我是通过代理上网的方式
FB是我的虚拟机IP 10.137.200.171
我实体机器的IP 10.137.200.130
下面是一些信息如果还需要什么信息,我尽量提供
traceroute 内网ip
- traceroute to 10.137.66.11 (10.137.66.11), 64 hops max, 40 byte packets
- 1 10.137.200.129 (10.137.200.129) 0.975 ms 0.574 ms 0.633 ms
- 2 10.137.255.37 (10.137.255.37) 0.701 ms 0.827 ms 0.566 ms
- 3 10.137.66.11 (10.137.66.11) 0.643 ms 0.392 ms 0.436 ms
复制代码
tcpdump回复
- 06:21:34.320778 IP 10.137.66.11 > 10.137.200.171: ICMP 10.137.66.11 udp port 33441 unreachable, length 48
- 06:21:34.325791 IP 10.137.66.11 > 10.137.200.171: ICMP 10.137.66.11 udp port 33442 unreachable, length 48
- 06:21:34.326216 IP 10.137.66.11 > 10.137.200.171: ICMP 10.137.66.11 udp port 33443 unreachable, length 48
复制代码
traceroute 外网域名
- BSD-1# traceroute [url]www.baidu.com[/url]
- traceroute: Warning: [url]www.baidu.com[/url] has multiple addresses; using 121.14.89.10
- traceroute to [url]www.a.shifen.com[/url] (121.14.89.10), 64 hops max, 40 byte packets
- 1 * * *
- 2 * * *
- 3 * * *
- 4 * * *
- 5 * * *
复制代码
tcpdump 回显
- BSD-1# tcpdump | grep udp
- tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
- listening on em0, link-type EN10MB (Ethernet), capture size 96 bytes
- 06:36:58.949868 IP 10.137.200.171 > 10.136.33.195: ICMP 10.137.200.171 udp port 6112 unreachable, length 36
- 06:37:00.267766 IP 10.137.200.171 > 10.136.33.195: ICMP 10.137.200.171 udp port 6112 unreachable, length 36
- 06:37:01.200638 IP 10.137.200.171 > 10.136.33.195: ICMP 10.137.200.171 udp port 6112 unreachable, length 36
- 06:37:03.846236 IP 10.137.200.171 > 10.136.33.195: ICMP 10.137.200.171 udp port 6112 unreachable, length 36
- 06:37:04.914921 IP 10.137.200.171 > 10.136.33.195: ICMP 10.137.200.171 udp port 6112 unreachable, length 36
- 06:37:09.692171 IP 10.137.200.171 > 10.136.33.195: ICMP 10.137.200.171 udp port 6112 unreachable, length 36
- 06:37:10.715016 IP 10.137.200.171 > 10.136.33.195: ICMP 10.137.200.171 udp port 6112 unreachable, length 36
- 06:37:11.229696 IP 10.137.200.171 > 10.137.65.101: ICMP 10.137.200.171 udp port 60741 unreachable, length 36
- 06:37:13.083548 IP 10.137.200.171 > 10.136.33.195: ICMP 10.137.200.171 udp port 6112 unreachable, length 36
- 06:37:41.504205 IP 10.137.65.102 > 10.137.200.130: ICMP 10.137.65.102 udp port netbios-ns unreachable, length 104
- 06:37:43.003802 IP 10.137.65.102 > 10.137.200.130: ICMP 10.137.65.102 udp port netbios-ns unreachable, length 104
- 06:37:44.503903 IP 10.137.65.102 > 10.137.200.130: ICMP 10.137.65.102 udp port netbios-ns unreachable, length 104
- 06:37:46.004138 IP 10.137.65.102 > 10.137.200.130: ICMP 10.137.65.102 udp port netbios-ns unreachable, length 104
- 06:37:47.503924 IP 10.137.65.102 > 10.137.200.130: ICMP 10.137.65.102 udp port netbios-ns unreachable, length 104
- 06:37:49.006303 IP 10.137.65.102 > 10.137.200.130: ICMP 10.137.65.102 udp port netbios-ns unreachable, length 104
- 06:37:49.329246 IP 10.137.200.171 > 10.136.33.195: ICMP 10.137.200.171 udp port 6112 unreachable, length 36
- 06:37:50.022742 IP 10.137.200.171 > 10.136.33.195: ICMP 10.137.200.171 udp port 6112 unreachable, length 36
- 06:37:50.504028 IP 10.137.65.102 > 10.137.200.130: ICMP 10.137.65.102 udp port netbios-ns unreachable, length 104
- 06:37:50.914962 IP 10.137.200.171 > 10.136.33.195: ICMP 10.137.200.171 udp port 6112 unreachable, length 36
- 06:37:52.006853 IP 10.137.65.102 > 10.137.200.130: ICMP 10.137.65.102 udp port netbios-ns unreachable, length 104
- 06:37:53.503794 IP 10.137.65.102 > 10.137.200.130: ICMP 10.137.65.102 udp port netbios-ns unreachable, length 104
- 06:37:55.004867 IP 10.137.65.102 > 10.137.200.130: ICMP 10.137.65.102 udp port netbios-ns unreachable, length 104
- 06:37:56.504184 IP 10.137.65.102 > 10.137.200.130: ICMP 10.137.65.102 udp port netbios-ns unreachable, length 104
- 06:37:58.003946 IP 10.137.65.102 > 10.137.200.130: ICMP 10.137.65.102 udp port netbios-ns unreachable, length 104
- 06:37:59.504176 IP 10.137.65.102 > 10.137.200.130: ICMP 10.137.65.102 udp port netbios-ns unreachable, length 104
- 06:38:01.004455 IP 10.137.65.102 > 10.137.200.130: ICMP 10.137.65.102 udp port netbios-ns unreachable, length 104
- 06:38:02.504180 IP 10.137.65.102 > 10.137.200.130: ICMP 10.137.65.102 udp port netbios-ns unreachable, length 104
- 06:38:04.004227 IP 10.137.65.102 > 10.137.200.130: ICMP 10.137.65.102 udp port netbios-ns unreachable, length 104
- 06:38:05.366326 IP 10.137.200.171 > 10.136.33.195: ICMP 10.137.200.171 udp port 6112 unreachable, length 36
- ^C701 packets captured
- 703 packets received by filter
- 0 packets dropped by kernel
复制代码
设置的代理
- setenv HTTP_PROXY 'http://XXXXX:password@10.137.255.176:3128'
- setenv FTP_PROXY 'http://XXXXX:password@10.137.66.59:3128'
复制代码 |
|