Solved

problem connecting to router (and internet) through switch

Posted on 2004-08-17
5
846 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
  • 3
  • 2
5 Comments
 
LVL 5

Accepted Solution

by:
idarmadi earned 500 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Mac can no longer connect to windows 2008 R2 server. 6 151
OSX 10.11.3 Host File resets 9 107
Computer/Apple TV 5 53
How to Copy Music from Old Mac to new Mac 5 99
SUMMARY Enterprise backup in a heterogeneous network is a subject full of complications and restrictions. Issues such as filename & path structure, attributes and extended metadata always tend to complicate the subject to the extent where either …
In this article we will discuss some EI Capitan Mail app issues and provide some manual process to resolve them.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

776 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