华为h22h服务器怎么插网线上网

华为h22h服务器怎么插网线上网,第1张

华为路由器怎么插网线?目前华为路由器的网线支持盲插(WAN/LAN自适应)功能。光猫(入户的宽带网线),可以连接到华为路由器上的任意一个接口,路由器会自动识别并将此接口作为WAN口。
目前家庭网络分为以下三种,我们对应自家的情况进行网线连接!
光纤入户
使用网线将路由器的WAN口,与光猫的任意LAN口连接。(切勿插入光猫的ITV、IPTV接口,这是无法上网的。)
电话线入户
使用网线将路由器的WAN网口,与宽带猫的任意LAN口连接。
网线入户
将入户的网线插入路由器的WAN网口。最后,将路由器的电源线插好。这时候路由器的指示灯为橙色常亮(部分路由器为红色常亮)。
有线网络连接:使用网线,将路由器LAN口与电脑(或网络电视、电视盒子等其他上网设备)连接。

实验要求:

       ①、Switch1、Switch2、Switch3作为接入二层交换机;创建Vlan100、Vlan200、Vlan300作为业务Vlan;创建Vlan999作为设备的管理Vlan。

②、Switch1的GigabitEthernet0/0/1~16口配置Vlan100;GigabitEthernet0/0/24口配置为上联口,上联到路由器Switch0。

③、Switch2的GigabitEthernet0/0/1~8口配置Vlan100、GigabitEthernet0/0/9~16口配置Vlan200;GigabitEthernet0/0/24口配置为上联口,上联到路由器Switch0。

④、Switch3的GigabitEthernet0/0/1~8口配置Vlan200、GigabitEthernet0/0/9~16口配置Vlan300;GigabitEthernet0/0/24口配置为上联口,上联到路由器Router。

⑤、在核心路由器Router上旁路接入DHCP Server,并配置成DHCP服务器,分别为Vlan100、Vlan200、Vlan300提供IP地址的分发业务。

⑥、使部署在Vlan100上的PC1、Vlan200上的PC2和PC4、Vlan300上的PC3、PC5之间能够互相通讯;并且每台PC均能与网络上的交换机、路由器进行通讯。

拓扑结构说明:

1

①、PC1、PC2、PC3、PC4、PC5设置动态获取IP地址。

②、Switch1、Switch2和Switch3作为接入交换机。Switch0作为汇聚交换机,可以不做Vlan其他非实验的Vlan配置。

③、在路由器Router旁路接入DHCP Server,作为DHCP服务器,分别为Vlan100、Vlan200、Vlan300提供IP地址的分发业务。路由器Router上配置DHCP中继。

④、如拓扑结构中所标示,为各个设备的管理地址。

2

平台搭建:

①、按照拓扑结构图所示,摆放好设备,并使用直连线连接好各个设备。

②、开启所有的设备。

END

设备配置清单:

Router的配置清单:

[V200R003C00]

<Huawei> system-view

[Huawei]sysname Router

[Router]vlan batch 100 200 300 888 999

[Router]dhcp enable

[Router]interface Vlanif 100

[Router-Vlanif100]ip address 192168101 2552552550

[Router-Vlanif100]dhcp select relay

[Router-Vlanif100]dhcp relay server-ip 19216888254

[Router-Vlanif100]quit

[Router]interface Vlanif 200

[Router-Vlanif200]ip address 192168201 2552552550

[Router-Vlanif200]dhcp select relay

[Router-Vlanif200]dhcp relay server-ip 19216888254

[Router-Vlanif200]quit

[Router]interface Vlanif 300

[Router-Vlanif300]ip address 192168301 2552552550

[Router-Vlanif300]dhcp select relay

[Router-Vlanif300]dhcp relay server-ip 19216888254

[Router-Vlanif300]quit

[Router]interface Vlanif888

[Router-Vlanif888]ip address 19216888253 2552552550

[Router-Vlanif888]quit

[Router]interface Vlanif999

[Router-Vlanif999]description Management-vlan

[Router-Vlanif999]ip address 1921689911 2552552550

[Router-Vlanif999]quit

[Router]interface Ethernet0/0/0

[Router-Ethernet0/0/0]description To_DHCPServer

[Router-Ethernet0/0/0]port link-type trunk

[Router-Ethernet0/0/0]port trunk allow-pass vlan 2 to 4094

[Router-Ethernet0/0/0]quit

[Router]interface Ethernet0/0/1

[Router-Ethernet0/0/1]description To_Switch0

[Router-Ethernet0/0/1]port link-type trunk

