数据通信设备配置接口ip Addressing、VLAN配置、MSTP、OSPF、BGP、QOS,求高手
发布网友
发布时间:2022-05-06 19:04
我来回答
共1个回答
热心网友
时间:2023-10-03 19:20
好复杂,我也在找 先答前2题简单的,其余等大神
1、IP Addressing
R1:
router id 10.0.1.1
interface GigabitEthernet 0/0/0
ip address 10.0.12.1 255.255.255.0
q
interface GigabitEthernet 0/0/1
ip address 10.0.14.1 255.255.255.0
q
interface GigabitEthernet 0/0/2
ip address 10.0.110.1 255.255.255.0
q
interface LoopBack0
ip address 10.0.1.1 255.255.255.255
q
interface LoopBack1
ip address 10.1.1.1 255.255.255.255
R2:
router id 10.0.2.2
interface GigabitEthernet 0/0/0
ip address 10.0.12.2 255.255.255.0
q
interface GigabitEthernet 0/0/2
ip address 10.0.23.2 255.255.255.0
q
interface LoopBack0
ip address 10.0.2.2 255.255.255.255
q
interface LoopBack1
ip address 10.1.2.2 255.255.255.255
q
R3:
router id 10.0.3.3
interface GigabitEthernet 0/0/1
ip address 10.0.35.4 255.255.255.0
q
interface GigabitEthernet 0/0/2
ip address 10.0.23.3 255.255.255.0
q
interface GigabitEthernet 0/0/3
ip address 10.0.34.5 255.255.255.0
q
interface LoopBack0
ip address 10.0.3.3 255.255.255.255
q
R4:
router id 10.0.4.4
interface GigabitEthernet 0/0/0
ip address 10.0.45.4 255.255.255.0
q
interface GigabitEthernet 0/0/1
ip address 10.0.14.4 255.255.255.0
q
interface GigabitEthernet 0/0/3
ip address 10.0.34.4 255.255.255.0
q
interface LoopBack0
ip address 10.0.4.4 255.255.255.255
q
R4:
router id 10.0.5.5
interface GigabitEthernet 0/0/0
ip address 10.0.45.5 255.255.255.0
q
interface GigabitEthernet 0/0/1
ip address 10.0.35.5 255.255.255.0
q
interface LoopBack0
ip address 10.0.5.5 255.255.255.255
q
2、VLAN 配置
SW1:
VLAN 3 to 6 10
interface Vlanif 3
ip address 20.0.3.0 255.255.255.0
q
interface Vlanif 4
ip address 20.0.4.0 255.255.255.0
q
interface Vlanif 5
ip address 20.0.5.0 255.255.255.0
q
interface Vlanif 6
ip address 20.0.6.0 255.255.255.0
q
interface Vlanif 10
ip address 10.0.112.254 255.255.255.0
q
interface GigabitEthernet0/0/2
port link-type access
port default vlan 10
q
interface Eth-Trunk1
description To_SW2
port link-type trunk
port trunk allow-pass vlan 3 to 6
q
interface Eth-Trunk2
description To_SW3
port link-type trunk
port trunk allow-pass vlan 3 to 6
q
interface Eth-Trunk3
description To_SW4
port link-type trunk
port trunk allow-pass vlan 3 to 6
q
interface GigabitEthernet0/0/3
description To_SW2
eth-trunk 1
q
interface GigabitEthernet0/0/4
description To_SW2
eth-trunk 2
q
interface GigabitEthernet0/0/9
description To_SW2
eth-trunk 3
q
SW2:
VLAN 3 to 6
interface Vlanif 3
ip address 20.0.3.0 255.255.255.0
q
interface Vlanif 4
ip address 20.0.4.0 255.255.255.0
q
interface Vlanif 5
ip address 20.0.5.0 255.255.255.0
q
interface Vlanif 6
ip address 20.0.6.0 255.255.255.0
q
interface Eth-Trunk1
description To_SW1
port link-type trunk
port trunk allow-pass vlan 3 to 6
q
interface Eth-Trunk2
description To_SW3
port link-type trunk
port trunk allow-pass vlan 3 to 6
q
interface Eth-Trunk3
description To_SW4
port link-type trunk
port trunk allow-pass vlan 3 to 6
q
interface GigabitEthernet0/0/3
description To_SW1
eth-trunk 1
q
interface GigabitEthernet0/0/8
description To_SW3
eth-trunk 2
q
interface GigabitEthernet0/0/2
description To_SW4
eth-trunk 3
q
SW3:
VLAN 3 to 6
interface Vlanif 3
ip address 20.0.3.0 255.255.255.0
q
interface Vlanif 4
ip address 20.0.4.0 255.255.255.0
q
interface Vlanif 5
ip address 20.0.5.0 255.255.255.0
q
interface Vlanif 6
ip address 20.0.6.0 255.255.255.0
q
interface Eth-Trunk1
description To_SW1
port link-type trunk
port trunk allow-pass vlan 3 to 6
q
interface Eth-Trunk2
description To_SW2
port link-type trunk
port trunk allow-pass vlan 3 to 6
q
interface GigabitEthernet0/0/3
description To_SW1
eth-trunk 1
q
interface GigabitEthernet0/0/8
description To_SW2
eth-trunk 2
q
SW4:
VLAN 3 to 6
interface Vlanif 3
ip address 20.0.3.0 255.255.255.0
q
interface Vlanif 4
ip address 20.0.4.0 255.255.255.0
q
interface Vlanif 5
ip address 20.0.5.0 255.255.255.0
q
interface Vlanif 6
ip address 20.0.6.0 255.255.255.0
q
interface Eth-Trunk1
description To_SW1
port link-type trunk
port trunk allow-pass vlan 3 to 6
q
interface Eth-Trunk2
description To_SW2
port link-type trunk
port trunk allow-pass vlan 3 to 6
q
interface GigabitEthernet0/0/9
description To_SW1
eth-trunk 1
q
interface GigabitEthernet0/0/2
description To_SW2
eth-trunk 2
q