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. 220.127.116.11 (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. 18.104.22.168 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 22.214.171.124, 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.
Please try the following setup:
LAN hosts (192.168.2.2 - 2.126/24) -- VLAN 1 (192.168.2.1/25) ---
FastEthernet 0/3 (192.168.2.129/25) --- Linksys (192.168.2.254/24)
So, essentially, from Linksys perspective, it is one single subnet (both LAN
and Wireless clients will be on 192.168.2.x) where as the 3560 sees them on
two different subnets i.e. 192.168.2.0/25 and 192.168.2.128/25.
Steps to follow:
-- On Linksys, remove 192.168.1.x subnet completely.
-- On Linksys, configure 192.168.2.x subnet for router IP, DHCP (for
-- On Switch, configure the Router IP as the default route (If the Router IP
on Linksys is 192.168.2.254, then "ip route 0.0.0.0 0.0.0.0 192.168.2.254"
-- Make sure that all the LAN clients have IP within 192.168.2.2 - 2.126
range and their default gateway is 192.168.2.1
If this is still not working, please post a screenshot of the Linksys