[Router-Ethernet0/0/1]port trunk allow-pass vlan 2 to 4094

[Router-Ethernet0/0/1]quit

[Router]interface Ethernet0/0/3

[Router-Ethernet0/0/3]description To_Switch3

[Router-Ethernet0/0/3]port link-type trunk

[Router-Ethernet0/0/3]port trunk allow-pass vlan 2 to 4094

[Router-Ethernet0/0/3]quit

[Router]interface Ethernet0/0/8

[Router-Ethernet0/0/8]description To_Output

[Router-Ethernet0/0/8]quit

[Router]ip route-static 0000 0000 19216888254

DHCP Server的配置清单:

[V200R003C00]

<Huawei> system-view

[Huawei]sysname DHCPServer

[DHCPServer]vlan batch 888 999

[DHCPServer]dhcp enable

[DHCPServer]ip pool ForVlan100

[DHCPServer-ip-pool-ForVlan100]network 192168100 mask 2552552550

[DHCPServer-ip-pool-ForVlan100]excluded-ip-address 192168102 1921681099

[DHCPServer-ip-pool-ForVlan100]excluded-ip-address 19216810200 19216810254

[DHCPServer-ip-pool-ForVlan100]dns-list 1721688

[DHCPServer-ip-pool-ForVlan100]gateway-list 192168101

[DHCPServer-ip-pool-ForVlan100]quit

[DHCPServer]ip pool ForVlan200

[DHCPServer-ip-pool-ForVlan200]network 192168200 mask 2552552550

[DHCPServer-ip-pool-ForVlan200]excluded-ip-address 192168202 1921682099

[DHCPServer-ip-pool-ForVlan200]excluded-ip-address 19216820200 19216820254

[DHCPServer-ip-pool-ForVlan200]dns-list 1721688

[DHCPServer-ip-pool-ForVlan200]gateway-list 192168201

[DHCPServer-ip-pool-ForVlan200]quit

[DHCPServer]ip pool ForVlan300

[DHCPServer-ip-pool-ForVlan300]network 192168300 mask 2552552550

[DHCPServer-ip-pool-ForVlan300]excluded-ip-address 192168302 1921683099

[DHCPServer-ip-pool-ForVlan300]excluded-ip-address 19216830200 19216830254

[DHCPServer-ip-pool-ForVlan300]dns-list 1721688

[DHCPServer-ip-pool-ForVlan300]gateway-list 192168301

[DHCPServer-ip-pool-ForVlan300]quit

[DHCPServer]interface Vlanif888

[DHCPServer-Vlanif888]ip address 19216888254 2552552550

[DHCPServer-Vlanif888]dhcp select global

[DHCPServer-Vlanif888]quit

[DHCPServer]interface Vlanif999

[DHCPServer-Vlanif999]description Management-vlan

[DHCPServer-Vlanif999]ip address 19216899254 2552552550

[DHCPServer-Vlanif999]quit

[DHCPServer]interface Ethernet0/0/0

[DHCPServer-Ethernet0/0/0]description To_Router

[DHCPServer-Ethernet0/0/0]port link-type trunk

[DHCPServer-Ethernet0/0/0]port trunk allow-pass vlan 2 to 4094

[DHCPServer-Ethernet0/0/0]quit

[DHCPServer]ip route-static 0000 0000 19216888253

Switch0的配置清单:

<Huawei> system-view

[Huawei]sysname Switch0

[Switch0]vlan batch 100 200 999

[Switch0-Vlanif999]description Management-vlan

[Switch0-Vlanif999]ip address 1921689921 2552552550

[Switch0-Vlanif999]quit

[Switch0]interface GigabitEthernet0/0/21

[Switch0-GigabitEthernet0/0/21]description To_Switch1

[Switch0-GigabitEthernet0/0/21]port link-type trunk

[Switch0-GigabitEthernet0/0/21]port trunk allow-pass vlan 2 to 4094

[Switch0-GigabitEthernet0/0/21]quit

[Switch0]interface GigabitEthernet0/0/22

[Switch0-GigabitEthernet0/0/22]description To_Switch2

[Switch0-GigabitEthernet0/0/22]port link-type trunk

[Switch0-GigabitEthernet0/0/22]port trunk allow-pass vlan 2 to 4094

[Switch0-GigabitEthernet0/0/22]quit

[Switch0]interface GigabitEthernet0/0/24

[Switch0-GigabitEthernet0/0/24]description To_Router

[Switch0-GigabitEthernet0/0/24]port link-type trunk

