Solved

problem connecting to router (and internet) through switch

Posted on 2004-08-17
5
823 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
samba tools for macintosh 3 201
parallels Access iMac 6 77
Ipad Mobile Device Management 1 72
Airport Extreme 802.11ac 15 69
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 …
Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

762 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now