T2600G-28TS - cannot access Internet within the switch

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
12

T2600G-28TS - cannot access Internet within the switch

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
13 Reply
Re:T2600G-28TS - cannot access Internet within the switch
2020-01-08 18:37:36 - last edited 2020-01-08 18:38:25

@Andone 

Hello,

I've changed configuration - enabled Auto VoIP only - the issue is now that IP phone works OK (VLAN 2), but it seems that I've lost VLAN 1 on the same port - computer connected to IP phone cannot access VLAN 1 network. If I connect computer only - same thing - no access to VLAN 1.

As for Wireshark capture, here is what I got:

Main switch (switch is on trunk port 24):



T2600G-28TS:



So there are ping reply packages on VLAN1 (192.168.1.1 / 192.168.1.30) and VLAN 2 and 3 (192.168.2.1 / 192.168.3.1), but somehow T2600G-28TS ignores VLAN1 replies (other VLANs are working fine). The other issue is that I cannot see ping request packages - but maybe this is a Wireshark configuration issue.

Here is a new configuration (with monitoring settings):
 

!T2600G-28TS
#
vlan 2
 name "voip-vlan"
#
vlan 3
 name "wifi-vlan"
#
vlan 4
 name "management-vlan"
#
vlan 5
 name "guest-vlan"
#
hostname "T2600G-28TS-GF"
contact-info ""
serial_port baud_rate 115200
#
system-time ntp UTC+01:00 194.146.251.100 194.146.251.101 12
system-time dst predefined Europe
#
user name admin privilege admin secret 5 AAAAAA
telnet disable
#
ip dos-prevent
ip dos-prevent type land
ip dos-prevent type scan-synfin
ip dos-prevent type xma-scan
ip dos-prevent type null-scan
ip dos-prevent type port-less-1024
ip dos-prevent type blat
ip dos-prevent type ping-flood
ip dos-prevent type syn-flood
ip dos-prevent type win-nuke
#
ip ssh server
no ip ssh version v1
#
spanning-tree
spanning-tree mode rstp
#
no ip http server
#
lldp
#
ip route 0.0.0.0 0.0.0.0 192.168.3.1
#
loopback-detection
#
auto-voip
#
interface vlan 1
  ip address 192.168.1.249 255.255.255.0
  ipv6 enable
#
interface vlan 2
  ip address 192.168.2.249 255.255.255.0
  no ipv6 enable
#
interface vlan 3
  ip address 192.168.3.249 255.255.255.0
  no ipv6 enable
#
interface vlan 4
  ip address 192.168.4.249 255.255.255.0
  no ipv6 enable
#
interface vlan 5
  ip address 192.168.5.249 255.255.255.0
  no ipv6 enable
#
interface gigabitEthernet 1/0/1
  switchport general allowed vlan 2 tagged
  lldp med-status
  loopback-detection config process-mode port-based recovery-mode auto
  loopback-detection
  auto-voip 2
#
interface gigabitEthernet 1/0/2
  switchport general allowed vlan 2 tagged
  lldp med-status
  loopback-detection config process-mode port-based recovery-mode auto
  loopback-detection
  auto-voip 2
#
interface gigabitEthernet 1/0/3
  switchport general allowed vlan 2 tagged
  lldp med-status
  loopback-detection config process-mode port-based recovery-mode auto
  loopback-detection
  auto-voip 2
#
interface gigabitEthernet 1/0/4
  switchport general allowed vlan 2 tagged
  lldp med-status
  loopback-detection config process-mode port-based recovery-mode auto
  loopback-detection
  auto-voip 2
#
interface gigabitEthernet 1/0/5
  switchport general allowed vlan 2 tagged
  lldp med-status
  loopback-detection config process-mode port-based recovery-mode auto
  loopback-detection
  auto-voip 2
#
interface gigabitEthernet 1/0/6
  switchport general allowed vlan 2 tagged
  lldp med-status
  loopback-detection config process-mode port-based recovery-mode auto
  loopback-detection
  auto-voip 2
#
interface gigabitEthernet 1/0/7
  switchport general allowed vlan 2 tagged
  lldp med-status
  loopback-detection config process-mode port-based recovery-mode auto
  loopback-detection
  auto-voip 2
#
interface gigabitEthernet 1/0/8
  switchport general allowed vlan 2 tagged
  lldp med-status
  loopback-detection config process-mode port-based recovery-mode auto
  loopback-detection
  auto-voip 2
#
interface gigabitEthernet 1/0/9
  switchport general allowed vlan 2 tagged
  lldp med-status
  loopback-detection config process-mode port-based recovery-mode auto
  loopback-detection
  auto-voip 2
