08-08-2010 12:54 AM - edited 03-06-2019 12:22 PM
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.
Solved! Go to Solution.
08-09-2010 01:19 PM
Thanks for your help. I will give it a try tonight and see.
08-10-2010 09:20 AM
It worked out like you suggested. Thanks for your help, I really appreciate it.
08-09-2010 03:29 AM
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
08-09-2010 01:17 PM
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.
08-08-2010 01:13 AM
yes , you must add default route
11-08-2017 07:53 AM - edited 11-08-2017 07:56 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide