思科模拟器配置

2025-01-01 17:44:11
推荐回答(2个)
回答1:

楼主,你好
很简单,我手动敲一下
F0/0为出口端口
F0/1为内网接口
配置如下
Router:
interface f0/0
no shu
ip nat outside
exit
interface f0/1
no shu
exit
inter f0/1.10
encap dot1q 10 -----------------封装DOT1Q协议,并且打上VLAN 10标签
sw mode trunk
ip nat inside
no shu
exit
inter f0/1.20
encap dot1q 20 -----------------封装DOT1Q协议,并且打上VLAN 20标签
sw mode trunk———————— 封装trunk协议,目的是VLAN数据流通过
ip nat inside
no shu
exit
ip dhcp pool 10
network 192.168.10.0 255.255.255.0
def 192.168.10.254
dns 202.103.24.68 202.103.44.150
exit
ip dhcp pool 20
network 192.168.20.0 255.255.255.0
def 192.168.20.254
dns 202.103.24.68
exit
ip dhcp ex 192.168.10.254
ip dhcp ex 192.168.20.254
ip access-list 1 per 192.168.0.0 0.0.255.255
ip nat inside source list 1 inter f0/0 over load
ip route 0.0.0.0 0.0.0.0 下一跳
————————————————————
交换机接路由器端口是 G0/1口
vlan 10
exit
vlan 20
exit
inter g0/1
sw mode trunk
sw trunk all vlan 10,20
inter f0/2
sw access vlan 10
inter f0/3
sw access vlan 20
quit
write ...........
ok,配置到此为止
有不懂再问、。
楼下貌似还有一家网工培训机构,,

有空多多交流

回答2:

对思科模拟器版本有要求吗