哪位兄弟能否帮我看一下华为下面的电脑如何互通
第一次发帖,请各位兄弟帮我解决一下,看看是哪里的问题,以及做一些优化,谢谢!本帖最后由 88108638 于 2021-5-11 11:45 编辑
不知道怎么发图片和配置
AR配置:vlan batch 7 10 16
#
wlan ac-global carrier id other ac id 0
#
set cpu-usage threshold 80 restore 75
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$
local-user admin service-type http
#
firewall zone Local
priority 15
#
interface Vlanif1
ip address 192.168.1.1 255.255.255.0
#
interface Vlanif7
ip address 192.168.7.254 255.255.255.0
#
interface Vlanif16
ip address 192.168.16.1 255.255.255.0
#
interface Ethernet4/0/0
#
interface Ethernet4/0/1
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface Ethernet4/0/2
#
interface Ethernet4/0/3
#
interface Ethernet4/0/4
#
interface Ethernet4/0/5
#
interface Ethernet4/0/6
#
interface Ethernet4/0/7
#
interface GigabitEthernet0/0/0
#
interface GigabitEthernet0/0/1
port priority 1
#
interface GigabitEthernet0/0/2
#
interface GigabitEthernet4/0/0
#
interface NULL0
#
user-interface con 0
authentication-mode password
user-interface vty 0 4
user-interface vty 16 20
#
wlan ac
LSW1配置:
sysname Huawei
#
vlan batch 30 100 to 101
#
cluster enable
ntdp enable
ndp enable
#
drop illegal-mac alarm
#
diffserv domain default
#
drop-profile default
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password simple admin
local-user admin service-type http
#
interface Vlanif1
#
interface Vlanif30
ip address 192.168.30.1 255.255.255.0
#
interface Vlanif100
ip address 10.100.0.1 255.255.224.0
#
interface Vlanif101
ip address 192.168.101.2 255.255.255.0
#
interface MEth0/0/1
#
interface GigabitEthernet0/0/1
port link-type access
port default vlan 101
#
interface GigabitEthernet0/0/2
port link-type access
port default vlan 100
#
interface GigabitEthernet0/0/3
port link-type access
port default vlan 100
#
interface GigabitEthernet0/0/4
port link-type trunk
port trunk allow-pass vlan 2 to 4094
interface NULL0
#
ip route-static 0.0.0.0 0.0.0.0 192.168.101.1
ip route-static 192.0.0.0 255.255.255.0 192.168.30.2
#
LSW2配置:
vlan batch 7 16 30
#
cluster enable
ntdp enable
ndp enable
#
drop illegal-mac alarm
#
diffserv domain default
#
drop-profile default
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password simple admin
local-user admin service-type http
#
interface Vlanif1
ip address 192.168.1.3 255.255.255.0
#
interface Vlanif30
ip address 192.168.30.3 255.255.255.0
#
interface MEth0/0/1
#
interface Ethernet0/0/1
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface Ethernet0/0/2
port link-type access
port default vlan 16
#
interface Ethernet0/0/3
port link-type access
port default vlan 7
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/2
#
interface NULL0
#
ip route-static 10.100.0.0 255.255.224.0 192.168.30.1
ip route-static 192.168.0.0 255.255.255.0 192.168.1.1
#
LSW3配置:
<Huawei>dis cu
#
sysname Huawei
#
vlan batch 7 16 30
#
cluster enable
ntdp enable
ndp enable
#
drop illegal-mac alarm
#
diffserv domain default
#
drop-profile default
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password simple admin
local-user admin service-type http
#
interface Vlanif1
ip address 192.168.1.20 255.255.255.0
#
interface Vlanif30
ip address 192.168.30.2 255.255.255.0
#
interface MEth0/0/1
#
interface Ethernet0/0/1
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface Ethernet0/0/2
port link-type access
port default vlan 16
#
interface Ethernet0/0/3
port link-type access
port default vlan 7
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/2
#
interface NULL0
#
ip route-static 0.0.0.0 0.0.0.0 192.168.1.1
ip route-static 10.100.0.0 255.255.224.0 192.168.30.1
ip route-static 192.168.0.0 255.255.255.0 192.168.30.3
#
你加我VX吧 15288287802 拓扑上没有端口 在发个有端口的 你pc6,pc7的网关,没有到Pc1,pc2的路由。你可以在AR1上加条静态路由:ip route-static 10.0.0.0 8 192.168.30.1。试试看! 感謝分享, 持續學習 感謝分享, 持續學習 LSW1的静态路由写错了吧
页:
[1]