- 论坛徽章:
- 0
|
原帖由 ssffzz1 于 2009-12-16 09:09 发表 ![]()
哦。帖IP1的
ifconfig -a
route
然后帖IP2和测试用的PC的抓包结果,
ifconfig -a
- [root@localhost22 ha.d]# ifconfig -a
- eth0 Link encap:Ethernet HWaddr 00:0D:60:98:08:B8
- inet addr:192.168.1.43 Bcast:192.168.1.255 Mask:255.255.255.0
- inet6 addr: fe80::20d:60ff:fe98:8b8/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:1462768 errors:0 dropped:0 overruns:0 frame:0
- TX packets:1848222 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:214781429 (204.8 MiB) TX bytes:1540262098 (1.4 GiB)
- Interrupt:185
-
- eth1 Link encap:Ethernet HWaddr 00:0D:60:98:08:B9
- inet addr:IP1 Bcast:IP1 Mask:255.255.255.192
- inet6 addr: fe80::20d:60ff:fe98:8b9/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:18203100 errors:0 dropped:0 overruns:0 frame:0
- TX packets:13159546 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:1502009936 (1.3 GiB) TX bytes:1208528775 (1.1 GiB)
- Interrupt:193
-
- eth1:0 Link encap:Ethernet HWaddr 00:0D:60:98:08:B9
- inet addr:(IP1/26) Bcast:209.205.109.255 Mask:255.255.255.0
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- Interrupt:193
-
- 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:16436 Metric:1
- RX packets:5129770 errors:0 dropped:0 overruns:0 frame:0
- TX packets:5129770 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:538247416 (513.3 MiB) TX bytes:538247416 (513.3 MiB)
-
- sit0 Link encap:IPv6-in-IPv4
- NOARP MTU:1480 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:0
- RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
复制代码
ifconfig
- [root@localhost22 ha.d]# route
- Kernel IP routing table
- Destination Gateway Genmask Flags Metric Ref Use Iface
- IP1 * 255.255.255.192 U 0 0 0 eth1
- 192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
- 169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
- default zz209205109001. 0.0.0.0 UG 0 0 0 eth1
复制代码
tcpdump tcp port 9090 -i eth1
- 18:06:31.329865 IP IP1.2338 > IP2.9090: S 2416609132:2416609132(0) win 65535 <mss 1412,nop,nop,sackOK>
- 18:06:31.339282 IP IP2.9090 > IP1.2338: S 3393647156:3393647156(0) ack 2416609133 win 5840 <mss 1460,nop,nop,sackOK>
复制代码
但我的页出不来~ |
|