华为三层交换机连接路由器设置(华为路由器和三层交换机最后如何配置)

小编:饿狼 更新时间:2022-08-26

一、华为三层交换机连接路由器设置

1.将无线路由器连接光猫。

用一条网线一端接入光猫网口1或网口3或网口4,另一端接入无线路由器WAN接口;

2.将无线路由器连接电脑。

用一条网线一端接入无线路器LAN接口,另一端插入电脑。

3.光猫的默认地址为192.168.1.1,所以无线路由器的LAN口需要配其他网段的地址;

4.配置方法:登陆到无线路由器,IP设置为192.168.2.1 (之后访问无线路由器是http://192.168.2.1);

5.子网掩码:255.255.255.0保存;

6.WAN口设置。

由无线路由器的网络参数——WAN口设置——WAN口连接类型:选择动态IP;

7.完成以上步骤后就可以通过路由器上网了;

8.现在设置无线上网参数;

9.无线参数-基本设置-SSID号:任意取名——勾选开启无线功能-允许SSID广播——开启安全设置——自己设置密码;

10.修改无线路由器登陆口令:系统工具-修改登陆口令-自定义设置;

11.重启路由器,有线和无线都可以上网了。

注意事项:

访问无线路由器是http://192.168.2.1;

设置完以后要重启路由器。


二、华为路由器和三层交换机最后如何配置

你这典型的基础知识没学好嘛,什么是二层转发,什么是三层转发,交换机工作在二层,二层是mac寻址,hcia第一天就讲这个东西,路由器工作在三层路由转发,交换机都是二层口,当然不能做三层转发,就不存在配置ip地址一说,除了高端的CE系列的交换机可以配置ip地址,那交换机都一万多块钱一台。

路由器和交换机连接除了了ar1220以外,其他的都是在交换机上access,这样交换机和路由器通信的时候就可以剥离标签,路由器就能识别,但是要写静态路由互指。


三、华为三层交换机如何开启路由器功能

华为的三层交换机默认是打开路由功能的,需要做的是把VLAN和地址规划了

  1. 划分VLAN,并描述

    vlan 1

    description local-S3600 vlan 2

    description link-to-wenquan

    vlan 3

    description link-to-ruzhou

    vlan 4

    description link-to-xiaotun

    vlan 5

    description link-to-baofeng

    vlan 6

    description link-to-pingxi

    vlan 7

    description link-to-pingnan

    vlan 8

    description Uplink-to-Putian

    vlan 9

    description link-to-pingxicentre

  2. 给VLAN 划网关 interface Vlan-interface2

    description link to wenquan ip address 10.41.77.41 255.255.255.192 interface Vlan-interface3

    description link to ruzhou ip address 10.41.77.105 255.255.255.192 interface Vlan-interface4

    description link to xiaotun ip address 10.41.77.169 255.255.255.192 interface Vlan-interface5

    description link to baofeng ip address 10.41.77.233 255.255.255.192 interface Vlan-interface6

    description link to pingxi ip address 10.41.78.41 255.255.255.192 interface Vlan-interface7

    description link to pingnan ip address 10.41.78.105 255.255.255.192 interface Vlan-interface8

    description uplink to putian ip address 10.41.244.102 255.255.255.252 interface Vlan-interface9

    description link to pingxicentre ip address 10.41.80.233 255.255.255.192

  3. 给VLAN 指定端口

    interface Ethernet1/0/2

    description link to wenquan port access vlan 2

    interface Ethernet1/0/3

    description link to ruzhou port access vlan 3

    interface Ethernet1/0/4

    description link to xiaotun port access vlan 4

    interface Ethernet1/0/5

    description link to baofeng port access vlan 5

    interface Ethernet1/0/6

    description link to pingxi port access vlan 6 interface Ethernet1/0/7

    description link to pingnan port access vlan 7

    interface Ethernet1/0/8

    description uplink to putian port access vlan 8

    interface Ethernet1/0/9 to Ethernet1/0/24

    description link to pingxicentre port access vlan 9

  4. 配置路由协议 //

    (1)用RIP配动态路由 rip

    network 10.41.77.41

    network 10.41.77.105

    network 10.41.77.169

    network 10.41.77.233

    network 10.41.78.41

    network 10.41.78.105

    network 10.41.80.233

    network 10.41.244.102