教育改变生活

标题: 配置默认网关 [打印本页]

作者: chinasll    时间: 2020-6-5 14:43
标题: 配置默认网关
配置默认网关

[attach]4023[/attach]
具体配置:
SW1的配置
enable
conf t
hostname SW1
Int vlan 1
Ip add 192.168.1.10 255.255.255.0
no shut
exit
Ip defau 192.168.1.254
enable secret testsw1
line vty 0 4
pass hahasw1
login
exit
SW2的配置
enable
conf t
hostname SW2
Int vlan 1
Ip add 192.168.2.10 255.255.255.0
no shut
exit
Ip defau 192.168.2.254
enable secret testsw1
line vty 0 4
pass hahasw2
login
exit
R1的配置
enable
conf t
hostname R1
Int f0/0
Ip add 192.168.1.254 255.255.255.0
no shut
Exit
Int f0/1
Ip add 192.168.2.254 255.255.255.0
no shut
exit
enable secret testr1
line vty 0 4
pass hahar1
login
exit
PC配置






欢迎光临 教育改变生活 (http://bbs.goldoar.com/) Powered by Discuz! X3.2