欢迎来到天天文库
浏览记录
ID:38747490
大小:51.50 KB
页数:3页
时间:2019-06-18
《在路由器上配置DHCP》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、配置2811路由器配置端口地址interfaceFastEthernet0/0ipaddress192.168.0.1255.255.255.0配置DHCPipdhcpexcluded-address192.168.0.1ipdhcpexcluded-address192.168.0.2ipdhcpexcluded-address192.168.2.1ipdhcpexcluded-address192.168.3.1ipdhcpexcluded-address192.168.4.1ipdhcppoolvlan10network192.168.2.02
2、55.255.255.0default-router192.168.2.1ipdhcppoolvlan20network192.168.3.0255.255.255.0default-router192.168.3.1ipdhcppoolvlan30network192.168.4.0255.255.255.0default-router192.168.4.1配置到VLAN的路由iproute192.168.0.0255.255.0.0192.168.0.2或iproute192.168.2.0255.255.255.0FastEthernet0/0
3、iproute192.168.3.0255.255.255.0FastEthernet0/0iproute192.168.4.0255.255.255.0FastEthernet0/0配置三层交换机配置端口interfaceFastEthernet0/24noswitchportipaddress192.168.0.2255.255.255.0interfaceFastEthernet0/1switchporttrunkencapsulationdot1qinterfaceFastEthernet0/2switchporttrunkencapsula
4、tiondot1qinterfaceFastEthernet0/3switchporttrunkencapsulationdot1q创建VLAN,配置VTPvlandatabasevtpdomainciscovtpservervlan10vlan20vlan30配置VLAN地址,设定VLAN的DHCP服务器interfaceVlan10ipaddress192.168.2.1255.255.255.0iphelper-address192.168.0.1interfaceVlan20ipaddress192.168.3.1255.255.255.0i
5、phelper-address192.168.0.1interfaceVlan30ipaddress192.168.4.1255.255.255.0iphelper-address192.168.0.1开启路由功能iprouting配置二层交换机配置端口interfaceFastEthernet0/1switchportaccessvlan30interfaceFastEthernet0/2switchportaccessvlan10interfaceFastEthernet0/3switchportmodetrunk配置VTPvlandatabas
6、evtpdomainciscovtpclient
此文档下载收益归作者所有