Need Internet with WRT54GS router

Have a question or want to start a discussion? Post it! No Registration Necessary.  Now with pictures!

Threaded View


Hey everyone -
I have 2 privates subnets : one (192.168.0.0) for my wire network and
Internet, and the other (192.168.1.0) for the wireless. I want to
setup a wireless network with a linksys WRT54GS router and have access
to Internet.

SHEMA

(X)-------------------------(X)__________________(())
Router A (wireless)          Router B (wire)      Internet
192.168.1.0                  192.168.0.0

Note:
Router A address (WRT54GS) : 192.168.1.22
My internet is plugged into Interface 0 (Internet)

I already set the configuration on the router and the communication is
established with the wireless network. My problem is when I'm trying
to browse.

From the administrative tool of the WRT54GS I can easily ping or
traceroute, for example www.google.com (64.233.161.104), without any
problems. BUT on the DOS console (cmd), if I try to ping google or
whatever I can't get a response from the destination

I get this error when I'm trying to ping www.google.com in the console
prompt:

1) Ping request could not find host www.google.com. Please check the
name and try again

I know this mean that there are no communication with the DNS


2) It's not better doing this:
Ping 64.233.161.104 : request time out

3) 192.168.0.9 (DNS) doesn't work either


However when I type Ipconfig /all into the console, it gives me this
stuff and find also the DNS

 IP Address. . . . . . . . . . . . : 192.168.1.100
 Subnet Mask . . . . . . . . . . . : 255.255.255.0
 Default Gateway . . . . . . . . . : 192.168.1.22
 DHCP Server . . . . . . . . . . . : 192.168.1.22
 DNS Servers . . . . . . . . . . . : 192.168.0.9
                                     203.108.60.11
                                     203.108.60.12

I'm aware that my wireless and wire networks are in 2 differents range
of IP and it's probably the reason why I can't get internet with the
wireless device.

Remember that all works fine on the router. I am able to ping or
traceroute google or my DNS. It's only with windows and my browse that
I can't access Internet.

Any help would be greatly appreciated, I really need a solution

tyvm all


Finally here is my router config, if it could help

--------------------WRT54GS Status--------------------------
------------------------------------------------------------
Internet:
Login Type:        Static          
IP Address:        192.168.0.22    
Subnet Mask:       255.255.255.0    
Default Gateway:   192.168.0.10    
DNS 1:             192.168.0.9          
DNS 2:             203.108.60.11          
DNS 3:             203.108.60.12          
MTU:               1500

Local Network:                        
MAC Address:       00:0F:66:D8:51:37    
IP Address:        192.168.1.22          
Subnet Mask:       255.255.255.0    
DHCP Server:       Enabled          
Start IP Address:  192.168.1.100      
End IP Address:    192.168.1.129  

--------------------End Router Status-----------------------
------------------------------------------------------------


Re: Need Internet with WRT54GS router



Why are you creating two subnets.

I have two Linksys WRT54GS connected toether with one connected to the
Internet and they are both on the same subnet.  Reem ber the 4 wired
ports on the WRT54GS is a Ethernet hub...



Re: Need Internet with WRT54GS router


Hi my friend,
I'm using 2 subnets cause I need to make a distinction between the wire
and wireless network. In the case that I only use one subnet, how can I
change the value of the DHCP starting IP Address (192.168.1.X) for
192.168.0.X.

I mean, if you look closely in the DHCP router feature, you can see
that you can't change the value of the starting address. It must start
by 192.168."1".0 .    Then 192.168."0".X is not possible.  My Internet
must come from 192.168.0.0

ty for your answer



Re: Need Internet with WRT54GS router



You are absolutely correct in stating that the Linksys WRT54GS supports
only one DHCP address range.



Re: Need Internet with WRT54GS router


Please post the Operating Mode and Routing Table for both of the
routers

Setup -> Advanced Routing



Re: Need Internet with WRT54GS router



Here is my routing table as requested

operatig mode router

Destination                Subnet Mask          Gateway          Interface
192.168.1.0         255.255.255.0    0.0.0.0               LAN & Wireless
192.168.0.0         255.255.255.0    0.0.0.0                  WAN (Internet)
0.0.0.0                       0.0.0.0                192.168.0.1      WAN
(Internet)


I unfortunatly dont have access to the other router.



Re: Need Internet with WRT54GS router


To confirm, you have access to router A (wireless) but not to router B
(wired).


>From a wireless PC that is associated(connected to) to router A in the
IP subnet 192.168.1.0, can you ping any IP addresses in subnet
192.168.0.0 (other than 192.168.0.22) ???


I suspect that the problem is that router B (wired) does NOT have a
route to 192.168.1.0 via 192.168.0.22 ...



Re: Need Internet with WRT54GS router


I think I should create a route in advanced routing through
192.168.0.0. I try several things but it doesn't work.

For example:
Route Name : Internet
Destination : 192.168.0.0
Subnet mask: 255.255.255.0
Default Gateway: 192.168.0.10
Interface: WAN (Internet)

I never did this before, so maybe i'm taking a wrong path, any advices
would be greatly apreciated
ty



Re: Need Internet with WRT54GS router


joe10001@hotmail.com wrote:
> I think I should create a route in advanced routing through
> 192.168.0.0. I try several things but it doesn't work.
>
> For example:
> Route Name : Internet
> Destination : 192.168.0.0
> Subnet mask: 255.255.255.0
> Default Gateway: 192.168.0.10
> Interface: WAN (Internet)
>
> I never did this before, so maybe i'm taking a wrong path, any advices
> would be greatly apreciated
> ty

