【GNS3使用笔记10】TFTP服务
一、建立一个简单的拓扑
1. 包含一个路由器和一个CLOUD,将R1的一个接口(这里我用了f0/0)与cloud连接起来。
建立一个简单的拓扑
2. cloud做如下设置
CLOUD设置
如果没有显示出VM的虚拟网卡,需要先勾选"Show special Ethernet interfaces",在②的列表中选择"VMware Network Adapter VMnet1",并点击后面的“Add”按钮,最后点ok。
3. 配置路由器R1
我的VM网卡1配置了IP地址为192.168.1.113,那么路由器的F0/0的IP地址设置为同一网段即可,这里配置为192.168.1.112,并ping一下主机网卡
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#int f0/0
R1(config-if)#ip add 192.168.1.112 255.255.255.0
R1(config-if)#no sh
R1#show ip int bri
Interface IP-Address OK?Method Status Protocol
FastEthernet0/0 192.168.1.112 YES manual up up
FastEthernet0/1 unassigned YES unset administratively down down
R1#ping192.168.1.113
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to192.168.1.113, timeout is 2 seconds:
.!!!!
Success rate is 100 percent (5/5),round-trip min/avg/max = 4/13/28 ms
可以看到已经ping通了
二、运行思科的tftp服务端
下载思科的tftp服务端并运行
三、测试tftp功能
R1#copy
start tftp
Address or name of remote host []?192.168.1.113
Destination filename [r1-confg]?R1_config_bak
!!
897 bytes copied in 0.076 secs (11803bytes/sec)
Tftp功能OK
[end]