cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
208
Views
0
Helpful
2
Replies

routing b/w layer 2 and layer 3

susim
Level 3
Level 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

2 Replies 2

devils_advocate
Level 7
Level 7

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

Amit Singh
Cisco Employee
Cisco Employee

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.

Review Cisco Networking products for a $25 gift card