网络运维学习笔记(DeepSeek优化版) 017 HCIA-Datacom综合实验02

综合实验2

在这里插入图片描述

sw3

vlan 2
stp mode stp
int e0/0/1
port link-type trunk
port trunk allow-pass vlan 2
int e0/0/2
port link-type trunk
port trunk allow-pass vlan 2
int e0/0/3
port link-type access
port default vlan 2

sw4

vlan 3
stp mode stp
int e0/0/1
port link-type trunk
port trunk allow-pass vlan 3
int e0/0/2
port link-type trunk 
port trunk allow-pass vlan 3
int e0/0/3
port link-type access
port default vlan 3

gw

int loopback0
ip add 1.1.1.1 32
int g0/0/0
ip add 192.168.10.2 24
int g0/0/1
ip add 192.168.11.2 24
int g0/0/2
ip add 12.1.1.1 24
ospf 1 router-id 1.1.1.1
area 0
network 1.1.1.1 0
network 192.168.10.2 0
network 192.168.11.2 0 
default-route-advertise
ip route-static 0 0 12.1.1.2
acl 2000
rule permit source any
nat outbound 2000

core1(sw1)

vlan batch 2 3 10
stp mode stp
stp priority 4096
int g0/0/4
port link-type trunk
port trunk allow-pass vlan 2 3
int g0/0/5
port link-type trunk
port trunk allow-pass vlan 2 3 
int Eth-Trunk 1
mode lacp
trunkport GigabitEthernet 0/0/2 to 0/0/3
port link-type trunk
port trunk allow-pass vlan all
int g0/0/1
port link-type access
port default vlan 10
int vlanif 10
ip add 192.168.10.1 24 
int LoopBack0
ip add 2.2.2.2 32
ospf 1 router-id 2.2.2.2
area 0
network 0.0.0.0 255.255.255.255
int vlanif 2
ip add 192.168.2.1 24
int vlanif 3
ip add 192.168.3.1 24

core2(sw2)

vlan batch 2 3 11
stp mode stp
stp priority 8192
int g0/0/4
port link-type trunk
port trunk allow-pass vlan all
int g0/0/5
port link-type trunk
port trunk allow-pass vlan all
int Eth-Trunk 1
mode lacp
trunkport GigabitEthernet 0/0/2 to 0/0/3
port link-type trunk
port trunk allow-pass vlan all
int g0/0/1
port link-type access
port default vlan 11
int vlanif 11
ip add 192.168.11.1 24
int LoopBack0
ip add 3.3.3.3 32
ospf 1 router-id 3.3.3.3
area 0
network 0.0.0.0 255.255.255.255
int vlanif 2
ip add 192.168.2.2 24
int vlanif 3
ip add 192.168.3.2 24

ISP

ip add 12.1.1.2 24
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

技术小齐

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值