[Switch0-GigabitEthernet0/0/24]port trunk allow-pass vlan 2 to 4094

[Switch0-GigabitEthernet0/0/24]quit

[Switch0]ip route-static 0000 0000 1921689911

Switch1的配置清单:

<Huawei> system-view

[Huawei]sysname Switch1

[Switch1]vlan batch 100 999

[Switch1]interface Vlanif999

[Switch1-Vlanif999]description Management-vlan

[Switch1-Vlanif999]ip address 1921689931 2552552550

[Switch1-Vlanif999]quit

[Switch1]port-group 123

[Switch1-port-group-123]group-member GigabitEthernet 0/0/1 to g0/0/16

[Switch1-port-group-123]port link-type access

[Switch1-port-group-123]port default vlan 100

[Switch1-port-group-123]quit

[Switch1]undo port-group 123

[Switch1]interface GigabitEthernet0/0/24

[Switch1-GigabitEthernet0/0/24]description To_Switch0

[Switch1-GigabitEthernet0/0/24]port link-type trunk

[Switch1-GigabitEthernet0/0/24]port trunk allow-pass vlan 2 to 4094

[Switch1-GigabitEthernet0/0/24]quit

[Switch1]ip route-static 0000 0000 1921689911

Switch2的配置清单:

<Huawei> system-view

[Huawei]sysname Switch2

[Switch2]vlan batch 100 200 999

[Switch2]interface Vlanif999

[Switch2-Vlanif999]description Management-vlan

[Switch2-Vlanif999]ip address 1921689932 2552552550

[Switch2-Vlanif999]quit

[Switch2]port-group 123

[Switch2-port-group-123]group-member GigabitEthernet 0/0/1 to g0/0/8

[Switch2-port-group-123]port link-type access

[Switch2-port-group-123]port default vlan 100

[Switch2-port-group-123]quit

[Switch2]undo port-group 123

[Switch2]port-group 456

[Switch2-port-group-456]group-member GigabitEthernet 0/0/9 to g0/0/16

[Switch2-port-group-456]port link-type access

[Switch2-port-group-456]port default vlan 200

[Switch2-port-group-456]quit

[Switch2]undo port-group 456

[Switch2]interface GigabitEthernet0/0/24

[Switch2-GigabitEthernet0/0/24]description To_Switch0

[Switch2-GigabitEthernet0/0/24]port link-type trunk

[Switch2-GigabitEthernet0/0/24]port trunk allow-pass vlan 2 to 4094

[Switch2-GigabitEthernet0/0/24]quit

[Switch2]ip route-static 0000 0000 1921689911

Switch3的配置清单:

<Huawei> system-view

[Huawei]sysname Switch3

[Switch3]vlan batch 200 300 999

[Switch3]interface Vlanif999

[Switch3-Vlanif999]description Management-vlan

[Switch3-Vlanif999]ip address 1921689923 2552552550

[Switch3-Vlanif999]quit

[Switch3]port-group 123

[Switch3-port-group-123]group-member GigabitEthernet 0/0/1 to g0/0/8

[Switch3-port-group-123]port link-type access

[Switch3-port-group-123]port default vlan 200

[Switch3-port-group-123]quit

[Switch3]undo port-group 123

[Switch3]port-group 456

[Switch3-port-group-456]group-member GigabitEthernet 0/0/9 to g0/0/16

[Switch3-port-group-456]port link-type access

[Switch3-port-group-456]port default vlan 300

[Switch3-port-group-456]quit

[Switch3]undo port-group 456

[Switch3]interface GigabitEthernet0/0/24

[Switch3-GigabitEthernet0/0/24]description To_Router

[Switch3-GigabitEthernet0/0/24]port link-type trunk

[Switch3-GigabitEthernet0/0/24]port trunk allow-pass vlan 2 to 4094

[Switch3-GigabitEthernet0/0/24]quit

[Switch3]ip route-static 0000 0000 1921689911

END

模拟测试:

检验PC1、PC2、PC3、PC4、PC5获取的IP地址信息

所有PC均正常从路由器Router上正确获取IP地址等参数。

PC1到PC3、PC1到PC5、PC3到PC5的连通测试

所有的通讯测试均正常。

PC1到Router、DHCPServer的连通测试(这里直接对Router、DHCPServer的管理地址进行测试)

PC1到Switch0、Switch1、Switch2、Switch3的连通测试

所有的通讯测试均正常。


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zz/10654193.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-05-10
下一篇 2023-05-10

发表评论

登录后才能评论

评论列表(0条)

保存