can not get internet on my desktop

Dear experts,

I have a cisco 3550 switch and I assigned 2 ports( FA0/47,FA0/48) to vlan 40.
Interface vlan 40 is up as a result.

I have given the network to interface vlan 40.
I plugged my internet router to the switch to the interface fa0/1 and made it layer 3 and gave it an ip address

I put a ip route in the switch. I was thinking this will forward my internet traffic to the internet but I am not getting internet in my laptop. Why.

My laptop is connect to port fa0/47 and has the ip address / with GATEWAY IP of
When I console to the switch and type ping I get replies with no issues. but I can not get it to work on my laptop.

What is wrong with my config please help.
SR ZakNetwork Solutions Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JohnBusiness Consultant (Owner)Commented:
I would make sure you have connected a LAN port on your router to a LAN port on the Network. Why not put it on the same subnet as well.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
did you enable ip routing globally?

config t
ip routing

If this does not work, please send your config over.
Walter CurtisSharePoint AEDCommented:
Set your subnet mask to
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

SR ZakNetwork Solutions Author Commented:
ip routing is enabled.

I also addred IP route

But I have no luck making the internet to work on the laptops.
SR ZakNetwork Solutions Author Commented:
if I put all the ports in a vlan 1 the laptops get IP from the router and the internet works. But I wanted to test the whole thing using a layer 3 port that is connected to the router and layer 2 ports connected to the laptop with separate vlan.

I really want to know why my experiment did not work.
Walter CurtisSharePoint AEDCommented:
Didn't see the mention of this being a test. Good luck with your testing.
SR ZakNetwork Solutions Author Commented:
any reason why the internet did not work on the desktop? the switch as I mention is configured with trunk port that was connected to port 1 facing the internet router. The ports connected to the desktop have vlan x and I enabled IP routing. Not sure what the issue is.. I just want to make my concept clear by doing this setup.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.