R
R
ralexen2014-12-18 15:50:34
network hardware
ralexen, 2014-12-18 15:50:34

How to configure routing between vlan on new D-Link DGS-1510 switches?

It is necessary to correctly configure routing between all vlan 1,2,3,4 on the new D-Link DGS-1510 switches. What sequence of commands is required for this? There is no explanatory description for these switches. For older versions of D-Link switches (say DGS-3400), there is a description, but the CLI interface is different. The D-Link DGS-1510 CLI is very similar to the Cisco, but there are still many differences. The commands recommended by Cisco for setting up routing between vlans are not suitable. For D-Link DGS-1510, the 2nd option from the question is more suitable Difference between routing through int vlan and no switchport? However, when executing the command (where 192.168.0.122 is the address of the switch itself in vlan 1 )

(config)# ip route 192.168.0.0 255.255.255.0 192.168.0.122

Switch responds
ERROR: The nexthop address is invalid
Show ip route command output
Gateway of last resort is 192.168.0.114 to network 0.0.0.0

S*   0.0.0.0/0 [1/1] via 192.168.0.114, vlan1
C    192.168.0.0/24 is directly connected, vlan1
C    192.168.10.0/24 is directly connected, vlan2
C    192.168.100.0/24 is directly connected, vlan3

Total Entries: 4

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
ralexen, 2015-10-30
@ralexen

The Russian-speaking support service d-link was very helpful with this issue. It turned out that everything is already set. That is, when you set the switch IP address in the vlans you need, routing between vlans is enabled by default.
Team
did not pass, because it had to "wrap" traffic into the subnet on its own interface.
The problem was when testing routing between vlans: on computers, pings were discarded by the Kaspersky Anti-Virus firewall from another subnet. After allowing any packets in the firewall, the ping command between vlans worked. Of course, you need to take into account that for computers, the default gateway should be the ip address of the switch, which has ip addresses in the vlans you need, or you need to register routes.

I
Ilya Evseev, 2014-12-19
@IlyaEvseev

1) DES/DGS-1xxx is layer2.
They are not intended for ip-routing between vlans.
TCP / IP support on them exists only for management, monitoring and a little for ACLs.
Even if the cunning Chinese have added the ability to make several ip-interfaces and route between them, it is better not to use it without the most extreme need.
2) Different pieces of iron for Dlink are made by different offices, so they may not have anything in common.
For example, DGS-3100 is hell, DGS-3120 is a masterpiece. Or the so-called. revisions of DES-3200.
3) We have already written about forum.dlink.ru.
This is the main place to ask questions about their products.
Unlike the forums of almost all other vendors, there are knowledgeable employees who really help.

V
Valentin, 2014-12-18
@vvpoloskin

This firmware is still crooked. Download the old one. Dive in here .
In general, here are some notes for you from the experience of using longs:
1) do not use them beyond L2.
2) look for info on them on their forum
3) if you still use them, register on the forum and ask questions.
4) if you will actively use various functionality, be prepared to update the firmware once a month.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question