通信人家园
标题:
可以软件模拟ATM吗?
[查看完整版帖子]
[打印本页]
时间:
2010-4-22 16:54
作者:
hppyhjh
标题:
可以软件模拟ATM吗?
没有接触过ATM(比如板卡,线路),看过一些资料,但感觉认识不深我们知道即使电脑上没有安装网卡,只要操作系统里有TCP/IP协议功能,会有一个回环的接口,你可以在这个虚拟的网络接口上做网络操作
比如我的机器上有一个lo接口
可以对它做一些网络IO并抓下这些包:
ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.070 ms
tcpdump -i lo -e
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on lo, link-type EN10MB (Ethernet), capture size 96 bytes
15:30:18.232982 00:00:00:00:00:00 (oui Ethernet) > 00:00:00:00:00:00 (oui Ethernet), ethertype IPv4 (0x0800), length 98: localhost > localhost: ICMP echo request, id 41997, seq 1, length 64
15:30:18.233024 00:00:00:00:00:00 (oui Ethernet) > 00:00:00:00:00:00 (oui Ethernet), ethertype IPv4 (0x0800), length 98: localhost > localhost: ICMP echo reply, id 41997, seq 1, length 64
所以我想知道ATM有没有类似的情况,这样我也可以抓一抓ATM包来学习一下哈。。。
时间:
2010-4-22 20:02
作者:
hppyhjh
我来顶一个......
时间:
2010-4-23 21:18
作者:
hppyhjh
还没人来?我顶一下后死心了。。。
通信人家园 (https://www.txrjy.com/)
Powered by C114