中文字幕av专区_日韩电影在线播放_精品国产精品久久一区免费式_av在线免费观看网站

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

實操 :華為DHCP中繼服務配置

發布時間:2020-02-29 21:18:35 來源:網絡 閱讀:800 作者:wx5d8b05ec4cbc3 欄目:網絡管理

前言:

該實驗是華為模擬器eNSP模擬器、dhcp中繼實驗
#DHCP中繼的應用場景:
通常在DHCP分配網段過多的情況下,網關路由器上配置DHCP服務,壓力過大,
一般我們用第二路由器,或則第二臺DHCP服務器來分擔業務

dhcp 中繼

這里設置一臺專用的DHCP服務器為pc機配置IP地址
實操 :華為DHCP中繼服務配置
LSW1

<Huawei>system-view 
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname LSW1
[LSW1]un in en
Info: Information center is disabled.
[LSW1]vlan bat 10 20
Info: This operation may take a few seconds. Please wait for a moment...done.
[LSW1]int e 0/0/1
[LSW1-Ethernet0/0/1]p l a
[LSW1-Ethernet0/0/1]p d v 10
[LSW1-Ethernet0/0/1]un sh
Info: Interface Ethernet0/0/1 is not shutdown.
[LSW1-Ethernet0/0/1]int e 0/0/2
[LSW1-Ethernet0/0/2]p l a
[LSW1-Ethernet0/0/2]p d v 20
[LSW1-Ethernet0/0/2]un sh
Info: Interface Ethernet0/0/2 is not shutdown.
[LSW1-Ethernet0/0/2]int e 0/0/3
[LSW1-Ethernet0/0/3]p l a
[LSW1-Ethernet0/0/3]p d v 10
[LSW1-Ethernet0/0/3]un sh
Info: Interface Ethernet0/0/3 is not shutdown.
[LSW1-Ethernet0/0/3]int e 0/0/4
[LSW1-Ethernet0/0/4]p l a
[LSW1-Ethernet0/0/4]p d v 20
[LSW1-Ethernet0/0/4]un sh
Info: Interface Ethernet0/0/4 is not shutdown.
[LSW1-Ethernet0/0/4]int g 0/0/1
[LSW1-GigabitEthernet0/0/1]p l t
[LSW1-GigabitEthernet0/0/1]p t a v a
[LSW1-GigabitEthernet0/0/1]un sh
Info: Interface GigabitEthernet0/0/1 is not shutdown.
[LSW1-GigabitEthernet0/0/1]dis vlan 
The total number of vlans is : 3
1    common  UT:Eth0/0/5(D)     Eth0/0/6(D)     Eth0/0/7(D)     Eth0/0/8(D)     
                Eth0/0/9(D)     Eth0/0/10(D)    Eth0/0/11(D)    Eth0/0/12(D)    
                Eth0/0/13(D)    Eth0/0/14(D)    Eth0/0/15(D)    Eth0/0/16(D)    
                Eth0/0/17(D)    Eth0/0/18(D)    Eth0/0/19(D)    Eth0/0/20(D)    
                Eth0/0/21(D)    Eth0/0/22(D)    GE0/0/1(U)      GE0/0/2(D)      
10   common  UT:Eth0/0/1(U)     Eth0/0/3(U)                                     
             TG:GE0/0/1(U)                                                      
20   common  UT:Eth0/0/2(U)     Eth0/0/4(U)                                     
             TG:GE0/0/1(U)                                                                       
[LSW1-GigabitEthernet0/0/1]
[LSW1-GigabitEthernet0/0/1]dis int b
InUti/OutUti: input utility/output utility
Interface                   PHY   Protocol InUti OutUti   inErrors  outErrors
Ethernet0/0/1               up    up          0%     0%          0          0
Ethernet0/0/2               up    up          0%     0%          0          0
Ethernet0/0/3               up    up          0%     0%          0          0
Ethernet0/0/4               up    up          0%     0%          0          0
GigabitEthernet0/0/1        up    up          0%     0%          0          0

R1

