Options

Need help!!!

Desperate_GirlDesperate_Girl Registered Users Posts: 3 ■□□□□□□□□□
Hello guys.I'm new here and newborn in cisco but got kind of project which i have to complete even so it's still hard for me.I hope can get some help here.

Having 1 router with 3 interfaces (Fe2 for WAN,Fe1 and Fe3 will be used for vlans,don't need router on stick),2 switches.Switch1:total 8 ports Fe0-Fe7;port fe0 and fe1 belong to vlan1,ports fe2 and fe3 belong to vlan2;port fe4 used for trunk with switch2,port fe5 connect to router on fe1.
Switch2:8 ports fe0-fe7,port fe1 belong to vlan 1,ports fe0,fe2 and fe3 belong to vlan2;port fe7 used to trunk with switch1,on the port6 there is web server with 2 NIC(so i guess each one can belong to differnt vlan?)

The hosts from both vlans should access web server,also need redundancy and fault tolerance.Address of network is 192.168.2.0/27

Please help,very confused how to start configuration from trunks or creating vlans,when to assign default gateway???icon_cry.gif

Comments

  • Options
    SteveO86SteveO86 Member Posts: 1,423
    I would check out Cisco's website, they have ample config examples available with explanations so you can also get the gist of it.

    I would start with the VLANs and work your way up.
    My Networking blog
    Latest blog post: Let's review EIGRP Named Mode
    Currently Studying: CCNP: Wireless - IUWMS
  • Options
    greenerekgreenerek Member Posts: 99 ■■□□□□□□□□
    Hello guys.I'm new here and newborn in cisco but got kind of project which i have to complete even so it's still hard for me.I hope can get some help here.

    Having 1 router with 3 interfaces (Fe2 for WAN,Fe1 and Fe3 will be used for vlans,don't need router on stick),2 switches.Switch1:total 8 ports Fe0-Fe7;port fe0 and fe1 belong to vlan1,ports fe2 and fe3 belong to vlan2;port fe4 used for trunk with switch2,port fe5 connect to router on fe1.
    Switch2:8 ports fe0-fe7,port fe1 belong to vlan 1,ports fe0,fe2 and fe3 belong to vlan2;port fe7 used to trunk with switch1,on the port6 there is web server with 2 NIC(so i guess each one can belong to differnt vlan?)

    The hosts from both vlans should access web server,also need redundancy and fault tolerance.Address of network is 192.168.2.0/27

    Please help,very confused how to start configuration from trunks or creating vlans,when to assign default gateway???icon_cry.gif

    You asked for full configuration....
    well, try this....
    Understanding VLAN Trunk Protocol (VTP) - Cisco Systems
    and
    Configuring InterVLAN Routing and ISL/802.1Q Trunking on a Catalyst 2900XL/3500XL/2950 Switch Using an External Router - Cisco Systems
    Per aspera ad astra-Seneka


  • Options
    Desperate_GirlDesperate_Girl Registered Users Posts: 3 ■□□□□□□□□□
    so i created vlans on both switches and assigned ports to vlans,then configured trunk between switches,next should i create first trunks between switches and router's interfaces or first assign default gateway for vlans?
    SWITCH 1:
    Fe0 – Fe1 –> VLAN 2 (Red)
    Fe2 – Fe3 –> VLAN 4 (Blue)
    Fe4 –> Trunk Port

    SWITCH 2:
    Fe0, Fe2, Fe3, Fe5 –> VLAN 4 (Blue)
    Fe1, Fe6 –> VLAN 2 (Red)
    Fe7 –> Trunk Port

    Switch 1 Configuration:
    Create VLANs 2 and 4 in the switch database
    Switch1# configure terminal
    Switch1(config)# vlan 2
    Switch1(config-vlan)# name Red
    Switch1(config-vlan)# end

    Switch1(config)# vlan 4
    Switch1(config-vlan)# name Blue
    Switch1(config-vlan)# end

    Assign Ports Fe0 and Fe1 in VLAN 2
    Switch1(config)# interface fastethernet0
    Switch1(config-if)# switchport mode access
    Switch1(config-if)# switchport access vlan 2
    Switch1(config-if)# end
    Switch1(config)# interface fastethernet1
    Switch1(config-if)# switchport mode access
    Switch1(config-if)# switchport access vlan 2
    Switch1(config-if)# end

    Assign Ports Fe2 and Fe03 in VLAN 4
    Switch1(config)# interface fastethernet2
    Switch1(config-if)# switchport mode access
    Switch1(config-if)# switchport access vlan 4
    Switch1(config-if)# end
    Switch1(config)# interface fastethernet3
    Switch1(config-if)# switchport mode access
    Switch1(config-if)# switchport access vlan 4
    Switch1(config-if)# end

    Create Trunk Port Fe4
    Switch1(config)# interface fastethernet4
    Switch1(config-if)# switchport mode trunk
    Switch1(config-if)# switchport trunk encapsulation dot1q
    Switch1(config-if)#
    switchport trunk allowed vlan 2,4

    Switch 2 Configuration:
    Create VLANs 2 and 4 in the switch database
    Switch2# configure terminal
    Switch2(config)# vlan 2
    Switch2(config-vlan)# name Red
    Switch2(config-vlan)# end

    Switch2(config)# vlan 4
    Switch2(config-vlan)# name Blue
    Switch2(config-vlan)# end

    Assign Ports Fe1 and Fe6 in VLAN 2
    Switch2(config)# interface fastethernet1
    Switch2(config-if)# switchport mode access
    Switch2(config-if)# switchport access vlan 2
    Switch2(config-if)# end
    Switch2(config)# interface fastethernet6
    Switch2(config-if)# switchport mode access
    Switch2(config-if)# switchport access vlan 2
    Switch2(config-if)# end

    Assign Ports Fe0, Fe2, Fe3 and Fe5 in VLAN 4
    Switch2(config)# interface fastethernet0
    Switch2(config-if)# switchport mode access
    Switch2(config-if)# switchport access vlan 4
    Switch2(config-if)# end
    Switch2(config)# interface fastethernet2
    Switch2(config-if)# switchport mode access
    Switch2(config-if)# switchport access vlan 4
    Switch2(config-if)# end

    Switch2(config)# interface fastethernet3
    Switch2(config-if)# switchport mode access
    Switch2(config-if)# switchport access vlan 4
    Switch2(config-if)# end

    Switch2(config)# interface fastethernet5
    Switch2(config-if)# switchport mode access
    Switch2(config-if)# switchport access vlan 4
    Switch2(config-if)# end

    Create Trunk Port Fe7
    Switch2(config)# interface fastethernet7
    Switch2(config-if)# switchport mode trunk
    Switch2(config-if)# switchport trunk encapsulation dot1q


  • Options
    Desperate_GirlDesperate_Girl Registered Users Posts: 3 ■□□□□□□□□□
    please any comments if configuration above correct?
  • Options
    SteveO86SteveO86 Member Posts: 1,423
    Your preference really it all needs to be configured anyway.

    also when configuring multiple interfaces with the same configuration I would use the interface range commands. It's easier.
    My Networking blog
    Latest blog post: Let's review EIGRP Named Mode
    Currently Studying: CCNP: Wireless - IUWMS
  • Options
    greenerekgreenerek Member Posts: 99 ■■□□□□□□□□
    don't forget about native vlan, obviously you can use default vlan 1 however it's better to use different vlan as a native.
    Per aspera ad astra-Seneka


  • Options
    Xishan anwarXishan anwar Member Posts: 27 ■□□□□□□□□□
    on what simulator have you done this?
    if it is packet tracer send the file to zee_naz@rediff.com
    I'll try to help you.
Sign In or Register to comment.