05-23-2013 03:56 AM - edited 03-07-2019 01:30 PM
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?*
05-23-2013 04:08 AM
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.
05-23-2013 04:08 AM
05-23-2013 04:45 AM
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
05-23-2013 05:16 AM
Hello
Do you ip routing enabled?
res
Paul
Please don't forget to rate any posts that have been helpful.
Thanks.
05-23-2013 05:21 AM
Hi Paul,
IP routing is enabled.
Best regards,
Max.
05-23-2013 05:36 AM
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.
05-23-2013 05:40 AM
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
05-23-2013 05:49 AM
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
05-23-2013 05:52 AM
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
05-23-2013 06:09 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide