Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

problem connecting to router (and internet) through switch

Posted on 2004-08-17
5
Medium Priority
?
883 Views
Last Modified: 2010-03-17
I'm having trouble setting up this network.
Config is:
ISP -> speedstream 5100 modem -> 4 port Linksys BEFSR41 router -> switch -> Apple Airport

Apple Airport provides my laptops DHCP on 172.16.1 subnet

Problem is that clients on 172.16.1 subnet cannot get out onto internet or ping the router through the switch.

ISP addresses given are as follows:

> WAN Block       69.X.228.224/30
> WAN IP        69.X.228.226
> WAN Gateway  69.X.228.225
> WAN Subnet    255.255.255.252
>
> LAN Block       64.X.168.48/29
> LAN Usable     64.X.168.49 thru 53
> LAN Gateway  64.X.168.54
> LAN Subnet    255.255.255.248

Router WAN info as above.
I've also set the router LAN ip address as 64.X.168.54

{I want to also eventuallly have a web server set as one of these public lan ip addresses e.g 64.X.168.48 and connected directly to 1 of the ports on the 4 port router. This part works if I can get out to the internet from this.)

So how do I get from clients on the 172.16.1 subnet through the switch to the router and out to the WAN??????
0
Comment
Question by:jimburdon
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 5

Accepted Solution

by:
idarmadi earned 2000 total points
ID: 11828163
Hi Jim,

Why do you have Public IP address in your LAN?  You should have a set of Private IP addresses instead of a Public one, especially since Linksys uses NAT.

Anyway,  this is the info that Linksys got for it's "WAN".
> WAN Block       69.X.228.224/30
> WAN IP        69.X.228.226
> WAN Gateway  69.X.228.225
> WAN Subnet    255.255.255.252
We'll leave it alone.

The following setup for LAN is confusing but might works :
> LAN Block       64.X.168.48/29
> LAN Usable     64.X.168.49 thru 53
> LAN Gateway  64.X.168.54
> LAN Subnet    255.255.255.248
As far as I know (cmiww), 64.x.x.x is a set of Public IP address.  If you intended to put a public service on this address it might have problems.
Also, set the LAN Gateway to <blank> or 0.0.0.0.

(If within a simple LAN, there are more than 1 router, then it is better to switch off one of the lesser role.  In this case your Airport.  Use it as a Access Point only).

I assume that you have the correct IP addresses by using 64.X.168.48/29.

Setup your Airport Base Station's WAN IP address to an address within 64.X.168.49 to 53.
Airport Base Station's WAN IP Gateway = Linksys IP Addresses (64.x.168.54).

Airport Base Station's LAN IP should be an IP within 172.16.1.x subnet, for example 172.16.1.1.
Your notebook will have an IP within 172.16.1.0/14 and Gateway = 172.16.1.1 (ABS's LAN Ip address).

It should look like this :

            69.x.x.x (WAN)
                 Linksys
            (LAN) 64.x.x.x
                      /\
                       |
                       |
                      \/
                  (switch)
                      /\
                       |
                       |
                      \/      
             64.x.x.x (WAN)
           Airport Base Station
            (Airport) 176.x.x.x

           )))))wireless((((((

            176.x.x.x (Airport)
               your notebook

If you only have a simple network, it can be simplified by setting your whole network to use 176.x.x.x subnet distributed by Linksys' DHCP, and use Airport Base Station only as an Access Point (Do not use the WAN Port).

Good Luck
0
 

Author Comment

by:jimburdon
ID: 11846845
For some reason I couldn't have the linksys router act as the dhcp server since it could only give out the 5 addresses assigned by my ISP. Therefore I used the option to have the ABS act as the DHCP server and set it's ip addresses like so:
Setup your Airport Base Station's WAN IP address to an address within 64.X.168.49 to 53.
Airport Base Station's WAN IP Gateway = Linksys IP Addresses (64.x.168.54).
I also connected it's WAN interface to the linksys router.

Network works great now! Thanks for the advice.
Next steps are to set up the web server and be able to VPN into it....(port mapping and setting up VPN service on web server..)

Cheers,
Jim
0
 
LVL 5

Expert Comment

by:idarmadi
ID: 11849547
Glad that it works.
0
 

Author Comment

by:jimburdon
ID: 11852836
However since the change Internet access has become REALLY slow.
Not sure why all points to the linksys router - any configuration on this that could cause this?
0
 
LVL 5

Expert Comment

by:idarmadi
ID: 11878237
Jim,

I would check 2 things.  Cabling and IP settings (once more).

---CABLING---
Make sure that the cabling are correct between Linksys - Switch - Airport Base Station (ABS).  (What is the purpose of this switch? are you putting another client here ?  Or is it merely a 'cable extender'?).
Does your Switch has an auto-uplink port or a special port for uplink?  Make sure that you plug the correct connection to the correct port.


---IP Setting---
Make sure that you have set the IP addresses correctly.

Linksys WAN
IP : 69.X.228.226
Subnet : 255.255.255.252
Gateway : 69.X.228.225

Linksys LAN
IP : 64.x.168.54
Subnet : 255.255.255.xxx (what is the number here? I can't calculate subnetmask mentally :))
Gateway : <blank>

ABS WAN
IP : 64.X.168.49 (for example)
Subnet : <same as Linksys' LAN subnet>
Gateway : 64.x.168.54

ABS LAN
IP : 172.16.1.1
Subnet : 255.255.0.0
Gateway : <blank>

DHCP on ABS :
distribute IP addresses : 172.16.1.10 to 172.16.1.99 (for example)
Subnet : 255.255.0.0
Gateway : 172.16.1.1 (ABS's LAN IP address).

On your notebook, set up the DNS to the DNS supplied by your ISP.

Good luck. :)
0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article outlines the struggles that Macs encounter in Windows-dominated workplace environments – and what Mac users can do to improve their network connectivity and remain productive.
While there are many new features for iOS 11, these are the five that can improve your digital lifestyle.
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question