设为首页收藏本站language 语言切换
12
返回列表 发新帖
楼主: 1171654483
收起左侧

[已解决] 不同网段的vlan怎么用DHCP配置???

  [复制链接]
发表于 2013-3-18 12:22:58 | 显示全部楼层
1171654483 发表于 2013-3-18 09:20
如果需要500台主机。选用的vlan10。它给的网络段应该是10.10.2.0/23—10.10.3.255/23。这里的主机位有2^9 ...

这么多地址刚刚好啊,完全可以用,
network 10.10.1.0 255.255.254.0
default-router 10.10.1.254
dns-server 202.103.96.68
16# 2013-3-18 12:22:58 回复 收起回复
回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-3-18 15:50:25 | 显示全部楼层
liuhui_8879 发表于 2013-3-18 10:36
给你两个东西,你看一下,一个是安装程序,一个视频

大虾你知道怎样保存GNS3上面的配置吗?我用了write,然后把它导出startup。加载的时候再导进去。但是好像我配置的VLAN。VTP这些都没有了。不过之前的那些链路trunk就还在。求解。。。
17# 2013-3-18 15:50:25 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2013-3-18 16:08:28 | 显示全部楼层
The VLAN configuration is stored in the vlan.dat file
18# 2013-3-18 16:08:28 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2013-3-18 16:14:24 | 显示全部楼层
when you restart your Router or you turn off the GNS3, the VLAN configuration is missing, why? Because all the VLAN information is save to file vlan.dat.
19# 2013-3-18 16:14:24 回复 收起回复
回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-3-18 17:01:55 | 显示全部楼层
liuhui_8879 发表于 2013-3-18 16:14
when you restart your Router or you turn off the GNS3, the VLAN configuration is missing, why? Beca ...

how to load the vlan.dat in my router when I  restart the GNS3?
20# 2013-3-18 17:01:55 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2013-3-18 20:48:20 | 显示全部楼层
So, this is the step to save the configuration :



LH-ROUTER#erase flash
Erasing the flash filesystem will remove all files! Continue? [confirm]
Erasing device… eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee …erased
Erase of flash: complete


LH-ROUTER#squeeze flash:
Squeeze operation may take a while. Continue? [confirm]
squeeze in progress…
Squeeze of flash complete

LH-ROUTER#conf t
Enter configuration commands, one per line. End with CNTL/Z.
K-ROUTER(config)#vtp file nvram:vlan.dat
Setting device to store VLAN database at filename nvram:vlan.dat.

LH-ROUTER(config)#do dir nvram:
Directory of nvram:/

124 -rw- 0 startup-config
125 —- 0 private-config
1 -rw- 600 vlan.dat

129016 bytes total (127940 bytes free)
LH-ROUTER(config)#

LH-ROUTER(config)#do wr mem
Building configuration…
[OK]

21# 2013-3-18 20:48:20 回复 收起回复
回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-3-19 17:47:12 | 显示全部楼层
liuhui_8879 发表于 2013-3-18 20:48
So, this is the step to save the configuration :

你这个问题答案应该是针对这个问题的吧
Switch(vlan)#exit
% not enough space on flash to store vlan database. trying squeeze…First create squeeze log by erasing the entire device

% error squeezing flash – (Missing or corrupted log)

Error on database apply 40: NV storage failure

Use ‘abort’ command to exit
我要的是保存配置,下次打开可以加载进去,你的方法试过了,没有用。。
22# 2013-3-19 17:47:12 回复 收起回复
回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-3-19 17:59:13 | 显示全部楼层
liuhui_8879 发表于 2013-3-18 20:48
So, this is the step to save the configuration :

问题解决了,原来我以前都不是用新建工程做的。用新建工程然后点那个保存nvram那个就可以的了。but thank you all the same。。
23# 2013-3-19 17:59:13 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2013-3-22 15:10:10 | 显示全部楼层
24# 2013-3-22 15:10:10 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2013-4-17 09:42:32 | 显示全部楼层
25# 2013-4-17 09:42:32 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2013-4-17 09:42:45 | 显示全部楼层
26# 2013-4-17 09:42:45 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2013-4-17 09:42:57 | 显示全部楼层
27# 2013-4-17 09:42:57 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-4-30 15:31 , Processed in 0.068042 second(s), 22 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表