cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
737
Views
0
Helpful
3
Replies

VLAN Setup Using Cisco 1801 and Cisco SG200-26P

carlcisco7
Level 1
Level 1

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

3 Replies 3

b0ying
Level 1
Level 1

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

    • Router# ping (ip of 0.20) source (ip of 0.99)

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

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

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.

Review Cisco Networking for a $25 gift card