Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

routing b/w layer 2 and layer 3

in vlan 3  i have some  pc's configured static ip s , i want to access from   vlan 3 to vlan 2 and vice versa

Please help

interface Vlan3

!

interface Vlan2

description Data-VLAN

ip address 192.168.0.1 255.255.255.0

!

Sorry  for being such  a great  dumb  newbie

Thanks

  • LAN Switching and Routing
2 REPLIES

routing b/w layer 2 and layer 3

Hi

In order to get traffic from one vlan to another, your device needs to be capable of routing.

First enable routing:

#conf t

#ip routing

Then give Vlan 3 an IP address:

#conf t

#interface vlan 3

#ip address 192.168.1.1 255.255.255.0

Give your clients a default gateway of 192.168.1.1

Thanks

Cisco Employee

routing b/w layer 2 and layer 3

Which switch is this? You need to configure an IP on interface vlan which will be the gateway for Vlan 3 hosts and then enable IP routing for intervlan routing. Bydefault IP routing is enabled on most switches.

If its not a multi-layer 3 switch, you would need an external L3 capable device for this to work.

73
Views
0
Helpful
2
Replies