Unsolved
This post is more than 5 years old
4 Posts
0
1553
VLAN rounting - Windows dhcp server
Please if someone can help me.
A brief explanation of my current structure:
Sophos Firewall DG: 192.168.1.1
DC1/DNS/DHCP: 192.168.1.220
HP SW 2930 with 3 VLAN's vlan10, vlan,20 vlan30
For all the computer clients the default gateway is the firewall 192.168.1.1
Last week I bought 2 DELL Switch N4032 and I want to use it as a core switch, I want these to be the default gateway of the users, and the dhcp server remains the same windows server.
Thank you very much.
Anonymous
5 Practitioner
5 Practitioner
•
274.2K Posts
0
August 27th, 2018 08:00
You could use a static route to direct traffic to 192.168.1.1.
#ip route 0.0.0.0 0.0.0.0 192.168.1.1
or
#ip route default 192.168.1.1
The user guide has a section on DHCP relay, it includes example configuration and is a good place to start.
Page 1229: https://dell.to/2BcYoPp
Fiber.Lan
4 Posts
0
August 28th, 2018 18:00
Thank you for quick response.
But if each vlans has a different subnet and the firewall has one virtual interface to each vlan
should I create different static route on the core switch
for example:
#ip route 192.168.1.0 255.255.255.0 192.168.1.1
#ip route 192.168.2.0 255.255.255.0 192.168.2.1
#ip route 192.168.3.0 255.255.255.0 192.168.3.1
thank you
Anonymous
5 Practitioner
5 Practitioner
•
274.2K Posts
0
August 29th, 2018 05:00
The static route is used when traffic is destined for an IP the switch does not know the route for. This will most commonly be seen destinations outside of your network. Because you have one default gateway, you just need to one static route.
#ip route 0.0.0.0 0.0.0.0 192.168.1.1
The upstream device also needs to have routes that direct returning traffic back to the switch.
If you wanted to leave the switch layer 2 and have the upstream device do the VLAN routing, then there is no need to do a static route on the switch. Instead you would need to Trunk the VLANs to the upstream device.
Fiber.Lan
4 Posts
0
August 29th, 2018 17:00
Thank you so much!