
手上有台1240ag,想让客户端能用dhcp获得ip,我已经配置了
5 Q- n* w( z* D! A' Rip dhcp pool test0 ]: V! [3 n: t X' I! w
network 192.168.2.0 255.255.255.0/ i) i3 ^ F. h+ z y( a: d/ J
default-router 192.168.2.1
8 C8 l3 e7 x) z% t lease 2# f p* L- x0 H& n% d _' d+ W8 M a
但是客户端不能得到ip,应该怎样才能让这个无线ap正常开启dhcp?或者这机器能正常开启dhcp吗?
4 H, ?/ P" g7 `6 p) a' Z9 `$ h
$ s) _5 {2 n" B) z) v: S========下面是现在的配置==========
6 S4 P4 ], i: D% i- @ X8 t0 e0 _
4 f: ^) {3 s) j3 n: D) M+ XBuilding configuration...
, Z4 o; J$ ~3 I1 R; m# A
' l% ?" @- V" ~, q7 A ?/ w$ y6 VCurrent configuration : 1434 bytes- h. {% R8 j' i+ F/ N1 v
!
5 D0 N) s D4 q, qversion 12.4
. W5 m: X0 B% Tno service pad. E: s; T& E2 G* u; F
service timestamps debug datetime msec2 @$ S7 ?2 B+ u5 O0 W' B
service timestamps log datetime msec
4 c4 Y5 u- D2 p( |* F# Y3 B/ |. D6 E, aservice password-encryption5 r/ T1 e& C- j6 {
!
, L8 H/ {2 H& k2 Fhostname ap) O) j. \9 `- c, |* z! D
!
7 @8 l8 y, }. }4 f/ Fenable secret 5 $1$rNt1$3PgMFG/xtgb0R7njtkT/l0$ E1 X4 ~/ W* m8 `
!+ s3 i! G7 E9 C
no aaa new-model
/ }! w* ?3 i" Y( Q+ ?no ip dhcp use vrf connected
+ ]$ I; B! H/ @# R$ a4 wip dhcp excluded-address 192.168.2.1) F0 _; ?/ q8 \! g& D
!4 U+ Z# w0 y0 ?$ k8 U
ip dhcp pool test) i' T! f! c! a$ ?5 {* E3 Y" {
network 192.168.2.0 255.255.255.08 B, v1 x+ m, k& a; P( C6 M
default-router 192.168.2.11 ~6 b8 k9 c! p
lease 2
4 _# O D. m+ g6 p!- F4 a- @: X' z1 T' d
!
' k7 l1 I% a2 K( Fdot11 syslog$ B5 M7 x& v Y
!) c8 s: A( X+ s- B1 J% R
dot11 ssid sss% q* Y. P/ S1 O9 F2 p9 T9 G
authentication open
7 G2 U1 F4 g) Q8 j8 v$ A; [ guest-mode
( B2 s; c' w" {6 ^* g. ]# f!1 Y* [2 ~* ^& j$ y/ E
power inline negotiation prestandard source
# x: k8 H: H3 u( {0 v2 c!, q% y0 ~$ w3 |6 R' `9 q9 p
!
/ p! z- l. f l+ L/ G5 E, uusername Cisco password 7 01300F175804
, L1 d9 P2 }- Eusername ocamar nopassword
3 X, L. L6 w% A) Q* a- H!
4 W; l" X( n c6 {* i H!- i4 V+ P" `9 L. X3 j, R2 U. P
bridge irb
1 d2 t$ n6 U" `, g1 ]! w* `' }!
% Z. x0 V/ o0 P# Y1 K!2 i+ W) M5 T i6 H9 [
interface Dot11Radio0
& D+ n, u5 T1 K% W Q* s, Y no ip address
' e4 R' F8 z# P no ip route-cache
. ~+ O/ I( Z! c6 g !1 W9 p0 P! Y; a$ B2 k
ssid sss
3 V; R! f7 Z) M* ^% d3 T !( Q+ N7 n6 S* M/ w: J& @
antenna transmit left-b3 w+ @1 Z; O* k2 J+ j
antenna receive left-b$ V% @1 i) \0 e: G
power local 14: C# _$ s: [1 \8 o2 h+ R
power client 14, a& Q1 |+ B" V/ ?
channel 2412 W& A5 n' z( K u- A# d
station-role root
! i$ C. |* y S3 R: k, c bridge-group 1
! N! u6 q1 R0 P4 t. a1 A+ [0 W bridge-group 1 subscriber-loop-control
: p' f) ~9 _( H; c+ N bridge-group 1 block-unknown-source
Q9 `/ L; ]& ]$ {: x6 d no bridge-group 1 source-learning
4 e3 q. i7 o P6 R/ ]! K @ no bridge-group 1 unicast-flooding
7 b% W7 t0 v' |; ?2 H- p, ~1 B. E bridge-group 1 spanning-disabled) g# a/ w9 u! a: x5 E/ y# E4 e
!
& S8 z" x. i# @% W' ?0 c: h% winterface FastEthernet0
, U1 L7 ^3 d& h ip address 111.111.102.252 255.255.255.0
# T$ ^" c3 b. b' K( ^8 ` x& { no ip route-cache7 H; W5 l' ]+ s/ i% ^
duplex auto
4 m6 @# N' J4 g# C$ P% _* D speed auto+ |/ a# @" J+ i4 e
bridge-group 1" A) q# E- i; X1 o: p
no bridge-group 1 source-learning/ H* H9 V* l* }* T
bridge-group 1 spanning-disabled9 E/ f- a* |6 ` S9 v! V
!5 z1 J$ {2 y1 C# e2 u
interface BVI1( v; N" S& o8 X0 t# C
ip address 111.111.102.248 255.255.255.07 K% i- Y4 A% ]& U7 K
no ip route-cache
6 f+ p. S; m+ m9 m5 v!0 b0 `' b# A. ?6 t+ c9 K
ip default-gateway 111.111.102.254
) O0 l) [! S; Vip http server
- \+ }6 S4 A0 O( Wno ip http secure-server
+ ]2 H2 }4 V" U+ N+ {ip http help-path http://www.ocamar.com/
) V$ i8 E! J( i. ?! I3 V- `8 gbridge 1 route ip
1 Z- p7 _7 ]% M$ o" t1 w2 F!
8 D2 b |0 |( `- D! S!
/ D0 `, R8 E; H) Z- M!
; A- Y0 P/ U( E" B7 M3 a' @9 mline con 0
$ d: v- J5 [" ~& k. Bline vty 0 4. {$ I0 u1 @, ?: h. x
login local
+ u1 M' U& w, O9 t8 o) s!
0 [: c T8 x- J/ Xend
2 ~+ Z5 [; z* A: ^# K, s
: n. {$ L C6 S" E2 ]- ]* M7 L这个是我现在的配置,大家看看怎么改下能让无线客户端通过dhcp得到ip
( ]0 L) q4 m" t+ m) G {这台ap是内网的扩展,不连接互联网的 |
|