Hot Downloads

Welcome, Guest
Username: Password: Remember me

TOPIC: internet connection on vlan switch

internet connection on vlan switch 7 years 1 month ago #32442

  • sose
  • sose's Avatar
  • Offline
  • Honored Member
  • Posts: 813
  • Thank you received: 4
  • Karma: 3
i have a cisco 2900 series switch have three vlan including the the default vlan. and a cable coming from my router to the switch. will all vlan get internet connection, is it necessary to link the router and the swith through a trunk port
sose
Network Engineer
analysethis.co/index.php/forum/index
The administrator has disabled public write access.

Re: internet connection on vlan switch 7 years 1 month ago #32447

  • Kajitora
  • Kajitora's Avatar
  • Offline
  • Frequent Member
  • Posts: 40
  • Karma: 0
I dont want to say thats the ONLY way, but a router on a stick would probably be your best bet. Below is a configuration example for vlan 20 & 25.

On switch

interface fastethernet 1/0/1

switchport trunk encapsulation dot1q

switchport mode trunk

On Router


interface fastethernet0

no ip address

interface FastEthernet 0.20

ip address 10.1.20.1 255.255.255.0

encapsulation dot1q 20

interface FastEthernet 0.25

ip addres 10.1.25.1 255.255.255.0

encapsulation dot1q 25
itgamers.blogspot.com
The administrator has disabled public write access.

Re: internet connection on vlan switch 7 years 1 month ago #32464

  • Chris
  • Chris's Avatar
  • Offline
  • Administrator
  • Posts: 1446
  • Thank you received: 13
  • Karma: 8
Sose,

You can also follow our detailed example in the Cisco Technical Knoweldgebase:
www.firewall.cx/tk-cisco-routers-on-stick.php


Cheers,
Chris Partsenidis.
Founder & Editor-in-Chief
www.Firewall.cx
The administrator has disabled public write access.

Re: internet connection on vlan switch 7 years 1 month ago #32465

  • sose
  • sose's Avatar
  • Offline
  • Honored Member
  • Posts: 813
  • Thank you received: 4
  • Karma: 3
yea i have gone through that chris

thanks
sose
Network Engineer
analysethis.co/index.php/forum/index
The administrator has disabled public write access.
Time to create page: 0.076 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup