Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-06-2004, 02:11 PM
|
#1
|
|
Member
Registered: Jun 2003
Location: USA
Distribution: Ubuntu
Posts: 169
Rep:
|
Static Routing Troubles
Here is the story:
I had four computers on a 4 port wire Linksys router. Everything worked. However, over time a printer was added to the network as well as another computer. To expand my network to accomidate these additional devices I decided to get a 4 port wireless router to expand on the 4 port wire router I already have.
I have my wireless router hooked into my other router. At this point I can access the settings on my wireless router, but I can't access the internet through this router. What I think I need to do is use Static Routing, but I can't understand the directions. I qoute below:
Quote:
Static Routing
When multiple routers are installed on your network, you will need to configure Static Routing. The static routing function determines the path that data follows over your network before and after it passes through the Router. You can use static routing to allow different IP domain users to access the Internet through this device. This is an advanced feature. Please proceed with caution.
To set up static routing, you should add routing entries in the Router's table that tell the device where to send all incoming packets. All of your network routers should direct the default route entry to this Router.
Create a static route entry:
Select Entry from the drop down list. The device supports up to 20 static route entries.
Enter the following data for the static route.
Destination IP Address
Enter the network address of the remote local LAN segment. For a standard Class C IP domain, the network address is the first three fields of the Destination LAN IP, while the last field should be zero.
Subnet Mask
Enter the Subnet Mask used on the destination IP domain. For Class C IP domain, the Subnet Mask is 255.255.255.0.
Gateway
If this Router is used to connect your network to the Internet, then your Gateway IP is the Router's IP Address. If you have another router handling your network's Internet connection, enter the IP Address of that router instead
Hop Count
Enter the Hop count. This is the number of hop to each node until the destination has been reached.
Interface
Interface is the destination connection to. For example, if you are from the Local connection and you need to go out to the Internet Port, then you interface is Internet.
Click the Save Settings button to save your changes.
|
My wireless router appears as 192.168.1.101 on my wire router.
The address I use to access the settings on my wire router is 192.168.1.1
The address I use to access the settings on my wireless router is 192.168.1.2
My external IP is 64.xxx.xxx.x
With all of this information, I don't understand what the directions are telling me to do. Should I set up a static routing in my wire router, or my wireless router? And what information should I enter for each field?
Any help in clearing up this matter would be much appreciated.
Rundi
Last edited by Rundi; 07-06-2004 at 02:12 PM.
|
|
|
|
07-09-2004, 04:44 PM
|
#2
|
|
LQ Newbie
Registered: Apr 2004
Location: Portland, Oregon
Distribution: Slackware/Mandrake/Redhat
Posts: 21
Rep:
|
Phew. Okay, you may not like this answer, but.....
You are over complicating things, really. You should go take back the wireless router and get instead:
1 Switch
1 Wireless Access Point (AP) (Only if you want to use Wifi, of course)
Plug the switch into your old router (you'll probably need a crossover cable, unless the switch has an uplink port). Plug the Wifi AP into the switch. Voila, working network without toying around with routes.
If you are looking for a learning experiance... read on.
The reason why your current network is a Bad Idea is because most Wireless "routers" now-a-days are actually NAT/Masquerading devices. So, as a result you probably have your Gateway router plugged into the Wifi routers "external interface". Which means the bloody thing will try to NAT/Masq all the computers behind it, as well as the wifi connection. So, option 1, don't plug it into the external interface .. but that means you have to disable it's default on services, such as DHCP. Option 2, look in it's config for something called "bridge mode" would would take out it's NAT/MASQ features. May or may not still do DHCP (most likely not). Not all units have this handy feature. Option 3, you can configure static routes (or RIP routes), but you'll first have to disable NAT/MASQ... and then configure the static routes. If you are really gung ho on doing option3, let me know and I'll see if I can explain it better.
|
|
|
|
07-16-2004, 11:38 AM
|
#3
|
|
Member
Registered: Jun 2003
Location: USA
Distribution: Ubuntu
Posts: 169
Original Poster
Rep:
|
Good enough
Thanks for the reply. I didn't reply sooner because I managed to get things working well enough for the present.
I think the length of time since when the wireless router was purchased was too great for a return . . . in any case I think it came with some rebate that made it cheap enough that the hassle of return is too much.
That said, I think I understand what you are saying about a wireless access point . . . now that I've played around with wireless technology a bit.
Again, you are right about the NAT/Masq issue . . . I kind of discovered that for myself.
All good points, wish I had known them earlier, but for this time around I'm just going to live with what I got working and do it right next time.
I didn't need to use static routing after all. I figured that out after much hair pulling. I got my configuration to work by simply turning on dynamic routing. By this means everyone can access the internet. Everyone can access the network printer. But I suspect there will be problems if someone wants to play games on the internet from the wireless router that is plugged into the wire router.
By the way, now that the use of Wireless Access points have been brought to my attention, could anyone tell me about how many computers can reasonably use one access point?
Thanks
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:44 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|