Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Brief VLAN Question....

Status
Not open for further replies.

penduko

Technical User
Sep 10, 2002
114
PH
I have a 2960 switch and a router and I'm planning to create two VLANs with private IP subnets in the catalyst. I will connect this catalyst to a router with public IP addresses. My question is, how will the hosts connected in the catalyst browse the internet? a sample configuration or a brief explanation on the things I have to do will be highly appreciated.

Thanks in advance....
 
You can set up a "Router on a stick" configuration. I use these in my test labs. set e0 on the router to your public IP address and e1 with "no ip address" use sub interfaces e1/0.1 e1/0.2 etc. trunk that line to the switch, set Q tagging. Set up your vlans. then set static routes or use RIP. There is far better tutorials out there, this is just a quick note and what I would do. Hope this helps. Here are a few examples:


* The biggest problem i ran into was putting the wrong number in the encapsulation statement. Just my 2 cents.
 
The router itself needs a NAT config to translate addresses from the private range to the public too.

Burt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top