10-20-2012 07:01 PM - edited 03-07-2019 09:35 AM
Hi Everyone,
I am setting up 1811w router for accessing internet.
DHCP is configured on it but it is not providing IP to laptop connected on port fa6.
Here is config of router
dot11 ssid internet
vlan 98
authentication open
authentication key-management wpa
guest-mode
wpa-psk ascii 0 010907150A59111C390C
!
ip source-route
!
!
!
ip dhcp pool WIRELESS
import all
network 192.168.98.0 255.255.255.0
default-router 192.168.98.1
dns-server 4.2.2.2
lease 3
!
!
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
vtp mode transparent
!
!
!
archive
log config
hidekeys
!
!
vlan 98
!
bridge irb
!
!
!
interface Dot11Radio0
no ip address
!
encryption vlan 98 mode ciphers tkip
!
ssid internet
!
speed basic-1.0 basic-2.0 basic-5.5 6.0 9.0 basic-11.0 12.0 18.0 24.0 36.0 48.0
54.0
station-role root
no cdp enable
!
interface Dot11Radio0.1
!
interface Dot11Radio0.98
encapsulation dot1Q 98
no cdp enable
bridge-group 98
bridge-group 98 subscriber-loop-control
bridge-group 98 spanning-disabled
bridge-group 98 block-unknown-source
no bridge-group 98 source-learning
no bridge-group 98 unicast-flooding
!
interface Dot11Radio1
no ip address
shutdown
speed basic-6.0 9.0 basic-12.0 18.0 basic-24.0 36.0 48.0 54.0
station-role root
!
interface FastEthernet0
ip address dhcp
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
!
interface FastEthernet1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet2
!
interface FastEthernet3
!
interface FastEthernet4
!
interface FastEthernet5
!
interface FastEthernet6
switchport access vlan 98
!
interface FastEthernet7
!
interface FastEthernet8
!
interface FastEthernet9
!
interface Vlan1
no ip address
shutdown
!
interface Vlan98
no ip address
!
interface Async1
no ip address
encapsulation slip
!
interface BVI98
ip address 192.168.98.1 255.255.255.0
ip nat inside
ip virtual-reassembly
ip tcp adjust-mss 1452
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
!
!
!
!
!
!
control-plane
!
bridge 98 protocol ieee
bridge 98 route ip
!
line con 0
line 1
modem InOut
stopbits 1
speed 115200
flowcontrol hardware
line aux 0
line vty 0 4
login
!
end
thanks
mahesh
Solved! Go to Solution.
10-22-2012 09:25 AM
Hi Rick,
I will try that in evening
And will let you know.
Thanks
Mahesh
10-22-2012 03:50 PM
Hi Rick,
I did as you said
interface Vlan98
no ip address
bridge-group 98
!
After doing this
sh int brief
Vlan98 unassigned YES NVRAM up down
1811w#
As you see vlan 98 went to up down status
Thanks
MAhesh
10-22-2012 05:15 PM
Mahesh
I am surprised at this. Please post the output of show interface status
Did anything in the config change other than adding the bridge-group to vlan 98?
HTH
Rick
10-22-2012 05:18 PM
Hi Rick,
nothing changed .
here is info as per you
1811w#sh int status
Port Name Status Vlan Duplex Speed Type
Fa2 notconnect 1 auto auto 10/100BaseTX
Fa3 notconnect 1 auto auto 10/100BaseTX
Fa4 notconnect 1 auto auto 10/100BaseTX
Fa5 notconnect 1 auto auto 10/100BaseTX
Fa6 connected 98 a-full a-100 10/100BaseTX
Fa7 notconnect 1 auto auto 10/100BaseTX
Fa8 notconnect 1 auto auto 10/100BaseTX
Fa9 notconnect 1 auto auto 10/100BaseTX
Thanks
Mahesh
10-22-2012 09:26 PM
Mahesh
Please try this in addition to my previous suggestion.
Interface VLAN 98
Bridge-group 98 spanning-disabled
HTH
Rick
Sent from Cisco Technical Support iPad App
10-23-2012 05:29 AM
Hi Rick,
This did the magic.
After adding bridge-group 98 spanning-disabled under int vlan 98.
Desktop PC got IP from DHCP pool of Wi fi.
Thanks for help on the issue all the way.
Need to ask you what does the command
Bridge-group 98 spanning-disabled did?
Best regards
MAhesh
10-23-2012 09:14 AM
Mahesh
This command disables spanning tree from running on the interface. Here is a link to a command reference which explains a bit more about it.
http://www.cisco.com/en/US/docs/ios/bridging/command/reference/br_a1.html#wp1015030
The logic that I used was this:
- the wired ports are in a vlan.
- for PCs connected to ports in the wired vlan to get addresses from DHCP there must be an IP address on the vlan or the vlan must be related to IRB and the BVI.
- you demonstrated that putting an IP address on the vlan will allow DHCP to work. But it requires that there be a separate DHCP pool. And you wanted to use the same pool for wired and wireless.
- So the wired vlan needed to relate to IRB and the BVI.
- the way to relate the vlan to IRB and the BVI is with the bridge-group command.
- But when you applied the bridge-group 98 command to the vlan then the vlan went to protocol down.,
- So I assumed that there should be some other command related to bridge-group that would allow the vlan to stay up. So I looked for other bridge-group commands.
HTH
Rick
10-23-2012 09:30 AM
Hi Rick,
Many thanks for all the help in last few days on this issue.
Its always pleasure to read your answers in the forum.
Best regards
MAhesh
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide