Solved

ccna question -- 2 vlans , 1 switch , 1 router. how can both vlans ping each other and the router?

Posted on 2006-06-27
3
326 Views
Last Modified: 2013-11-29
I have a cisco 2950 catalyst switch with 24 ports.
10 of these ports belong to vlan 2 (10.0.0.0 / 255.255.255.0)
10 of these ports belong to vlan 3 (10.0.1.0 / 255.255.255.0)

the cat switch is connected to a 1721 router through a fastethernet interface.

the router has two subinterfaces. 10.0.0.1 / 24 and 10.0.1.1 / 24
what else do I need to do so that all clients can reach each other and the router?
is there a way to define a default gateway for both vlans on the switch?
0
Comment
Question by:eggster34
3 Comments
 
LVL 2

Expert Comment

by:abarneslouortho
ID: 16993294
0
 
LVL 12

Accepted Solution

by:
Scotty_cisco earned 500 total points
ID: 16993318
interface FastEthernet0/0
 no ip address
 no ip redirects
 no ip unreachables
 no ip proxy-arp
 speed 100
 full-duplex
!
interface FastEthernet0/0.1
 no cdp enable
!
interface FastEthernet0/0.110
 encapsulation dot1Q 110
 ip address xxx.xx.xx.xx 255.255.255.x
 ip helper-address xx.xx.xx.xx (if your running dhcp on a different segment)
 no ip redirects
 no ip unreachables
 no ip proxy-arp
 no snmp trap link-status
 no cdp enable
!
interface FastEthernet0/0.111
 encapsulation dot1Q 111
 ip address XX.XX.XX.X  XX.XX.XX.0
 no ip redirects
 no ip unreachables
 no ip proxy-arp
 no snmp trap link-status
 no cdp enable

The interface fastethernet 0/0.xxx is the VLAN as well is the encap dot1q xxx these must match the vlan in the switch.

Thanks
scott
0
 
LVL 9

Expert Comment

by:jabiii
ID: 16995630
default gateway on the clients of the sub of the router for their corrisponding subnet.
trunk link between the switch and router.
and your good.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now