Router(config)#ip dhcp pool VLAN3 Router(dhcp-config)#network 192.168.2.0 255.255.255.0 Router(dhcp-config)#dns 202.2.2.1 Router(dhcp-config)#default-router 192.168.2.1 Router(dhcp-config)#exit Router(config)#ip dhcp excluded-address 192.168.1.1 Router(config)#ip dhcp excluded-address 192.168.2...
VLAN10added: Name: VLAN0010 Switch(vlan)#exit APPLYcompleted. Exiting... 进入vlan,绑定网关,加入接口,这里我们先暂时只加入F0/1接口 1 2 3 4 5 6 7 8 9 10 11 12 13 14 Switch(config)#inter vlan 10 Switch(config-if)# %LINK-5-CHANGED: Interface Vlan10, changed state to up Switch(confi...
router(config)#ip dhcp pool vlan3 router(dhcp-config)#network 192.168.2.0 255.255.255.0 router(dhcp-config)#dns-server 202.2.2.2 router(dhcp-config)#default-router 192.168.2.1 router(config)#ip dhcp excluded-address 192.168.1.1 router(config)#ip dhcp excluded-address 192.168.2.1 router(config)#...
1.为DHCP服务器配置了三个VLAN。 DHCP服务器ip:192.168.1.2/24 DHCP默认网关:192.168.1.1 VLAN 10:192.168.10.1/24 VLAN 20:192.168.20.1/24 VLAN 30:192.168.30.1/24 2. 启用 switchport trunk encapsulation dot1q 连接到第3层交换机的每个接口。 3.将VLAN和VLAN默认网关IP添加到第3层...
r1(config)#ip dhcp excluded-address 192.168.3.1 r1(config)#ip dhcp pool vlan3 r1(dhcp-config)#net 192.168.3.0 255.255.255.0 r1(dhcp-config)#dns-server 100.1.1.2 r1(dhcp-config)#ex 如下图所示: 9. 现在PC之间可以自动获取IP地址和网关了,如下图所示:...
在公司这边通过一个路由器,再接了一台交换机,然后在交换机上面划分两个VLAN,下面的PC通过各自的VLAN自动学习IP地址,然后去访问公网上面的WWW服务器。 Router1端的配置: Router>en Router#conf t nter configuration commands, one per line. End with CNTL/Z. ...
Cisco Packet Tracer 小实验 VLAN、VTP、DHCP、OSPF、NAT综合,1、二层交换机配置 1、 VTP学生宿舍/教学Switch(config)#vtp domain YeyuPeiSwitch(config)#vtp mode client 2、接口划入vlan学生宿舍Switch(config)#interface 
Solved: Hi everyone, newbie here self studying. I was creating a lab for myself but I cannot for the life of me figure this out. I have a switch with 2 vlans (vlans 1 and 2), each vlan with 2 hosts, and the switch connected to the router via trunk
【计算机网络课程】Cisco Packet Tracer 使用教程 第4章(交换机划分VLAN配置) 2万 62 21:35 App ensp实验二 VLAN配置 1831 -- 9:05 App 交换机VLAN配置 1万 4 17:07 App 【西电XDU】单臂路由配置Cisco Packet Tracer思科--《交换原理与技术》实验/《计算机网络》实验/《通信网络》实验--主机/交换机/路...
Cisco Packet Tracer 之 三层交换机使用路由协议实验 ,实验环境: 实验目的:(两间公司之间的VLAN互通)1、在B公司里配置三层交换机,把FA0/1FA0/2 FA0/3设置为TRUNK端口。2、在B公司的三层交换机,创建VTP,并且创建VLAN20 VLAN30 VLAN40VLAN100,