home network using linksys wireless router
Hello all,
I own a wireless router (wrt54gs) and I need some help on the configuration if someone knows a good guide or maybe has some advice. Here's my network layout. Internet | | eth0 (firewall/server )eth1 ------ (wired pc) eth2 | | linksys ------- (wirless pc) & (wirelss pc) I've configured dhcpd on the server Code:
ddns-update-style none; Code:
# Config information for eth0: Code:
Destination Gateway Genmask Flags MSS Window irtt Iface Code:
#!/bin/bash I have failed at all my attempts to get the wireless pc's working through the server so any help would be appreciated. |
How are you connecting the router into your network? Are you using the WAN or a LAN port connected to eth2? You can configure your router as a wireless access point in a nutshell by plugging into the LAN (the switch side) and disabling DHCP. You can also simplify your network by just plugging the router into eth1 and then all computers will be on the same subnet.
|
michaelk,
The answer to your questions is that I have tried both with several combinations of settings on the router itself. Just a little bit ago I got the crazy thing working. But I'm afraid that there may be some conflict at some point in the way it's set up. Currently it is plugged into the WAN port from eth2 and I reset the router to factory defaults. Here's the routers routing table. Code:
Destination LAN IP Subnet Mask Gateway Interface From what I've read and googled I should be able to just plug into one of the LAN ports and disable dhcp and it should work just like you said. I'm going to give it another try and see. Thanks for the advice. |
Follow up to previous post:
Ok, Now the router is hooked to the LAN port and eth2 and I disabled DHCP Server on the router and set the Routers IP address to 192.168.2.149. It's working !!!!!!! The routers routing tables looks better also. Code:
Destination LAN IP Subnet Mask Gateway Interface I still have two more questions. First, before I was setting the ROUTERS IP address to what I thought was the gateway for eth0 ( 192.168.2.1 ) and this time I just set it to an address inside the range of the DHCP server on the firewall box. I would like to understand that. Second, if anyone knows there a section in the routers setup under advanced routing that says I should have the router set to "router" but I still have it set to "Gateway". If someone could explain that to me it would be much appreciated. Thanks again and any comments welcome. |
Each device on the same subnet requires a unique IP address. So that is why you had problems when the routers LAN address the same as eth2 (i.e. 192.168.2.1) on the server. The netmask i.e. 255.255.255.0 in a nutshell determines the available hosts on the subnet. In your case 192.168.2.x where x=1 to 254. 255 is assigned the broadcast address and zero is the network address. You would want to set the routers LAN IP address to something outside the DHCP IP address range (<100 or >150) so no conflicts can occur. The DHCP server actually assigns address from the top down (150,149 etc) so if you have at least 3 wireless clients your going to have an IP conflict.
Google for more information. |
Thanks, I get what your saying..I'll get it changed.
|
All times are GMT -5. The time now is 05:53 PM. |