cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2939
Views
20
Helpful
20
Replies
Highlighted
Beginner

Cisco 3560 connected to Linksys WRT54G

Hello All,

I have a question regarding connecting a 3560 switch I have to a Linksys WRT54G router.  Since the 3560 doesn't have NAT, what I would like to do is use the Linksys as my NAT router and then have a different subnet on my 3560 to separate it from the wireless traffic.  I'm currently a little stumped.  What I have done is:

1) Created a 192.168.2.0 subnet on the 3560 by assigning an IP to VLAN 1 of 192.168.2.10

2) The subnet on my Linksys is 192.168.1.0

3) Added the 192.168.2.0 subnet to the routing table in the Linksys router with the gateway of 192.168.1.2

4) Entered no switchport command on fa 0/3 on the 3560

5) Assigned fa 0/3 the IP address 192.168.1.2

6) Entered the IP route ex. 68.34.25.0 (ISP IP address) 255.255.255.0 192.168.1.1 (gateway of Linksys router)

I am able to ping all PCs connected to both subnets, so all traffic between the subnets seems to communicate fine.  I cannot reach the internet from the 192.168.2.0 subnet, however.  I can ping the ip address that is assigned to my Linksys router   ex. 68.34.25.20 from my 3560, but I'm still not getting internet traffic.  When I look at the routing table of my Linksys, there is an entry for the gateway 68.34.25.21, but I cannot ping that from my 3560.  Is there a way I can add an IP route directly to that address?  Any other thoughts?  Perhaps the steps I have taken so far aren't the best way to do this as is.  Thanks for any help.

20 REPLIES 20
Highlighted

Thanks for your help.  I will give it a try tonight and see.

Highlighted

It worked out like you suggested.  Thanks for your help, I really appreciate it.

Highlighted

If you ping from Vlan 2 to th ip address for linksys ? is it replay ?

,,,,,,,,,,

Did you configure DNS in hosts in Vlan 2 ? will be the linksys IP

Highlighted

Yes, if I ping the IP address of the Linksys from vlan 2 it does reply.  DNS is set as the IP of the Linksys too.  Thanks.

Highlighted
Beginner

yes , you must add default route

Highlighted
Beginner

I had similar problem, and I found a better solution, wrt routers has got a static route function where you can give the static routes.
for example if your wrt is 192.168.1.1 and your 3560 is 192.168.1.2 and you have got 192.168.2.0 and 192.168.3.0 (vlan inter routing) then you have to set up a static route on your wrt like this:
destination: 192.168.2.0
mask: 255.255.255.0
gateway interface (where's your cisco connected)
gatway address 192.168.1.2
and
destination: 192.168.3.0
mask: 255.255.255.0
gateway interface (where's your cisco connected)
gatway address 192.168.1.2

 

set your 3560 like this
int vlan 1
ip address 192.168.1.2 255.255.255.0
!
int vlan 2
ip address 192.168.2.1 255.255.255.0

!

int vlan 3
ip address 192.168.2.1 255.255.255.0
!
ip route 0.0.0.0 0.0.0.0 192.168.1.1


I hope this will helps somebody in the future, because this question is quiet old.

Content for Community-Ad