Configuring managed switch and router in order to have Internet…

pts.
Tags:
Layer 3-7 Switches
Modems/Cable Modems
Network Management Systems
Networking
Networking Equipment
Routers
Switches
Dear Sir, Could you please help me concerning the following matter: I have Cisco Catalyst 2950 managed switch connected to Linksys WRT54G - Wireless-G Broadband Router, which is then connected to ADSL modem. I need the following scenario: -two VLANs configured on the managed switch, so there will be no traffic between. But for the both VLANs I need to use the router as an Internet gateway. So please help me how can I configure this scenario. Thank you in advance, Sincerely, Ivo

Answer Wiki

Thanks. We'll let you know when a new response is added.

Try this section of this document from Cisco:

TITLE: Assigning the Switch IP Address and Default Gateway

http://www.cisco.com/en/US/products/hw/switches/ps628/products_configuration_guide_chapter09186a00801cde76.html

I think the VLAN issue is not going to be a problem. All you have to do is set an IP address on the switch and point the switch to the IP address of the default gateway, in this case the Linksys router. I’m sure you know, but you will have to have the clients pointing to the same gateway (the Linksys router) as well. All traffic on both VLANs going outside your little network should be sent to your router, and your router pick it up from there.

Test it out, see what happens.
how can configure a managable switch

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Sonyfreek
    I don't think it will work the way you are expecting it to work. You can partition the switch out to two VLANs without a sweat, but the LinkSys router doesn't understand the 802.1Q VLAN tagging protocol. You can make it work by creating two VLANs on the switch (Ex: VLAN 2 on ports 0/1-12 and VLAN 3 on ports 0/13-24) by setting up each of the connected computers in a different subnet (say 192.168.1.1/24 and 192.168.2.1/24). However, this wouldn't be effective at achieving a separate VLAN because the Linksys does not have the capability to talk 802.1Q. What I'm saying is that you would get the same result by configuring the computers connected to the Linksys with two different subnets... This provides no security (although, VLANs don't really make you more secure either). I don't know if the Linksys will let you configure two IP Addresses to use as default gateways on your PCs, but that would need to be done as well. The documentation doesn't look like it will. Essentially, if you truly want to use VLANs, you need a router that will understand 802.1Q to really do Layer 3 switches and apply access lists to prevent unauthorized access across the subnets. You would also have to secure the VLANs by disabling CDP, VTP, and DTP, then assign the default VLAN for the switchport to a shutdown VLAN (Ex: VLAN 400). See the NSA SNAC at: http://www.nsa.gov/snac/os/switch-guide-version1_01.pdf, section 9.6.2. Hope this helps, Sonyfreek
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following