24HCNA综合_trunk_vlan_vlanif_dhcp_ospf_nat_acl_ppp_dns

在这里插入图片描述

sys
sys
lsw2
vlan ba 10 20 30 40
int eth0/0/1
p l a
p d v 10
int eth0/0/2
p l a
p d v 20
int eth0/0/3
p l t
p t a v 10 20 30 40
int eth0/0/4
p l t
p t a v 10 20 30 40

sys
sys
lsw3
vlan ba 10 20 30 40
int eth0/0/1
p l a
p d v 30
int eth0/0/2
p l a
p d v 40
int eth0/0/3
p l t
p t a v 10 20 30 40
int eth0/0/4
p l t
p t a v 10 20 30 40

sys
sys
lsw1
dhcp enable 
vlan ba 10 20 30 40
int g0/0/1
p l t
p t a v 10 20 30 40
int g0/0/2
p l t
p t a v 10 20 30 40
int vlanif 10 
ip add 192.168.10.254 24
dhcp sel int
dhcp server dns-list 3.0.0.1
int vlanif 20 
ip add 192.168.20.254 24
dhcp sel int
dhcp ser dns 3.0.0.1
int vlanif 30 
ip add 192.168.30.254 24
dhcp sel int
dhcp ser dns 3.0.0.1
int vlanif 40 
ip add 192.168.40.254 24
dhcp sel int 
dhcp ser dns 3.0.0.1
二次添加dns 需要pc 
ipconfig /release
ipconfig /renew
stp root primary/stp priority 0
vlan 11
int g0/0/3
p l a
p d v 11
int vlanif 11
ip add 92.168.11.1 24
ospf 1 router-id 2.2.2.2
a 0
net 192.168.11.1 0.0.0.0
net 192.168.10.254 0.0.0.0
net 192.168.20.254 0.0.0.0
net 192.168.30.254 0.0.0.0
net 192.168.40.254 0.0.0.0

在这里插入图片描述


在这里插入图片描述


在这里插入图片描述

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值