<Huawei>system-view 
Enter system view, return user view with Ctrl+Z.
[Huawei]un in en
Info: Information center is disabled.
[Huawei]dhcp enable
Info: The operation may take a few seconds. Please wait for a moment.done.
[Huawei]int g 0/0/0
[Huawei-GigabitEthernet0/0/0]ip add 14.0.0.1 24
[Huawei-GigabitEthernet0/0/0]un sh
Info: Interface GigabitEthernet0/0/0 is not shutdown.
[Huawei-GigabitEthernet0/0/0]int g 0/0/3
[Huawei-GigabitEthernet0/0/3]ip add 12.0.0.1 24
[Huawei-GigabitEthernet0/0/3]un sh
Info: Interface GigabitEthernet0/0/3 is not shutdown.
[Huawei-GigabitEthernet0/0/3]q
[Huawei]vlan bat 10 20
Info: This operation may take a few seconds. Please wait for a moment...done.
[Huawei]int g 0/0/1.10
[Huawei-GigabitEthernet0/0/1.10]dot1q termination vid 10
[Huawei-GigabitEthernet0/0/1.10]ip add 192.168.10.1 24
[Huawei-GigabitEthernet0/0/1.10]un sh
Info: Interface GigabitEthernet0/0/1.10 is not shutdown.
[Huawei-GigabitEthernet0/0/1.10]q
[Huawei]int g 0/0/1.10
[Huawei-GigabitEthernet0/0/1.10]dis this
#
interface GigabitEthernet0/0/1.10
 dot1q termination vid 10
 ip address 192.168.10.1 255.255.255.0
#
return
[Huawei-GigabitEthernet0/0/1.10]a b e 
[Huawei-GigabitEthernet0/0/1.10]dhcp select relay
[Huawei-GigabitEthernet0/0/1.10]dhcp relay server-ip 14.0.0.2
[Huawei-GigabitEthernet0/0/1.10]q
[Huawei]int g 0/0/1.20
[Huawei-GigabitEthernet0/0/1.20]dot1q termination vid 20
[Huawei-GigabitEthernet0/0/1.20]ip add 192.168.20.1 24
[Huawei-GigabitEthernet0/0/1.20]a b e
[Huawei-GigabitEthernet0/0/1.20]dhcp select relay 
[Huawei-GigabitEthernet0/0/1.20]dhcp relay server-ip 14.0.0.2
[Huawei-GigabitEthernet0/0/1.20]q
[Huawei]ip route-static 15.0.0.0 24 12.0.0.2
[Huawei]

R2