Why is anything set as wan? I have mine set to lan and wireless, and just
start the wireless dh addresses at .101 (wired at .1, seemed reasonable to
start wireless at .101, that keeps em seperated)




Re: Need Internet with WRT54GS router



Do you have two Linksys router in your environment ?

If so then that is a good approach, the OP only has control over one
router, but he could place it on the same subnet and use a DIFFERENT
DHCP range than is being used on the router over which he does not have
control

and yes connecting it to the LAN & wireless interfaces would be the way
to go in your topology



Re: Need Internet with WRT54GS router


On 11 Feb 2005 08:56:37 -0800, joe10001@hotmail.com wrote:

>Hi my friend,
>I'm using 2 subnets cause I need to make a distinction between the wire
>and wireless network. In the case that I only use one subnet, how can I
>change the value of the DHCP starting IP Address (192.168.1.X) for
>192.168.0.X.
>
>I mean, if you look closely in the DHCP router feature, you can see
>that you can't change the value of the starting address. It must start
>by 192.168."1".0 .    Then 192.168."0".X is not possible.  My Internet
>must come from 192.168.0.0
>
>ty for your answer
Then you need a D-Link 614+ router.
That is the number my router starts with 192.168.0.1



Re: Need Internet with WRT54GS router


joe10001@hotmail.com wrote:
>Hi my friend,
>I'm using 2 subnets cause I need to make a distinction between the wire
>and wireless network. In the case that I only use one subnet, how can I
>change the value of the DHCP starting IP Address (192.168.1.X) for
>192.168.0.X.
>
>I mean, if you look closely in the DHCP router feature, you can see
>that you can't change the value of the starting address. It must start
>by 192.168."1".0 .    Then 192.168."0".X is not possible.  My Internet
>must come from 192.168.0.0

I'm not sure you can do that with the LinkSys firmware.  However
if you switch to the Sveasoft firmware it's fairly easy to do.
(I haven't checked to see if HyperWRT firmware supports the GS
model, but if it does it would be even easier.)

The problem is the way LinkSys automatically manipulates the
route table.  With the third party firmware you have total
control of routing as you can add or delete after the Firmware
does its thing.

Getting your routes to survive a reboot is a little convoluted,
but not actually difficult.  (It's fairly obvious to anyone who
has experience with unix systems administration, and probably
not at all obvious otherwise.)

I use one WRT54G that has a default route to 192.168.0.2 (a
firewall router that is the LAN interface to the Internet),
connects to the LAN using the ethernet ports rather than the
WAN/Internet port.  That network does not use DHCP on the
wireless, but all of the static IP addresses are in the
192.168.1.0 subnet.

With proper routing it can be configured for a number of different
connectivity options.

   1)  All 192.168.0.0 and 192.168.1.0 addresses can
       communicate, and all have access to the Internet.

   2)  Any of 192.168.0.0, 192.168.1.0, or the Internet
       can be isolated from the individual wireless
       (192.168.1.0) addresses.

--
Floyd L. Davidson           <http://web.newsguy.com/floyd_davidson
Ukpeagvik (Barrow, Alaska)                         floyd@barrow.com


Re: Need Internet with WRT54GS router



> joe10001@hotmail.com wrote:
> Hi my friend,
> I'm using 2 subnets cause I need to make a distinction between the
> wire and wireless network. In the case that I only use one subnet,
> how can I change the value of the DHCP starting IP Address
> (192.168.1.X) for 192.168.0.X.
>
> I mean, if you look closely in the DHCP router feature, you can see
> that you can't change the value of the starting address. It must
> start by 192.168."1".0 .    Then 192.168."0".X is not possible.  My
> Internet must come from 192.168.0.0


Sure you can.. I'm looking at the screen right now , and where it says
"Starting IP Address"  (below the local IP address which can also be
changed)..
<text pasted below>

Router IP      Local IP Address:  192 . 168 . 1  . 1
      Subnet Mask: 255.255.255.0


--------------------------------------------------------------------------------


Network Address
Server Settings (DHCP)      DHCP Server: Enable Disable
        Starting IP Address:  192.168.1. 100
      Maximum Number of  DHCP Users:  50
      Client Lease Time:   minutes (0 means one day)
<end paste>

Now that I think of it, have you updated the firmware for that device? The
lastest (and an installer) is dated 01/03/2005 and is available at....
go to http://www.linksys.com/products/product.asp?grid=33&scid=35&prid=610
on the right side click on Firmware, and you will get a page that starts
with (in HTML of course instead of text...

WRT54GS - Wireless-G Broadband Router with SpeedBooster v1.0

Firmware Date : 1/3/2005
Firmware File Size : 3.43MB
Firmware Version : 3.37.6
Click here to download the firmware file.

Click here to download the version information.

=================================================
Update your firmware and look again... There will be square blue boxes
around the numbers that can be changed.




Re: Need Internet with WRT54GS router


Tyvm all for your answers,

I solve my problem !! Instead of using 2 subnets, I only use
192.168.0.0.  I finaly have been able to change 192.168."1".0 for
192.168."0".0 on the DHCP feature of the WRT54GS router. I also use the
router as a hub now. I can easily determine the wireless network by the
range given by the router

ty again for your answer



Re: Need Internet with WRT54GS router


joe10001@hotmail.com wrote:
> Tyvm all for your answers,
>
> I solve my problem !! Instead of using 2 subnets, I only use
> 192.168.0.0.  I finaly have been able to change 192.168."1".0 for
> 192.168."0".0 on the DHCP feature of the WRT54GS router. I also use
> the router as a hub now. I can easily determine the wireless network
> by the range given by the router
>
> ty again for your answer

Glad it's working...




Site Timeline