#
interface gigabitEthernet 1/0/10
  switchport general allowed vlan 2 tagged
  lldp med-status
  loopback-detection config process-mode port-based recovery-mode auto
  loopback-detection
  auto-voip 2
#
interface gigabitEthernet 1/0/11
  switchport general allowed vlan 2 tagged
  lldp med-status
  loopback-detection config process-mode port-based recovery-mode auto
  loopback-detection
  auto-voip 2
#
interface gigabitEthernet 1/0/12
  switchport general allowed vlan 2 tagged
  lldp med-status
  loopback-detection config process-mode port-based recovery-mode auto
  loopback-detection
  auto-voip 2
#
interface gigabitEthernet 1/0/13
  switchport general allowed vlan 2 tagged
  lldp med-status
  loopback-detection config process-mode port-based recovery-mode auto
  loopback-detection
  auto-voip 2
#
interface gigabitEthernet 1/0/14
  switchport general allowed vlan 2 tagged
  lldp med-status
  loopback-detection config process-mode port-based recovery-mode auto
  loopback-detection
  auto-voip 2
#
interface gigabitEthernet 1/0/15
  switchport general allowed vlan 2 tagged
  lldp med-status
  loopback-detection config process-mode port-based recovery-mode auto
  loopback-detection
  auto-voip 2
#
interface gigabitEthernet 1/0/16
  switchport general allowed vlan 2 tagged
  lldp med-status
  loopback-detection config process-mode port-based recovery-mode auto
  loopback-detection
  auto-voip 2
#
interface gigabitEthernet 1/0/17
  switchport general allowed vlan 2 tagged
  lldp med-status
  loopback-detection config process-mode port-based recovery-mode auto
  loopback-detection
  auto-voip 2
#
interface gigabitEthernet 1/0/18
  switchport general allowed vlan 2 tagged
  lldp med-status
  loopback-detection config process-mode port-based recovery-mode auto
  loopback-detection
  auto-voip 2
#
interface gigabitEthernet 1/0/19
  switchport general allowed vlan 2 tagged
  lldp med-status
  loopback-detection config process-mode port-based recovery-mode auto
  loopback-detection
  auto-voip 2
#
interface gigabitEthernet 1/0/20
  switchport general allowed vlan 2 tagged
  lldp med-status
  loopback-detection config process-mode port-based recovery-mode auto
  loopback-detection
  auto-voip 2
#
interface gigabitEthernet 1/0/21
  switchport general allowed vlan 5 untagged
  switchport pvid 5
  no switchport general allowed vlan 1
  loopback-detection config process-mode port-based recovery-mode auto
  loopback-detection
#
interface gigabitEthernet 1/0/22
  switchport general allowed vlan 5 untagged
  switchport pvid 5
  no switchport general allowed vlan 1
  loopback-detection config process-mode port-based recovery-mode auto
  loopback-detection
#
interface gigabitEthernet 1/0/23
  switchport general allowed vlan 1-5 tagged
  switchport acceptable frame tagged
  spanning-tree
#
interface gigabitEthernet 1/0/24
  switchport general allowed vlan 1-5 tagged
  switchport acceptable frame tagged
  spanning-tree
#
interface gigabitEthernet 1/0/25
  shutdown
#
interface gigabitEthernet 1/0/26
  shutdown
#
interface gigabitEthernet 1/0/27
  shutdown
#
interface gigabitEthernet 1/0/28
  shutdown
#
monitor session 1 destination interface gigabitEthernet 1/0/19
monitor session 1 source interface gigabitEthernet 1/0/24 both
monitor session 1 source cpu 1 both
end


Any ideas?

Thank you,
Best regards,

  0  
  0  
#12
Options
Re:T2600G-28TS - cannot access Internet within the switch
2020-01-09 09:07:29

@Burczymucha 

 

Try to add 

ip route 192.168.3.0 255.255.255.0 192.168.3.1

Switch doesn't automatically route traffic to connected networks, like routers do, so you have one-way route right know. If you capture traffic, I guess, you will see packets on 192.168.3.1, but reply packet will not pass switch.

  0  
  0  
#13
Options
Re:T2600G-28TS - cannot access Internet within the switch
2020-01-09 11:47:28

Got it working, on trunk port I have:
 

interface gigabitEthernet 1/0/24
  switchport general allowed vlan 1-5 tagged
  switchport acceptable frame tagged
  spanning-tree
#


The VLAN1 / PVID1 wasn't tagged, so switch dropped all packets from it. After changing it to:

 

 

interface gigabitEthernet 1/0/24
  switchport general allowed vlan 1-5 tagged
  spanning-tree
#

 

everything started to work.

Thank you!

  0  
  0  
#14
Options
Related Articles