cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1396
Views
9
Helpful
10
Replies

InterVLAN routing on switch 3750 X

Hi,

my company pay a switch 3750 X. WS-C3750X-24T-E. It uses IP services basically but I failed to configure InterVLAN routing.

Can somebody tells me why interVLAN routing doesn't work on my switch?*

10 Replies 10

Leo Laohoo
Hall of Fame
Hall of Fame
Can somebody tells me why interVLAN routing doesn't work on my switch?*

Nobody can because we do not know what is the config of your switch. 

Thanks for the link. Here my config but InterVLAN still does not work.

hostname SW_OUG

vtp mode transparent

vlan 2

name SERVERS

exit

vlan 3

name USERS

exit

vlan 4

name GUESTS

exit

vlan 5

name ILO

exit

int vlan 2

ip add 10.100.0.251 255.255.255.0

no shut

exit

int vlan 3

ip add 10.100.2.1 255.255.255.0

no shut

exit

int vlan 4

ip add 172.16.0.1 255.255.255.0

no shut

exit

int vlan 5

ip add 10.100.1.1 255.255.255.0

no shut

exit

interface range gigabitEthernet 1/0/1-10

description "PORTS VLAN SERVERS"

switchport mode access

switchport access vlan 2

no shut

exit

interface range gigabitEthernet 1/0/11-15

description "PORTS VLAN ILO"

switchport mode access

switchport access vlan 5

no shut

exit

interface range gigabitEthernet 1/0/16-18

description "PORTS VLAN USERS"

switchport mode access

switchport access vlan 3

no shut

exit

interface range gigabitEthernet 1/0/19-20

description "PORTS VLAN INVITES"

switchport mode access

switchport access vlan 4

no shut

exit

interface range gigabitEthernet 1/0/21

description "LIAISON VERS LE SWITCH HP PROCURVE"

switchport trunk encapsulation dot1q

switchport mode trunk

no shut

exit

interface range gigabitEthernet 1/0/22

description "LIAISON VERS LE RIVERBED"

switchport trunk encapsulation dot1q

switchport mode trunk

no shut

exit

interface range gigabitEthernet 1/0/23

description "LIAISON VERS LE ROUTEUR CISCO 1921"

no switchport

ip add 10.100.19.2 255.255.255.252

no shut

exit

interface range gigabitEthernet 1/0/24

description "LIAISON VERS LE FIREWALL FORTINET"

no switchport

ip add 10.100.17.2 255.255.255.252

no shut

exit

ip routing

ip dhcp excluded-address 10.100.2.1 10.100.2.5

ip dhcp excluded-address 172.16.0.1 172.16.0.5

ip dhcp pool USERS

   network 10.100.2.0 255.255.255.0

   default-router 10.100.2.1

   dns-server 10.100.10.10 8.8.8.8

exit

ip dhcp pool GUESTS

   network 172.16.0.0 255.255.255.0

   default-router 172.16.0.1

   dns-server 8.8.8.8 4.2.2.2

exit

Hello

Do you ip routing enabled?

res

Paul

Please don't forget to rate any posts that have been helpful.

Thanks.


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Hi Paul,

IP routing is enabled.

Best regards,

Max.

Hello

Yes i now can see that now - must be having a bad day, thats the second time i have misread a post today?

When you say inter-vlan routing isnt working - Are you saying that no communication whatsoever is occuring between your access layer switches vlans?

What is the 3750 sdm template?

Are all the access switches L2?

Can you post a topology if applicable

3750

sh sdm prefer

on 3750/access siwtches:

sh run

Sh int trunk

sh vlan brief

res

Paul

Please don't forget to rate any posts that have been helpful.

Thanks.


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Bonjour Maxime,

It would  help if you could described in more details what the issue is. Do workstations get dhcp addresses and default gateway information? Can you ping from workstations to the directly connected vlan interfaces on the switch. Can you ping from workstations to other vlan interfaces on the switch?

Regards

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

Hi Harold,

Thanks for help.

Workstations get all dhcp adresses and default gateway information and each workstation can ping directly interfaces but cannot ping other vlan interfaces.

Paul here is the Topology.

Best regards,

Max

Sandeep Choudhary
VIP Alumni
VIP Alumni

Hi,

see the example:If you are configuring on layer 3 switch:

ip routing
!
interface FastEthernet0/1
switchport access vlan 15
switchport mode access
!
interface FastEthernet0/3
switchport access vlan 20
switchport mode access

interface Vlan15
ip address 192.168.15.1 255.255.255.0
!
interface Vlan20
ip address 192.168.20.1 255.255.255.0

And  on hosts just assign IP addresses and default gateways (to the  corresponding interface VLANs) -> hosts in different VLANs can  communicate.

Regards

Please rate if it helps

Jan Rolny
Level 3
Level 3

Hello Max,

from configuration and diagram you provided it seems that on VLAN 2 and VLAN5 is not any device connected. Between VLAN 3 and 4 you should be able to ping if there is something connected and correct IP and Gateway is provided by DHCP.

What I want to say. VLAN interface will be down if no one port in specific VLAN is UP. Please provide us

sh ip interface brief

and

sh ip route

Regards,

Jan

Review Cisco Networking for a $25 gift card