国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁(yè) > 學(xué)院 > 網(wǎng)絡(luò)通信 > 正文

把路由器做成dhcp server

2019-11-05 00:36:29
字體:
來(lái)源:轉(zhuǎn)載
供稿:網(wǎng)友

  把路由器做成dhcp server
  拓?fù)?linux---(e0)2514(e1)----XP
  
  
  把pc設(shè)為自動(dòng)獲得ip地址
  
  看來(lái)也可以把一個(gè)3層的交換機(jī)設(shè)為dhcp server分了幾個(gè)網(wǎng)段(vlan)就設(shè)幾個(gè)pool
  
  
  但若是在一個(gè)大的網(wǎng)絡(luò)環(huán)境中,這顯然是加重了3層交換機(jī)的負(fù)擔(dān),各位作售前的前輩,有過(guò)這樣的設(shè)計(jì)嗎?給分析分析這個(gè)解決方法好嗎?
  
  
  Trace#sh ru
  
  Building configuration...
  
  
  Current configuration : 1035 bytes
  
  !
  
  version 12.1
  
  no service single-slot-reload-enable
  
  service timestamps debug uptime
  
  service timestamps log uptime
  
  no service passWord-encryption
  
  !
  
  hostname Trace
  
  !
  
  logging rate-limit console 10 except errors
  
  !
  
  ip subnet-zero
  
  no ip finger
  
  no ip domain-lookup
  
  !
  
  ip dhcp pool lan1
  
  network 192.168.1.0 255.255.255.0
  
  default-router 192.168.1.1
  
  dns-server 1.1.1.1
  
  lease 0 0 30
  
  !
  
  ip dhcp pool lan2
  
  network 192.168.2.0 255.255.255.0
  
  dns-server 1.1.1.1
  
  default-router 192.168.2.1
  
  lease 0 0 30
  
  !
  
  cns event-service server
  
  !
  
  !
  
  !
  
  interface Ethernet0
  
  ip address 192.168.1.1 255.255.255.0
  
  no keepalive
  
  !
  
  interface Ethernet1
  
  ip address 192.168.2.1 255.255.255.0
  
  no keepalive
  
  !
  
  interface Serial0
  
  no ip address
  
  shutdown
  
  no fair-queue
  
  !
  
  interface Serial1
  
  no ip address
  
  shutdown
  
  !
  
  ip kerberos source-interface any
  
  ip classless
  
  no ip http server
  
  !
  
  !
  
  alias exec sr sh ru
  
  alias exec ct conf t
  
  alias exec sir sh ip ro
  
  !
  
  line con 0
  
  exec-timeout 0 0
  
  logging synchronous
  
  transport input none
  
  line aux 0
  
  line vty 0 4
  
  !
  
  end
  
  
  Trace#debug ip dhcp server events
  
  00:42:23: DHCPD: assigned IP address 192.168.1.2 to client 0152.54ab.2a47.92.
  
  Trace#
  
  00:42:25: DHCPD: assigned IP address 192.168.2.2 to client 0100.000e.82e9.d4.
  
  
  Trace#sh ip dhcp binding
  
  IP address Hardware address Lease expiration Type
  
  192.168.1.2 0152.54ab.2a47.92 Mar 01 1993 01:12 AM Automatic
  
  192.168.2.2 0100.000e.82e9.d4 Mar 01 1993 01:12 AM Automatic
  
  
  Trace#sh ip dhcp server statistics
  
  Memory usage 14019
  
  Address pools 2
  
  Database agents 0
  
  Automatic bindings 2
  
  Manual bindings 0
  
  Expired bindings 0
  
  Malformed messages 0
  
  
  Message Received
  
  BOOTREQUEST 0
  
  DHCPDISCOVER 3
  
  DHCPREQUEST 4
  
  DHCPDECLINE 0
  
  DHCPRELEASE 0
  
  DHCPINform 0
  
  
  Message Sent
  
  BOOTREPLY 0
  
  DHCPOFFER 3
  
  DHCPACK 4
  
  DHCPNAK 0
  
  Trace#
  
  
  C:>ipconfig/all
  
  Ethernet adapter 本地連接:
  
  
  Connection-specific DNS Suffix . :
  
  Description . . . . . . . . . . . : Fujitsu FMV-J182A
  
  Physical Address. . . . . . . . . : 00-00-0E-82-E9-D4
  
  Dhcp Enabled. . . . . . . . . . . : Yes
  
  Autoconfiguration Enabled . . . . : Yes
  
  IP Address. . . . . . . . . . . . : 192.168.2.2
  
  Subnet Mask . . . . . . . . . . . : 255.255.255.0
  
  Default Gateway . . . . . . . . . : 192.168.2.1
  
  DHCP Server . . . . . . . . . . . : 192.168.2.1
  
  DNS Servers . . . . . . . . . . . : 1.1.1.1
  
  Lease OBTained. . . . . . . . . . : 2003年2月7日 11:47:01
  
  Lease Expires . . . . . . . . . . : 2003年2月7日 12:17:01
  
  
  C:/>ping 192.168.1.2
  
  
  Pinging 192.168.1.2 with 32 bytes of data:
  
  
  Reply from 192.168.1.2: bytes=32 time=1ms TTL=254
  
  Reply from 192.168.1.2: bytes=32 time=1ms TTL=254
  
  Reply from 192.168.1.2: bytes=32 time=1ms TTL=254
  
  Reply from 192.168.1.2: bytes=32 time=1ms TTL=254
  
  
  Ping statistics for 192.168.1.2:
  
  Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
  
  Approximate round trip times in milli-seconds:
  
  Minimum = 1ms, Maximum = 1ms, Average = 1ms
  
  
  Trace#


發(fā)表評(píng)論 共有條評(píng)論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 衡阳县| 远安县| 花垣县| 明星| 灵宝市| 南溪县| 盱眙县| 中牟县| 岳西县| 临沂市| 万全县| 贵德县| 夏邑县| 温宿县| 宽甸| 通辽市| 公安县| 永嘉县| 泸定县| 柳江县| 垫江县| 绵阳市| 阳曲县| 晋州市| 惠来县| 翁牛特旗| 塔城市| 贵港市| 舞阳县| 高邮市| 长阳| 夏河县| 广元市| 东乌珠穆沁旗| 巩留县| 安远县| 高州市| 皮山县| 太湖县| 赣州市| 井冈山市|