<Huawei>system-view 
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname R2
[R2]un in en
Info: Information center is disabled.
[R2]int g 0/0/3
[R2-GigabitEthernet0/0/3]ip add 12.0.0.2 24
[R2-GigabitEthernet0/0/3]un sh
Info: Interface GigabitEthernet0/0/3 is not shutdown.
[R2-GigabitEthernet0/0/3]int e 0/0/0
[R2-Ethernet0/0/0]q
[R2]dhcp enable 
Info: The operation may take a few seconds. Please wait for a moment.done.
[R2]int e 0/0/0
[R2-Ethernet0/0/0]ip add 15.0.0.1 24
[R2-Ethernet0/0/0]un sh
Info: Interface Ethernet0/0/0 is not shutdown.
[R2-Ethernet0/0/0]dhcp select relay 
[R2-Ethernet0/0/0]dhcp relay server-ip 14.0.0.2
[R2-Ethernet0/0/0]q
[R2]ip route-static 14.0.0.0 24 12.0.0.1
[R2]ip route-static 192.168.0.0 16 12.0.0.1
[R2]dis ip ?
  as-path-filter       Specify regular expression access list number
  community-filter     Add a community-filter entry
  error                Information of error packet
  extcommunity-filter  Match BGP/*** extended community filter
  ha                   Display information of socket HA
  host                 Host table(s)
  interface            Show information of interfaces
  ip-prefix            Specify an address prefix-list
  ipv6-prefix          Specify an IPv6 address prefix-list
  netstream            Netstream feature
  policy-based-route   Display policy based routing information
  pool                 Configure a local IP pool
  prefix-limit         Prefix limit
  rd-filter            Route-distinguisher filter
  routing-table        Routing table
  socket               Display information of created sockets
  statistics           Display statistics information of datagram
  topology             The name of topology
  userlog              Userlog feature
  ***-instance         *** instance information
[R2]dis ip routing-table 
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
         Destinations : 8        Routes : 8        

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

       12.0.0.0/24  Direct  0    0           D   12.0.0.2        GigabitEthernet
0/0/3
       12.0.0.2/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/3
       14.0.0.0/24  Static  60   0          RD   12.0.0.1        GigabitEthernet
0/0/3
       15.0.0.0/24  Direct  0    0           D   15.0.0.1        Ethernet0/0/0
       15.0.0.1/32  Direct  0    0           D   127.0.0.1       Ethernet0/0/0
      127.0.0.0/8   Direct  0    0           D   127.0.0.1       InLoopBack0
      127.0.0.1/32  Direct  0    0           D   127.0.0.1       InLoopBack0
    192.168.0.0/16  Static  60   0          RD   12.0.0.1        GigabitEthernet
0/0/3
[R2]

R3

<Huawei>system-view 
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname R3
[R3]un in en
Info: Information center is disabled.
[R3]dhcp enable 
Info: The operation may take a few seconds. Please wait for a moment.done.
[R3]int g 0/0/0
[R3-GigabitEthernet0/0/0]ip add 14.0.0.2 24
[R3-GigabitEthernet0/0/0]un sh
Info: Interface GigabitEthernet0/0/0 is not shutdown.
[R3-GigabitEthernet0/0/0]dhcp select global 
[R3-GigabitEthernet0/0/0]q
[R3]ip pool dhcp192.168.10.0
Info:It's successful to create an IP address pool.
[R3-ip-pool-dhcp192.168.10.0]network 192.168.10.0 mask 24
[R3-ip-pool-dhcp192.168.10.0]gateway 192.168.10.1
[R3-ip-pool-dhcp192.168.10.0]dns-list 1.1.1.1
[R3-ip-pool-dhcp192.168.10.0]?
ip-pool view commands:
  arp-ping             ARP-ping
  ce-ping              Ce-ping tool
  configuration        Configuration interlock
  display              Display current system information
  dns-list             Configure DNS servers
  domain-name          Configure domain name 
  excluded-ip-address  Mark disable IP addresses 
  gateway-list         Configure the gateway
  import               Imports the following network configuration parameters
                       from a central server into local ip pool database:
                       domain name, dns server and netbios server.
  lease                Configure the lease of the IP pool
  lock                 Lock the IP pool
  mac-populate         Populate an OAM MAC to FDB entry
  mac-purge            Purge an OAM MAC from FDB entry
  monitor              System monitor dynamic show
  mtrace               Trace route to multicast source
  nbns-list            Configure the windows's netbios name servers 
  netbios-type         Netbios node type
  network              Add a network
  next-server          The address of the server to use in the next step of the
                       client's bootstrap process.
  option               Configure the DHCP options
  option121            DHCP option 121 
  option184            DHCP option 184
  ping                 Send echo messages
  quit                 Exit from current command view
  reset                Reset operation
  return               Exit to user view
  screen-width         Set screen width
  static-bind          Static bind
  test-aaa             Accounts test
  trace                Trace route (switch) to host on Data Link Layer
  tracert              Trace route to host
  undo                 Cancel current setting
  ***-instance         Config *** instance
  vrbd                 Display version information

[R3-ip-pool-dhcp192.168.10.0]q
[R3]ip pool dhcp192.168.20.0
Info:It's successful to create an IP address pool.
[R3-ip-pool-dhcp192.168.20.0]network 192.168.20.0 mask 24
[R3-ip-pool-dhcp192.168.20.0]gateway-list 192.168.20.1
[R3-ip-pool-dhcp192.168.20.0]dns-list 1.1.1.1 2.2.2.2
[R3-ip-pool-dhcp192.168.20.0]q
[R3]ip pool dhcp15.0.0.0
Info:It's successful to create an IP address pool.
[R3-ip-pool-dhcp15.0.0.0]network 15.0.0.0 mask 24
[R3-ip-pool-dhcp15.0.0.0]static-bind ip-address 15.0.0.88 mac-address 5489-98A
B-2A25
Error:Please configure the gateway first.
[R3-ip-pool-dhcp15.0.0.0]gateway-list 15.0.0.1
[R3-ip-pool-dhcp15.0.0.0]static-bind ip-address 15.0.0.88 mac-address 5489-98AB-
2A25
[R3-ip-pool-dhcp15.0.0.0]q
[R3]ip route-static 0.0.0.0 0.0.0.0 14.0.0.1
[R3]

結果如下
實操 :華為DHCP中繼服務配置

實操 :華為DHCP中繼服務配置

實操 :華為DHCP中繼服務配置

實操 :華為DHCP中繼服務配置
實操 :華為DHCP中繼服務配置

實操 :華為DHCP中繼服務配置

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

鹤峰县| 镇江市| 景德镇市| 万州区| 灵川县| 融水| 华蓥市| 清丰县| 濮阳县| 凤阳县| 合阳县| 丹江口市| 锡林浩特市| 昌黎县| 夹江县| 洪洞县| 合江县| 湄潭县| 福贡县| 久治县| 宁晋县| 德惠市| 高邮市| 衡山县| 临桂县| 竹山县| 常州市| 昌黎县| 万全县| 罗平县| 泌阳县| 东台市| 岚皋县| 武汉市| 呼和浩特市| 利津县| 佛学| 拉萨市| 瓦房店市| 蓝田县| 连山|