欢迎来到天天文库
浏览记录
ID:37770248
大小:156.42 KB
页数:11页
时间:2019-05-30
《怎样合理解决DHCP和VLAN的网关问题》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、怎样合理解决DHCP和VLAN的网关问题(图)new副本.jpg(139.1KB)2009-8-1911:23之前的那个图不够完善,现在把它重做好了。解释:2801里面NAT做好,3650里面VLAN40DHCP获取做好。问题:需要VLAN40通过2801上外网,且做到内部互访。麻烦在哪里:3650里面设置默认网关为192.168.4.1为VLAN40的网关,但是不能上外网。 如果设置网关为192.168.4.2,可上外网,但不能互访。这就是冲突。 另外:有朋友建议3650和2801之间TRUNK。但是,我取消36
2、50的6口trunk,可是还有端口占用。 SHOWRUN查不到。无果,可见下。问下大侠们有什么好的解决方案,谢谢先。附上3650和2801的配置:3650xiexie>enPassword:xiexie#shrunBuildingconfiguration...Currentconfiguration:3832bytes!version12.2noservicepadservicetimestampsdebuguptimeservicetimestampsloguptimenoservicepassword-encryption
3、!hostnamexiexie!enablesecret5$1$Zol8$QVnxkN9RBsXOSwKbSLkwW0!noaaanew-modelipsubnet-zeroiproutingipname-server210.21.196.6ipdhcpexcluded-address192.168.4.1192.168.4.200!ipdhcppooldhcp40 network192.168.4.0255.255.255.0 default-router192.168.4.1 dns-server210.21.196.6!!!!nofileverifyau
4、tospanning-treemodepvstspanning-treeextendsystem-id!vlaninternalallocationpolicyascending!interfaceFastEthernet0/1switchportaccessvlan20switchportmodeaccess!interfaceFastEthernet0/2switchportaccessvlan20switchportmodeaccess!interfaceFastEthernet0/3switchportaccessvlan20switchportmodeac
5、cess!interfaceFastEthernet0/4switchportaccessvlan20switchportmodeaccess!interfaceFastEthernet0/5switchportaccessvlan11switchportmodeaccess!interfaceFastEthernet0/6switchportaccessvlan20switchportmodeaccess!interfaceFastEthernet0/7switchportaccessvlan20switchportmodeaccess!interfaceFast
6、Ethernet0/8switchportaccessvlan20switchportmodeaccess!interfaceFastEthernet0/9switchportaccessvlan10switchportmodeaccess!interfaceFastEthernet0/10switchportaccessvlan10switchportmodeaccess!interfaceFastEthernet0/11switchportaccessvlan20switchportmodeaccess!interfaceFastEthernet0/12swit
7、chportaccessvlan20switchportmodeaccess!interfaceFastEthernet0/13switchportaccessvlan20switchportmodeaccess!interfaceFastEthernet0/14switchportaccessvlan20switchportmodeaccess!interfaceFastEthernet0/15switchportaccessvlan20switchportmodeaccess!interfaceFastEthernet0/16switchportaccess
此文档下载收益归作者所有