Router(config)#ip dhcp excluded-address 192.168.1.1 Router(config)#ip dhcp excluded-address 192.168.2.1 Router(config)#access-list 1 permit 192.168.2.0 0.0.0.255 Router(config)#exit Router(config)#int fa0/0.1 Router(config-subif)#ip nat inside Router(config-subif)#exit Router(config)#int fa...
40Router(vlan)#ex退出VLAN数据库Router#conf t进入全局模式Router(config)#service dhcp启动DHCP服务Router(config)#ip dhcp pool p3创建一个名为“p3”的DHCP地址池,并进入地址池配置模式Router(dhcp-config)#network 192.168.30.0 255.255.255.0指定DHCP地址池分配的网段和子网掩码Router...
1. 打开思科模拟器软件,找出一台2811类的路由器和两台2960类的交换机,4台PC电脑,并用正确的线缆将各个设备互相连接起来,如下图所示: 2.给所有设备都重新命名,路由器命名为r1,一交换机命名为 思科模拟器Cisco Packet Tracer怎么配置DHCP?最近很多使用思科模拟器的小伙伴询问小编,怎么配置DHCP服务器?今天小编就来教...
这是配置dhcp中继,要用到命令ip helper-address 比如 Router4#configure terminal Enter configuration commands, one per line. End with CNTL/Z.Router4(config)#interface Ethernet 0 Router4(config-if)#ip helper-address 172.25.1.1 /*指定dhcp1服务器的地址,表示通过Ethernet0向该服务器发送...
Router1端的配置: Router>en Router#conf t nter configuration commands, one per line. End with CNTL/Z. Router(config)#no ip domain-lookup Router(config)#host Server Server(config)#line con 0 Server(config-line)#logg syn Server (config-line)#exec-timeout 0 0 ...
Router(config-if)# 对路由器B的配置: Router>en Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname RouterB \\为路由器B配置主机名\\ RouterB(config)#int s0/1/0 RouterB(config-if)#no shut \\激活serial0/1/0\\ ...
Switch(dhcp-config)#default-router 192.168.100.254 Switch(dhcp-config)#exit Switch(config)#ip dhcp pool vlan200 Switch(dhcp-config)#network 192.168.200.0 255.255.255.0 Switch(dhcp-config)#default-router 192.168.200.254 Switch(dhcp-config)#exit ...
R1:Router>enRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#h R1R1(config)#int f0/0R1(config-if)#no shutR1(config)#int f0/0.1R1(config-subif)#en d 10R1(config-subif)#ip add 192.168.1.254 255.255.255.0R1(config)#int f0/0.2R1(config-subif)#...
Router(config-if)# 对路由器B的配置: Router>en Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname RouterB \\为路由器B配置主机名\\ RouterB(config)#int s0/1/0 RouterB(config-if)#no shut \\激活serial0/1/0\\ ...
By using Cisco Packet Tracer Simulator to achieve the whole configuration of DHCP service,including the training environ-ment setting,IP address planning to realize the assignment of IP between different sections and segments.By applying simu-lation software in teaching,it can enable students to unders...