Cisco VLAN Question

s0c0s0c0 Member Posts: 76 ■■□□□□□□□□
Okay say you have two 2600 routers and one Catalyst 2850 24 port switch. You want to have the first 8 ports to use 2600A as the default-gateway and the last 8 ports to use 2600B as the default gateway. You have already created the VLANs and added the proper ethernet interfaces. 2600A is directly connected to the switches f0/1 using CAT5 and 2600B is directly connected to the switches f0/17 also using CAT5. How do you configure this? Is this possible to configure?

Comments

  • WebmasterWebmaster Admin Posts: 10,292 Admin
    If you don't need communication between the two VLANs all you'd have to do is configure the proper IP addressing (including the default gateway)on the network devices attached to the switches. If you do need communication between the two VLANs, you need to configure one of the routers to perform interVLAN routing, or connect the two routers and setup routing on both.
  • SVSV Member Posts: 166
    s0c0 wrote:
    You want to have the first 8 ports to use 2600A as the default-gateway and the last 8 ports to use 2600B as the default gateway.

    s0c0.... Please don't take me wrong :) The scenario is bit confusing. What is the purpose of these default gateways?

    Yes, the routers will be able to communicate with the switches as long as the IP addresses assigned to the interfaces that are connected to each other falls in the same network.

    In a very simple situation you have "a" switch which is divided into different VLANs and a switchport assigned as a trunk port connected to a router so that the PCs connected to different VLANs could communicate with each other. Here the VLAN 1 should have an IP address. This address, and the address of the Ethernet port of the router, should be in the same network. The default gateway configured in VLAN 1 should be address of the router’s Ethernet port.
    Life is a journey...
Sign In or Register to comment.