• March 28, 2024, 02:24:25 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Default route not working for Clients plugged into the switch.  (Read 4411 times)

Bobiskey

  • Level 1 Member
  • *
  • Posts: 2

Hi

I have this issue where default routing on a DSG-1250-28XMP doesn't seem to be working for clients plugged in.

Basic config is as follows

VLAN172 - VID 1 - 172.20.0.0 /16
VLAN192 - VID 1000 - 192.168.1.0/24

VLAN172 untagged Port 1 , not a member of VLAN192
VLAN192 Untagged Port 2, no other ports are members.

Port 1 Access Admit all VID 172
Port 2 Access Admit all VID 1000

VLAN172 IpV4 Interface 172.20.5.1
VLAN192 IpV4 Interface 192.168.1.10

Default route 0.0.0.0 0.0.0.0 192.168.1.1

Server on port2. Responds to 192.168.1.1, 8.8.8.8, 8.8.4.4, 10.1.1.1

Issue

Switch can ping 192.168.1.10, 192.168.1.1, 8.8.8.8, 8.8.4.4, 10.1.1.1.
Client can ping 192.168.1.10. Everything else times out.

Default route appears to work on the console. But not for the clients plugged into the switch.  What am I missing?
« Last Edit: March 07, 2022, 06:58:37 AM by Bobiskey »
Logged

Bobiskey

  • Level 1 Member
  • *
  • Posts: 2
Re: Default route not working for Clients plugged into the switch.
« Reply #1 on: March 07, 2022, 07:02:24 AM »

Cutdown config file.

Building configuration...

Current configuration : 10233 bytes

!-------------------------------------------------------------------------------
!              DGS-1250-28XMP Gigabit Ethernet Smart Managed Switch
!                                Configuration
!
!                            Firmware: Build 2.02.030
!           Copyright(C) 2021 D-Link Corporation. All rights reserved.
!-------------------------------------------------------------------------------
!
vlan 172,1000
!
vlan 172
 name VLAN172
!
vlan 1000
 name VLAN192
!
interface ethernet 1/0/1
 flowcontrol on
 switchport mode access
 switchport access vlan 172
 acceptable-frame admit-all
!
interface ethernet 1/0/2
 switchport mode access
 switchport access vlan 1000
 acceptable-frame admit-all
!
interface ethernet 1/0/27
 switchport mode trunk
 switchport trunk allowed vlan 2-999,1001-4094
 no ingress-checking
!
interface ethernet 1/0/28
 switchport mode trunk
 switchport trunk allowed vlan 2-999,1001-4094
 no ingress-checking
!
interface L2vlan 172
 description Local Lan
!
interface L2vlan 1000
 description External Route
!
interface Vlan172
 ip address 172.20.5.1 255.255.0.0
!
interface Vlan1000
 ip address 192.168.1.10 255.255.255.0
!
ip route 0.0.0.0 0.0.0.0 192.168.1.1 primary
!
ip dhcp local-relay vlan 172
!
ip name-server 172.20.0.10
ip name-server 172.20.0.20
!
end
Logged