久久国产成人av_抖音国产毛片_a片网站免费观看_A片无码播放手机在线观看,色五月在线观看,亚洲精品m在线观看,女人自慰的免费网址,悠悠在线观看精品视频,一级日本片免费的,亚洲精品久,国产精品成人久久久久久久

分享

華為交換機DHCP配置基礎(chǔ)攻略(干貨分享)

 copy_left 2021-07-29

配置服務(wù)器

1 . 開啟交換機的DHCP服務(wù),。

[huawei]dhcp enable


2 . 配置地址池。

[huawei]ip pool vlan500
[huawei-ip-pool-vlan500]network 192 . 168 . 200 . 10 mask 255 . 255 . 255 . 0
[huawei-ip-pool-vlan500]dns-list 8 . 8 . 8 . 8 114 . 114 . 114 . 114
[huawei-ip-pool-vlan500]gateway-list 192 . 168 . 200 . 1

3 . 進入vlan接口開啟該lan dhcp功能,。

[huawei]interface vlanif 10
[huawei]dhcp select global

4 . 將端口加入vlan500 使其成為一個組可以擁有自動獲取IP得權(quán)力,。

[sw1]interface GigabitEthernet 0/0/2
[sw1-GigabitEthernet0/0/2]port link-type access
[sw1-GigabitEthernet0/0/2]port default vlan 500
[sw1]interface GigabitEthernet 0/0/3
[sw1-GigabitEthernet0/0/2]port link-type access
[sw1-GigabitEthernet0/0/2]port default vlan 500

5. 查看配置信息。

[huawei]display ip pool name 8


配置DHCP

配置兩個地址池:192 . 168 . 1 . 0/24和192 . 168 . 2 . 0/24
配置兩個VLAN:10和20
將四臺主機分別加入VLAN
自動獲取IP地址,,確保全網(wǎng)互通,。
步驟:
[DHCP]DHCP enable


打開DHCP功能

[DHCP]vlan batch 10 20
[DHCP]ip pool vlan10
[DHCP]gateway-list 192 . 168 . 1 . 254
[DHCP]network 192 . 168 . 1 . 0 mask 255 . 255 . 255 . 0
[DHCP]lease day 3
[DHCP]dns-list 8 . 8 . 8 . 8/
[DHCP]ip pool VLAN 20
[DHCP]gateway-list 192 . 168 . 2 . 254

[DHCP]network 192 . 168 . 2 . 0 mask 255 . 255 . 255 . 0
[DHCP]lease day 3
[DHCP]dns-list 8 . 8 . 8 . 8/

在服務(wù)器上創(chuàng)建VLAN10;20,;IP地址池VLAN 10和IP地址池 VLAN 20 .
[DHCP]interface vlanif10
[DHCP]ip address 192 . 168 . 1 . 254 255 . 255 . 255 . 0
[DHCP]dhcp select global
[DHCP] interface vlanif20
[DHCP]ip address 192 . 168 . 2 . 254 255 . 255 . 255 . 0
[DHCP]dhcp select global

給VLAN10,,VLAN20配置IP/
[DHCP]interface gi0/0/1
[DHCP]port link-type trunk
[DHCP]port trunk allow-pass all

[DHCP]interface gi0/0/2
[DHCP]port link-type trunk
[DHCP]port trunk allow-pass all

給DHCP服務(wù)器1口和2口配置trunk鏈路
[SW1]vlan batch 10 20
[SW1]interface gi0/1
[SW1]port link-type access
[SW1]port default vlan 10
[SW1]interface gi0/2
[SW1]port link-type access
[SW1]port default vlan 10
[SW1]interface gi0/3
[SW1]port link-type trunk
[SW1]port trunk allow-pass all

    本站是提供個人知識管理的網(wǎng)絡(luò)存儲空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點,。請注意甄別內(nèi)容中的聯(lián)系方式,、誘導(dǎo)購買等信息,謹(jǐn)防詐騙,。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,,請點擊一鍵舉報。
    轉(zhuǎn)藏 分享 獻花(0

    0條評論

    發(fā)表

    請遵守用戶 評論公約

    類似文章 更多