Solved

problem connecting to router (and internet) through switch

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Mac's not seeing PCs on network 6 185
Mac OS X Yosemite client SMB issues on Windows Server 2012 R2 6 1,059
Mac and Windows domain 6 129
Apple updates maxing Wi-Fi 14 147
In this article we will discuss some EI Capitan Mail app issues and provide some manual process to resolve them.
Worried about if Apple can protect your documents, photos, and everything else that gets stored in iCloud? Read on to find out what Apple really uses to make things secure.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

685 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