02-18-2013 02:04 AM
I have 2 SG300 and 1 SG500 switch.
I am trying to setup inter-VLAN routing and DHCP relay.
They are connected thusly:
switch1[port49]<->[port7]switch2[port48]<->[port49]switch3
On switch1 I have set up VLAN3 with subnet 172.16.3.0/24 and on switch3 I have VLAN2 with subnet 192.168.1.0/24.
I need these VLANs to be able to communicate between each other.
I can ping from APC connected to switch1 to VLAN2 and VLAN3 IPs on switch2, but I cannot ping to those VLANs on switch2 from a PC connected to switch3.
Also, when I connect to managment interface on switch3 I cannot ping VLAN2 and VLAN3 interface IPs on switch2.
Traffic on default VLAN1 is passing through, though.
I tried changing the cable that connects switch 2 and switch3, but it didn't help.
What could be the issue here?
02-18-2013 06:59 AM
Hi Tom,
Could you please provide the output of "switchport interface trunk" and "show cdp nei".
Regards
Najaf
Please rate when applicable or helpful !!!
02-18-2013 08:39 AM
Hi my friends,
I also suffer same problem. I have SF300 two switches.
SW1 Gi4 to SW2 Gi4: (This for redundancy only)
I configure all vlans and ip address to it in SW1, i configure router as dhcp server with different 5 pools. Only Pool which i working is from default vlan1 and other vlans not taking ip address from dhcp server and thier is no ping in between vlan (intervlan routing issue also.
Attached my SW2 configuration.
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2013.02.18 19:31:07 =~=~=~=~=~=~=~=~=~=~=~=
sh r
SW2(config)#$ sh run
% Unrecognized command
SW2(config)#do sh run
config-file-header
SW2
v1.2.7.76 / R750_NIK_1_2_584_002
CLI v1.0
file SSD indicator encrypted
@
ssd-control-start
ssd config
ssd file passphrase control unrestricted
no ssd file integrity control
ssd-control-end cb0a3fdb1f3a1af4e4430033719968c0
!
vlan database
vlan 2-7
exit
voice vlan id 5
voice vlan oui-table add 0001e3 Siemens_AG_phone________
voice vlan oui-table add 00036b Cisco_phone_____________
voice vlan oui-table add 00096e Avaya___________________
voice vlan oui-table add 000fe2 H3C_Aolynk______________
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
voice vlan oui-table add 00d01e Pingtel_phone___________
More:
voice vlan oui-table add 00e075 Polycom/Veritel_phone___
voice vlan oui-table add 00e0bb 3Com_phone______________
ip dhcp relay address 10.1.6.252
ip dhcp relay enable
ip dhcp information option
bonjour interface range vlan 1
hostname SW2
!
interface vlan 1
no ip address dhcp
!
interface vlan 2
name " VLAN_2"
ip address 10.1.2.1 255.255.255.0
ip dhcp relay enable
!
interface vlan 3
name "VLAN_3"
ip address 10.1.3.1 255.255.255.0
ip dhcp relay enable
!
interface vlan 4
name "VLAN_4"
ip address 10.1.4.1 255.255.255.0
ip dhcp relay enable
!
interface vlan 5
name "IP Telephony VLAN"
ip address 10.1.5.1 255.255.255.0
ip dhcp relay enable
!
interface vlan 6
name "Switches VLAN"
ip address 10.1.6.1 255.255.255.0
ip dhcp relay enable
!
interface vlan 7
name "Master VLAN"
ip address 10.1.7.1 255.255.255.0
ip dhcp relay enable
!
interface fastethernet1
switchport mode access
!
interface fastethernet2
switchport mode access
!
interface fastethernet3
switchport mode access
!
interface fastethernet4
switchport mode access
!
interface fastethernet5
switchport mode access
!
interface fastethernet6
switchport mode access
!
interface fastethernet7
switchport mode access
!
interface fastethernet8
switchport mode access
!
interface fastethernet9
switchport mode access
switchport access vlan 2
!
interface fastethernet10
switchport mode access
switchport access vlan 2
!
interface fastethernet11
switchport mode access
switchport access vlan 2
!
interface fastethernet12
switchport mode access
switchport access vlan 2
!
interface fastethernet13
switchport mode access
switchport access vlan 2
!
interface fastethernet14
switchport mode access
switchport access vlan 3
!
interface fastethernet15
switchport mode access
switchport access vlan 3
!
interface fastethernet16
switchport mode access
switchport access vlan 3
!
interface fastethernet17
switchport mode access
switchport access vlan 3
!
interface fastethernet18
switchport mode access
switchport access vlan 4
!
interface fastethernet19
switchport mode access
switchport access vlan 4
!
interface fastethernet20
switchport mode access
switchport access vlan 4
!
interface fastethernet21
switchport mode access
switchport access vlan 4
!
interface fastethernet22
switchport mode access
switchport access vlan 4
!
interface fastethernet23
switchport mode access
switchport access vlan 4
!
interface fastethernet24
switchport mode access
switchport access vlan 4
!
interface fastethernet25
switchport mode access
switchport access vlan 4
!
interface fastethernet26
switchport mode access
switchport access vlan 4
!
interface fastethernet27
switchport mode access
switchport access vlan 4
!
interface fastethernet28
switchport mode access
switchport access vlan 5
!
interface fastethernet29
switchport mode access
switchport access vlan 5
!
interface fastethernet30
switchport mode access
switchport access vlan 5
!
interface fastethernet31
switchport mode access
switchport access vlan 5
!
interface fastethernet32
switchport mode access
switchport access vlan 5
!
interface fastethernet33
switchport mode access
switchport access vlan 5
!
interface fastethernet34
switchport mode access
switchport access vlan 5
!
interface fastethernet35
switchport mode access
switchport access vlan 5
!
interface fastethernet36
switchport mode access
switchport access vlan 5
!
interface fastethernet37
switchport mode access
switchport access vlan 5
!
interface fastethernet38
switchport mode access
switchport access vlan 5
!
interface fastethernet39
switchport mode access
switchport access vlan 5
!
interface fastethernet40
switchport mode access
switchport access vlan 5
!
interface fastethernet41
switchport mode access
switchport access vlan 5
!
interface fastethernet42
switchport mode access
switchport access vlan 5
!
interface fastethernet43
switchport mode access
switchport access vlan 5
!
interface fastethernet44
switchport mode access
switchport access vlan 5
!
interface fastethernet45
switchport mode access
switchport access vlan 5
!
interface fastethernet46
switchport mode access
switchport access vlan 5
!
interface fastethernet47
switchport mode access
switchport access vlan 7
!
interface fastethernet48
switchport mode access
switchport access vlan 6
!
interface gigabitethernet4
switchport trunk allowed vlan add 2-7
Description Connection To SW1
!
SW2(config)#
02-19-2013 11:21 AM
Hello Tom,
Kindly ensure atleast One physical port is part of the VLAN and Active (it must be up on at least one port).
Thanks and regards,
Siva
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