07-03-2016 06:05 PM - edited 03-08-2019 06:28 AM
Hi There,
Just joined the Cisco Support Community and wondered if anyone can help...?
I'm currently learning to use Cisco switch and Routers and recently picked up a Cisco 1801 and a Cisco SG200-26P for home use which might seem a bit of an overkill but it's more to explore the benefits using VLAN's etc...
What I'm trying to do is setup two VLAN's as follows...
VLAN 20 - Would be for a server and a netdrive.
VLAN 99 - Would be for management/Administration.
I can setup the VLAN's on the SG200-26P switch using any of the ports 1-24 ok.
I can setup sub-interfaces on FE0 (0.20 and 0.99) port on the Cisco 1801 router ok.
But I'm unable to ping say from one VLAN to another, the port I'm trying to use from the SG200-26P is port GE25 set to trunking mode and the port on the 1801 router is FE0.
Would this be possible to do, apologies I don't have any info/screen-shots as I plan to start from scratch again, by the way I would be using static IP address's if that helps...?
Regards,
Carl
07-03-2016 08:30 PM
Hi carl,
First of all, yes its possible to do this.
But we need to clarify something.
1. Try pinging the gateway of both vlan
2. Are the ports of switch getting the right IP of their respective vlan?
3. Have you setup the NAT already? a show run command on router and switch will help.
Thanks,
Erick
07-04-2016 02:58 PM
Hi Erick,
Thank you for replying to my question I think I may have missed something as I've just received a Cisco SG200-08 and I'm still having problems so I'm assuming I've missed the obvious...
Cisco SG200-08 Setup
As per instructions using the GUI web interface for port settings
port g1 has been set to trunk mode tagged
Vlan 20 created just to keep things simple on the switch end
Cisco 1801 Setup
interface Fastethernet0
no ip address
duplex auto
speed auto
interface Fastethernet0.10
encapsulation dot1q 10
ip address 192.168.10.11 255.255.255.0
ip nat inside
ip virtual-reassembly in
interface Fastethernet0.20
encapsulation dot1q 20
ip address 192.168.20.25 255.255.255.0
ip nat inside
ip virtual-reassembly in
interface Vlan1
ip address 10.1.1.2 255.255.255.0
interface Vlan10
no ip address
ip nat inside
ip virtual-reassembly in
interface Vlan20
no ip address
ip nat inside
ip virtual-reassembly in
ip forward protocol nd
no ip http server
no ip http secure-server
Hope this helps...
Carl
07-04-2016 08:01 PM
Hi Carl,
1. Please try to ping the the gateway of both VLAN.
Router# ping 192.168.10.11 source 192.168.20.25
if this is successful, then your inter VLAN is working fine.
2. On switch side, sorry, I'm not familiar with the GUI, you gonna need to tag the ports to their specific vlan.
I assume you have configure a DHCP and NAT.
Anyway theres a lot of tutorial online that will help you on this, BTW your setup is called router on a stick.
Hope this helps, good luck to your study on Cisco.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide