300 series Switch configuration of VLAN

Hello

I'm Setup VLANS on switch sf 302 and been unsuccessful. My idea is to have 2 separate networks and both connect to internet

Game 192.168.2.0/24 network

Network 192.168.3.0/24

Router (Linkys) connected to the switch - 192.168.4.1 8 port

I joined the serial cable and made the following changes

Creation of VLANS

Created 20 VLANs for the network game

#config t

#vlan database vlan 20

output

30 of VLANs created for the work

#config t

# vlan database vlan 30

#exit

Asigned ports to VLANS

#config t

# int fa2

switchport mode access #.

# switchport access vlan 20

#exit

#config t

Fa3 #int

switchport mode access #.

# switchport access vlan 30

#exit

IP address assignment to the VLAN

#conf t

#int vlan 20

# address ip 192.168.2.1 255.255.255.0

#end

#conf t

VLAN #int 30

# address 192.168.3.1 ip 255.255.255.0

#end

I'm stuck after that. Now I connect vlan 20 and vlan 30 on router attached to port8 on the switch for the computers on the two VLANs can access the internet. The IP address of the router is

192.168.4.1.

Please explain what it takes to do this.

Thank you

Maakri

Hello Maakri,

Looks like you are using the layer 3 switch. It is important to remember that the traffic is not one-way. When you send pings to the router to 192.168.4.2, the switch will pass on, but how the router knows how to get back?

If you do not have many VLANS on the router, you will need to add static routes. Here is an example of the roads, you will need-

network 192.168.2.0/24 goto 192.168.4.1 hop 2

network 192.168.3.0/24 goto 192.168.4.1 hop 2

Hope this helps

Tags: Cisco Support

Similar Questions

  • The 300 series switches are compatible with detection of PoE before standard in old phones Cisco?

    The 300 series switches are compatible with detection of PoE before standard in old phones Cisco? They don't seem to be (7902G don't turn on when it is connected to a SF302-08MP with firmware version 1.1). What no need special configuration on the switch to enable this detection?

    Please note that the switches of the series 200 and 300 are now supported POE Legacy Cisco from September 2011, to provide power to 7960, 7940 and other phones standard pre and APs. Details on the following link:

    https://supportforums.Cisco.com/docs/doc-18337

  • SVI press SG 300 series switches

    Hi people:

    my client has 6 sg 300 switches a switch is connected with the firewall a firewall d a dhcp on a network server, they want to do another vlan to another network, if the 300 series sg takes care of the SVI I can do two IVS on my a switch.i think that they do not support other than default.can svi you help me on this problem...

    Hi Khurram switch supports VLAN for layer 3 interfaces.

    You can connect to the CLI and use the command

    router adjustment system mode

    Once you do, it will be by default the Chooser after reloading.

    Once the switch is back to the top, make sure that the first thing we do is to book a static IP address on the vlan 1 can do your VLAN additional and IPS on VLANs

    -Tom
    Please mark replied messages useful

  • SG 300 - 28 p - configuration of VLAN Simple

    Hi all

    I would like to create 3 x VLAN on a 300-28 P of: SG and get them completely isolated from each other, for example 1-12 on the VLAN 1, VLAN 2 13-24 and 25-28 on VLAN 3 ports. No communication between all the VLANS.

    Can anyone advise me on the best way to achieve this?

    Thank you

    Andrew

    Andrew, imagine this scenario. You have 1 switch, 2 computers like so. If you connect a computer to a member of a VLAN, it will communicate only to members of the same vlan. The switch does not allow a VLAN to communicate without a router (Layer 3 device).

    To create VLAN try the following

    1.) make the VLAN you want, the number can be anything from 1 to 4094. The vlan 1 is created by default

    2.) assign the ID vlan and a description

    3.) associate the ports you want to be a member of the VLAN 1

    4.) associate the ports you want to be a member of VLAN additional

    When you assign a port to a vlan, make sure it is not marked one. By default, only 1 vlan without tag can be by port.

    Don't forget not to save the configuration on the icon flashing in top right, be sure to save the configuration running on the boot configuration.

    -Tom
    Please evaluate the useful messages

  • Configuration of SNMP on Cisco Small Business 300 Series managed switch

    Please can someone help me configure SNMP on Cisco Small Business 300 series switch?

    Thank you

    Hi Anton,.

    Don't forget to activate the service SNMP is first of all: Security > Services TCP/UDP.

    http://sbkb.Cisco.com/CiscoSB/UKP.aspx?VW=1&docid=3b13278d9ef9402a8fef57...

    also, you will find useful documents for configuration etc on our server community kb:

    http://sbkb.Cisco.com/CiscoSB/UKP.aspx?VW=1&docid=183cae2148d445b2a07473...

    Let us know if you have any problems.

    Aleksandra

  • LAG does not not after more Guide of switch Configuration for EqualLogic San steps in the document.

    We use the information provided in the following document: i.dell.com/.../dell-networking-n4000-series-switch-configuration-guide-for-equallogic-sans.pdf

    We have two switches of N4032F which are stacked and followed almost word for Word from this document.  We do not use DCB.  We are trying to set up a SHIFT and follow-up step 2.11 in the document, but it seems that the SHIFT does not work.

    Switch 1:

    serial interface fortygigabitethernet 1/1/1-2

    No spanning tree portfast

    active in mode channel-group 1

    Switch 2:

    interface series fortygigabitethernet 2/1/1-2

    No spanning tree portfast

    active in mode channel-group 2

    However, when it was discovered after changing these settings it shows them as being inactive.

    Can someone please help?

    Thank you

    Jeff

    Thanks for the additional information. When the switches are stacked, they act as a logical switch. Then when you plug with an OFFSET you are basically creating a loop and hook up a switch on himself. Desempilement switches and just use the OFFSET for the interconnection of the switch and you should see the GAL go active.

  • Configure the vlan with SG 300 - 10 p and 520 SA

    Hi all

    Forgive my ignorance, but I need help with the basic configuration.

    For a small office, I bought an appliance of security SA520 (for future VPN with another remote desktop) and a switch of SG 300 - 10 p to connect 3 PCs and 3 IP PHONE. The SA 520 is the router. I have to configure 2 VLANS on the switch:

    VLAN2: DATA (for PC)

    VLAN3: VOICE (for IP PHONE)

    VLAN1: BY DEFAULT.

    How can I configure simply all ports?

    I would like to configure ports 1-4 on 5 to 8 ports and VLAN2, VLAN3 and G10 port is reserved for the SA520 router.

    I want to split VOICE and DATA network.

    I think I need to create a trunk on G10 to SA520...

    Can someone help me?

    Hi Julien,

    OK sounds like you use it vlan by default for network management and the vlan 2 for vlan3 for voice and data.

    I use a calculator for this, my SA520 is ready at the present time.

    Step 1   On the SA520 add vlan 2 and vlan 3 and label them voice and data respectively.

    Step 2. Allows you to use the switch port 4 on the SA520 as a port to shared resources to the SG-300.

    (my intent is to use vlan1 not tagged vlan tagged 2 and vlan tagged 3 on the uplink of the switch and the SA500.)

    To do this, I have to say the SA520 port 4 of the switch will be in trunking and not access mode.

    You will need to check the membership of vlan 2 and vlan 3 on switch port 4.

    Step 3.  Now add a few IPS to VLAN2 and VLAN3

    Step 4.  Create DHCP scopes if that is what is needed on the SA520

    So now I hope that we have the SA520 with the associated IPS VLAN1, VLAN2 and VLAN3

    We also have the switch port 4 as a network interface

    We are vlan1 reproducing unidentified and vlan2 tag and tag to the SG-300 switch vlan3.

    We do the opposite on the SG-300 switch.

    If you use G10 as the uplink to the SA520 you'll notice of default port 10 must already be in trunk mode.

    Switch ports G10 should be marked for vlan 2 and labelled for vlan3.  It will be, default Gi10 untagged for vlan1.

    Make sure you keep ports switch is correctly set up.

    Best regards, Dave

  • Cisco asa active multiple interfaces on a single switch without configuration of vlan switch.

    I was wondering if there is a work around on cisco asa to have 2 interfaces vlan on a switch. The reason I ask I have a cisco asa 5505 and a dell switch that does not support the configuration of VLANs. I set up 2 interface vlan on a cisco asa and when two interfaces are active my internet drops frequently. I was wondering if there is nothing to configure the asa cisco to make this thing work. Thanks in advance...

    Assuming that Dell switch at least linking several interfaces of the ASA to the Dell should translate all media spanning tree protocols, but a bet covering the tree blocking State to avoid a tree covering loop.

    If the Dell does not support tree covering weight then you would be in very bad shape each broadcast packet would be will loop indefinitely and cause what we call a 'broadcast storm. "

    One way is not good and the other real harm.

  • Configuration of vlan SG 300 - 28 p

    Hello

    I tried to Setup VLAN on a SG300 - 28 p, but they do not work.

    This is my setup:

    I want to Switch1 to have 1-10 ports to access the area demilitarized and 11-24 the LAN.

    Then I wan to add switch2-4 to expand access to the local network.

    Is this possible?

    I tested with cisco 2960 switches by saying just what ports forge have access to

    DMZ and LAN, but small business switches are different...

    I really appreciate the help!

    Hi Francisco, assuming that the 2960 worked and there was no difference in configuration then the problem would be that you have not added the VLAN to the trunk.  On a catalyst you do not configure the VLANS on a trunk, since all VLAN pass them. On SB switches, that you need to configure the VLANS on the trunk, otherwise only the VLANs native / default works.

    -Tom
    Please mark replied messages useful

  • Configuration of VLAN Switch SF302 - 08 p

    I have the following Setup using two switches PoE SF302 - 08 p:

    1st floor

    =========

    SWITCH1 # <------->private network

    <------->public network

    2nd floor

    =========

    Switch #2 <------->private network

    ... public network (visible, but devices can't connect)

    I tried to do the config in the identical to the #1 switch #2 switch, but something still does not work.

    This is probably a configuration issue VLAN, or what?

    Thank you.

    Ken Watkins

    Hi Ken, the interfaces between switches must both vlan of the port.

    example of

    VLAN 1

    VLAN 2

    port 1 connects to port 1 of the second switch

    config t

    interface gi01

    switchport mode trunk

    switchport trunk allowed vlan add 2

    The ports between switches must be vlan unidentified native, all other VLAN Tag. In my example, 1u, 2 t.

    -Tom
    Please mark replied messages useful

  • Configuration of VLAN Cisco SG 300-10

    I just got a 300-10 switch Cisco SG and I am a relative novice working with smart switches, so bear with me. I added a VLAN (VLAN 2) and assigned port 7. So now, there is the default VLAN 1 and VLAN 2. The IPv4 Interface is:

    VLAN 1

    Interface: VLAN 1

    Type of IP address: static

    IP address: 172.26.0.192

    Mask: 255.255.0.0

    Status: valid

    VLAN 2

    Interface: VLAN 2

    Type of IP address: static

    IP address: 172.27.0.1

    Mask: 255.255.0.0

    Status: valid

    The default gateway is 172.26.0.252.

    IPv4 static routes now look like this:

    I changed the mode of the system of layer 3 to layer 2 since I guess I have to make a VIRTUAL LAN see devices on another. I have a mute switch is connected to port 7 (VLAN 2) and a laptop connected to the mute switch with IP 172.27.0.117. On the SG 300-10 switch port 1 is connected to the default gateway (172.26.0.252), and port 2 is connected to a PC with the IP 172.26.0.136. From the Office I can access the internet through the default gateway. As expected, I can't access internet from the laptop (IP 172.27.0.117) I see the desktop because they are on separate VLANs. I want to be able to access the internet and also to be able to see my office (172.26.0.136) of the laptop, so I need the VLAN to be able to access the devices on the other. How would I go to do this? Moreover, all this is done in a test environment because I make sure I get this right before deployment. Thanks for your help on this.

    I have a few questions about the installation:

    (1) what is the default value as the value Gateway for VLAN1 on 2 ports (172.26.0.136) PC?

    (2) is your Internet on Port 1 VLAN 1 (172.26.0.252) gateway, a static route for the 172.27.0.0 pointed out what subnet VLAN 1 (172.26.0.192) as the next hop router?

    (3) is the default gateway for the laptop computer on Port 7 VLAN 2 pointed VLAN 2 (172.27.0.1)?

    If the General Directorate for the PC in the VLAN 1 is the gateway/router Internet router/gateway would require a road static to the interface VLAN 1 IP address for the subnet on the LAN VIRTUAL 2 so that the routing table in the switch can be used. By setting the static route to the Internet this router will fix the problem of connectivity Internet of VLAN 2 as well. Basically the Internet router needs to know how to do and the 172.27.0.0 subnet via the switch. Hope this helps.

  • What configuration of VLAN requires a switch connectivity defined as an access port?

    What configuration of VLAN requires a switch connectivity defined as an access port?

    By external switch tagging

  • SG300 series Switch - #Unknown # procedure or function: free?

    Hi all

    Does anyone know what "##Unknown procedure or function: free" means on a series of SG300 switch? (as below)

    Also, I want to create a model of configuration, change and mass file to deploy it... What is the best way to do it on a switches 300 series? They do not seem to behave like the Cisco IOS products when it comes to change and download config files.

    Switch software version:

    v1.3.0.62 / R750_NIK_1_3_647_260

    CLI v1.0 v1.3.0.62 / R750_NIK_1_3_647_260
    CLI v1.0

    !
    interface gigabitethernet13
    IP-Phone & PC description
    activate the storm control
    Storm-control broadcast level 10
    Storm-control include multicast
    maximum port security by 10 points
    port security mode max-addresses
    port security throw trap 60
    spanning tree portfast
    switchport trunk allowed vlan add 100
    LLDP-med network-strategy to add 1

    Procedure or function ##Unknown: free

    !

    Thanks in advance for any help...

    Matt

    Hi Matt, I wasn't looking to recreate because I think I know the problem, that goes back to my initial suspicion.

    You have many things going on, basically, I think you're too smart for your own good.

    • If you have car insurance, you don't need to manually tag the VLAN, so your config from port to manually set 100t can be breaking stuff
    • You have the policy of lldp attributed to the port assigned by the voice of the auto

    To make this as painless as possible, I would like to switch (back out config is boring and takes too long in my opinion).

    Use this document for the LLDP-MED

    https://supportforums.Cisco.com/docs/doc-27005

    It must be remembered that automatic speech depends on the protocols of discovery as the cdp and lldp. These auto policies don't produce any results or undesirable if already manually set you the parameter. The switch performs a basic QoS for the CoS and DSCP to tag packets, so that is why everything is basically done twice - or more based on this config.

    -Tom
    Please mark replied messages useful

  • DHCP server press PowerConnect 28xx series / address pool by VLAN

    Hello

    I am reading the manual of the PowerConnect 2824.

    I am considering buying this switch, but I have a question related to the functionality of the DHCP server.

    Here my question: I want to have different VLAN and use the feature of DHCP server on each of them. Then can I have different address DHCP pools by VLAN?

    Example:

    1-16 ports VLAN1: IP subnet 192.168.1.0/24

    VLAN 2 ports 17-24: IP subnet 192.168.2.0/24

    The manual is not clear on this.

    Your help is welcome.

    Kind regards

    Tom

    Daniel,

    Thanks for the reply. Another question does this mean that the 28xx series switch DHCP server, recover the IP address (from the range configured) on all the VLANS configured? So if a device on VLAN 2 issued a request DHCP, it will get an IP address from the same pool as for example a device on VLAN 1.

    Kind regards

    Tom

  • Questions about my SG-300-10MP switch Setup

    Hello world

    Thank you very much for your help in advance. I was never in this town before.

    I just got the new SG - 300 switches. My manager has ordered for me. I didn't know how it works so far... not a based IOS. I don't really know how to set it up.

    In any case, I have a switch configured 3750 already in a new site. It has two VLANs, a vlan 11 for PC, and one is for vlan VOIP 320. It has automatic qos works as well. I have installation just a trunk for the new SG - 300 switch.

    Now on the new small switch 300 SG... I have a few questions:

    (1.) I also created two VLAN, it is VLAN11 (for PC), and a 320 VLAN. For this one, I go to the Web-GUI and assign the 320 to the VOICE Vlan. I also changed the CoS at 5 (of 6). Are these ok?

    2.) on port number 9, it's the default trunk, so I add two 11 and 320 to the trunk and leave the other default settings. It's too well ok?

    3.) on a #1 access port, which will be an IP phone, attached with a PC to connect. What I did is to change the mode to Interface Vlan on "GENERAL." Is this fair? I also 'SEE' the box belonging to a VLAN auto voice. And let the Voice VLAN QoS mode such as telephone company Source MAC ADDRESS. I did all these right?

    4.) Finally, for the part of the QoS... Let them default all untouchables - which is the default QoS of Basic... I don't know if it will be fine. I know that the company switch can assign an Auto-QOS command and that he would do all the config itself. Or maybe you mind if you would share your QoS configuration settings?

    I'm more concerned about the parameters in QoS here. Hope you can help.

    Thank you very much.

    Takami Chiro

    Hello

    In the case of the Cisco 7961 (and other phones that support LLDP-MED), you can assign VIRTUAL local network for the phone settings using the LLDP-MED on the switch.

    You have to

    -allow to the vlan VoIP

    -Add MAC YES

    -set the port on vlan automatic voice

    -activate LLDP-MED in the world

    -create a network policy to assign VLAN320

    -assign this policy network on port, the phone is connected to

    Hope this helps,

    Kind regards

    Nico

Maybe you are looking for

  • Cisco IPsec VPN

    Has anyone this configured with the models in the phone and/or imported their own models? Is this even work?

  • NAS 200 - network not found

    I have no problem at all with my NAS 200 until I changed the password and custom folders and configure the passwords for individual usernames.  I tried to reset admin-admin by pressing for 10 seconds and 15 seconds, but it does not work.  I also trie

  • ACS 5.1 - can external users be members of groups inside?

    Currently I use ACS4.1 to authenticate access admin network routers and switches. Users are authenticated against a Microsoft AD domain but belonging to a group is managed by the Association because we are unwilling to deal with bureaucracy AD compan

  • sensitive presentation of background video full screen

    Hi guyssin the old version, you can create a version of office with the video full screen background and other tablet or mobile with a background image. In the sensitive version I don't know how to change the video to an image automatically when it r

  • I am trying to run CC implemented

    but the installation program is unable to initialize I use win7any idea?