networking-forum.com
Community BlogCommunity Wiki * Register  * Search  * Login
View unanswered postsView active topics

All times are UTC - 6 hours [ DST ]



Post new topic Reply to topic  [ 26 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Trouble accessing 1252AP
PostPosted: Tue Jan 18, 2011 12:12 pm 
Offline
Senior Member
Senior Member
User avatar

Joined: Fri Sep 25, 2009 2:28 pm
Posts: 255
Location: Upstate NY
Certs: A+, Network+, CCENT, CCNA
Hi guys, a couple weeks ago I (as a contractor) deployed a cisco 1252 access point. Everything seems to be working fine, clients can connect, range is very good, etc. Well my boss for the job (also a good friend... he doesn't like doing the networking end of things) calls me up and says that he can't access the AP unless he is locally on the LAN. So I try ssh'ing into the AP (port forwarding is set correctly) and I get a time out. All other port forwarding works great. Side note, the router is not a cisco router (lets NOT get me started on that point). Now if I ssh into the router and then try to ssh into the 1252, no problem what so ever. My friend thought that it is a problem with the AP not accepting connections except on the local LAN, but when the NAT translation is done shouldn't the ssh traffic appear to be coming from the router or is there something weird in the AP that should be set? Here is the config for you guys which I'm sure will help.

<code>
version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption

hostname c1252ag

enable secret 5

no aaa new-model
no ip subnet-zero
ip domain name adipeditrics.com



dot11 ssid ADI_Pediatrics
authentication open
authentication key-management wpa
guest-mode
infrastructure-ssid optional
wpa-psk ascii 7

power inline negotiation prestandard source


username password 7

bridge irb


interface Dot11Radio0
description 2.4GHZ Radio
no ip address
no ip route-cache

encryption mode ciphers aes-ccm

ssid ADI_Pediatrics

station-role root
bridge-group 1
bridge-group 1 subscriber-loop-control
bridge-group 1 block-unknown-source
no bridge-group 1 source-learning
no bridge-group 1 unicast-flooding
bridge-group 1 spanning-disabled

interface Dot11Radio1
description 5GHZ Radio
no ip address
no ip route-cache

encryption mode ciphers aes-ccm

ssid ADI_Pediatrics

dfs band 3 block
channel dfs
station-role root
bridge-group 1
bridge-group 1 subscriber-loop-control
bridge-group 1 block-unknown-source
no bridge-group 1 source-learning
no bridge-group 1 unicast-flooding
bridge-group 1 spanning-disabled

interface GigabitEthernet0
no ip address
no ip route-cache
duplex auto
speed auto
bridge-group 1
no bridge-group 1 source-learning
bridge-group 1 spanning-disabled

interface BVI1
ip address 192.168.100.2 255.255.255.0
no ip route-cache

no ip http server
no ip http secure-server
no ip http help-path http://www.cisco.com/warp/public/779/sm ... g/help/eag
bridge 1 route ip



line con 0
login local
line vty 0 4
login local
transport input ssh
transport output ssh
line vty 5 15
login local
transport input ssh
transport output ssh

</code>

Additionally, I'm sorry ahead of time if this should be posted in the routing and switching forum. As always, thank you all in advanced.

-Justin


Top
 Profile  
 
PostPosted: Tue Jan 18, 2011 4:26 pm 
Offline
Post Whore
Post Whore
User avatar

Joined: Thu Apr 17, 2008 6:44 pm
Posts: 6047
Location: Perth, WA
Certs: CCNA
I can't see anything regarding DHCP. How are people meant to get addresses?

I'll take a guess people can connect to the AP but aren't getting an addresses and there for packets aren't being routed.

Add ip helper-address <dhcpserverIP> under the BVI and that should work.

_________________
- Pete


Top
 Profile  
 
PostPosted: Tue Jan 18, 2011 4:51 pm 
Offline
Ultimate Member
Ultimate Member
User avatar

Joined: Mon Oct 06, 2008 8:01 am
Posts: 668
Certs: CCNA,CCNP
Project2501 wrote:
I can't see anything regarding DHCP. How are people meant to get addresses?

I'll take a guess people can connect to the AP but aren't getting an addresses and there for packets aren't being routed.

Add ip helper-address <dhcpserverIP> under the BVI and that should work.


There could be DHCP configured on the router interface that it's bridged with...


Top
 Profile  
 
PostPosted: Tue Jan 18, 2011 4:58 pm 
Offline
Senior Member
Senior Member
User avatar

Joined: Fri Sep 25, 2009 2:28 pm
Posts: 255
Location: Upstate NY
Certs: A+, Network+, CCENT, CCNA
DanC,

Your correct, the router is performing DHCP services. The 1252 is statically addressed as you can see. Clients can connect to the LAN through the AP without a problem. The problem I am having is connecting through ssh from a remote location. If I am at home (2 1/2 hours away) I need to ssh into the router first and then into the AP. I can not ssh directly to the 1252 even though port forwarding is configured correctly (double and triple checked to be sure). All the other port forwarding that the router has to do is working just fine so i don't understand why 1 port forwarding rule would not work and it would seem that is not the problem, but can't be sure. If you guys are confused about anything, just ask and I'll clarify for you. Thanks again.

-Justin


Top
 Profile  
 
PostPosted: Tue Jan 18, 2011 5:03 pm 
Offline
Ultimate Member
Ultimate Member
User avatar

Joined: Mon Oct 06, 2008 8:01 am
Posts: 668
Certs: CCNA,CCNP
stamour547 wrote:
DanC,

Your correct, the router is performing DHCP services. The 1252 is statically addressed as you can see. Clients can connect to the LAN through the AP without a problem. The problem I am having is connecting through ssh from a remote location. If I am at home (2 1/2 hours away) I need to ssh into the router first and then into the AP. I can not ssh directly to the 1252 even though port forwarding is configured correctly (double and triple checked to be sure). All the other port forwarding that the router has to do is working just fine so i don't understand why 1 port forwarding rule would not work and it would seem that is not the problem, but can't be sure. If you guys are confused about anything, just ask and I'll clarify for you. Thanks again.

-Justin


Sounds like some sort of routing problem to me, you can probably connect from the router because the AP is bridged onto the same subnet...


Top
 Profile  
 
PostPosted: Tue Jan 18, 2011 5:05 pm 
Offline
Post Whore
Post Whore
User avatar

Joined: Thu Apr 17, 2008 6:44 pm
Posts: 6047
Location: Perth, WA
Certs: CCNA
I thought the issue was connecting to the LAN via wireless.

If he can connect while on the LAN then it isn't a routing issue. Sounds like NAT is the culprit here.

_________________
- Pete


Top
 Profile  
 
PostPosted: Tue Jan 18, 2011 5:24 pm 
Offline
Ultimate Member
Ultimate Member
User avatar

Joined: Mon Oct 06, 2008 8:01 am
Posts: 668
Certs: CCNA,CCNP
Project2501 wrote:
I thought the issue was connecting to the LAN via wireless.

If he can connect while on the LAN then it isn't a routing issue. Sounds like NAT is the culprit here.

stamour547 wrote:
DanC,

Clients can connect to the LAN through the AP without a problem. The problem I am having is connecting through ssh from a remote location


Top
 Profile  
 
PostPosted: Tue Jan 18, 2011 5:27 pm 
Offline
Post Whore
Post Whore
User avatar

Joined: Thu Apr 17, 2008 6:44 pm
Posts: 6047
Location: Perth, WA
Certs: CCNA
If everything works when you're within the LAN environment then the issue is getting from the outside in.

This could be NAT or a firewall.

_________________
- Pete


Top
 Profile  
 
PostPosted: Tue Jan 18, 2011 5:35 pm 
Offline
Ultimate Member
Ultimate Member
User avatar

Joined: Mon Oct 06, 2008 8:01 am
Posts: 668
Certs: CCNA,CCNP
Project2501 wrote:
If everything works when you're within the LAN environment then the issue is getting from the outside in.

This could be NAT or a firewall.


Or routing from the inside to the outside ;)


Top
 Profile  
 
PostPosted: Tue Jan 18, 2011 5:41 pm 
Offline
Post Whore
Post Whore
User avatar

Joined: Thu Apr 17, 2008 6:44 pm
Posts: 6047
Location: Perth, WA
Certs: CCNA
Doubt it or there would be complaints about no internet access.

_________________
- Pete


Top
 Profile  
 
PostPosted: Tue Jan 18, 2011 6:23 pm 
Offline
Ultimate Member
Ultimate Member
User avatar

Joined: Mon Oct 06, 2008 8:01 am
Posts: 668
Certs: CCNA,CCNP
Project2501 wrote:
Doubt it or there would be complaints about no internet access.


I don't see the relevance...

When I say inside to outside I mean the AP BVI address to the source network he's connecting from... The clients probably work because they use he router as the first hop gateway


Top
 Profile  
 
PostPosted: Tue Jan 18, 2011 6:35 pm 
Offline
Post Whore
Post Whore
User avatar

Joined: Thu Apr 17, 2008 6:44 pm
Posts: 6047
Location: Perth, WA
Certs: CCNA
DanC wrote:
I don't see the relevance...

When I say inside to outside I mean the AP BVI address to the source network he's connecting from... The clients probably work because they use he router as the first hop gateway


Because the issue is connecting directly to the AP via NAT.

stamour547 wrote:
If I am at home (2 1/2 hours away) I need to ssh into the router first and then into the AP. I can not ssh directly to the 1252 even though port forwarding is configured correctly (double and triple checked to be sure).


Based on the information above the issue would be limited to the router not the AP because NAT is going to translate the external address to one local on the network.

If the OP did a show ip route the BVI 1 would be apart of the 192.168.100.0/24 network. A default route isn't required which is why I believe the issue is still on the router not the AP.

_________________
- Pete


Top
 Profile  
 
PostPosted: Tue Jan 18, 2011 6:47 pm 
Offline
Senior Member
Senior Member
User avatar

Joined: Fri Sep 25, 2009 2:28 pm
Posts: 255
Location: Upstate NY
Certs: A+, Network+, CCENT, CCNA
DanC and Project, I also believe that the issue had to do with the router and not the AP although I wanted someone (you guys) wiser than me to confirm that fact. To be honest I would love to do a show ip route but the problem is the router we are using is NOT a cisco router. I argued with my friend until I was blue in the face trying to tell him that he should be implementing a cisco router instead of the POS that he decided on. It was his job and I was contracted through him so my hands were tied in the matter. He instead decided to go with a home router with custom firmware loaded on it (Tomato). My job was to implement the 1252 AP which I did, works great and since you guys have pretty much confirmed what I have thought, I didn't screw up with the config after all. I appreciate your help today guys and I hope in the future I can repay the favor. Thanks again.

-Justin


Top
 Profile  
 
PostPosted: Tue Jan 18, 2011 6:56 pm 
Offline
Post Whore
Post Whore
User avatar

Joined: Thu Apr 17, 2008 6:44 pm
Posts: 6047
Location: Perth, WA
Certs: CCNA
I meant for that command to be performed on the AP.

_________________
- Pete


Top
 Profile  
 
PostPosted: Tue Jan 18, 2011 7:03 pm 
Offline
Senior Member
Senior Member
User avatar

Joined: Fri Sep 25, 2009 2:28 pm
Posts: 255
Location: Upstate NY
Certs: A+, Network+, CCENT, CCNA
I'm sorry Project, I just tried to run the command and it doesn't give me the option. the sho ip options that I get are the following:

access-lists
accounting
aliases
arp
ddns
dhcp
dvmrp
helper-address
host-list
http
igmp
interface
local
redirects
sockets
ssh
traffic

That seems a little weird to me.


Top
 Profile  
 
PostPosted: Tue Jan 18, 2011 7:33 pm 
Offline
Post Whore
Post Whore
User avatar

Joined: Thu Apr 17, 2008 6:44 pm
Posts: 6047
Location: Perth, WA
Certs: CCNA
Very odd. Not sure dude.

_________________
- Pete


Top
 Profile  
 
PostPosted: Tue Jan 18, 2011 7:40 pm 
Offline
Senior Member
Senior Member
User avatar

Joined: Fri Sep 25, 2009 2:28 pm
Posts: 255
Location: Upstate NY
Certs: A+, Network+, CCENT, CCNA
Yeah, that doesn't make sense to me either, but regardless I still say it's a router issue. He should have just listened to me and deployed a cisco router and I doubt we would be having this small problem to begin with. It's ok though, he's the boss so the buck stops with him, not me.


Top
 Profile  
 
PostPosted: Tue Jan 18, 2011 7:42 pm 
Offline
CCIE #18559
CCIE #18559
User avatar

Joined: Thu Dec 09, 2004 6:38 pm
Posts: 813
Location: 224.0.0.5
Certs: CCIE R&S
Assuming your gateway (router) is 192.168.100.1 enter the following on the 1252 and try again.


ip default-gateway 192.168.100.1

-Derek

_________________
"Knowledge is contagious, infect"


Top
 Profile  
 
PostPosted: Tue Jan 18, 2011 7:49 pm 
Offline
Post Whore
Post Whore
User avatar

Joined: Thu Apr 17, 2008 6:44 pm
Posts: 6047
Location: Perth, WA
Certs: CCNA
Derek, I thought the BVI would have displayed with show ip route.


I've just realised this is very similar to another thread. I can't believe I didn't see that.

_________________
- Pete


Top
 Profile  
 
PostPosted: Tue Jan 18, 2011 7:56 pm 
Offline
CCIE #18559
CCIE #18559
User avatar

Joined: Thu Dec 09, 2004 6:38 pm
Posts: 813
Location: 224.0.0.5
Certs: CCIE R&S
Problem is the AP is a L2 bridge and not doing any routing. Its the same as going into a switch and typing "no ip routing"

EX:

PHS-RM30-AP#show run | in ip default-gateway
ip default-gateway 10.30.0.1
PHS-RM30-AP#show ip route
^
% Invalid input detected at '^' marker.

PHS-RM30-AP#show ip default-gateway
10.30.0.1
PHS-RM30-AP#

_________________
"Knowledge is contagious, infect"


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 26 posts ]  Go to page 1, 2  Next

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group