Hello Fady and Philip. First of all, I want to thank your time to both of you.
Here is an update:
Regarding your suggestions:
- Keep the switch as your DHCP. (Done)
- Configure the MX and switch connection to be trunk. (Done)
- Have the VLANs also configured on the MX. (Yes, done)
- Use the default gateway to the MX. (It Works if the default Gateway is the MX, but my goal is to keep the C4507 as the default gateway)
- Then apply the group policy. (Done)
- Tracked users by IP address (Done)
RESULT: The group policy applied per Vlan is still not working :(.
Please see the diagram picture.
The Switch C4507 has an ip default route pointing to MX Vlan1 IP address (10.2.0.19):
ip route 0.0.0.0 0.0.0.0 10.2.0.19.
If I change the ip route to point to MX Vlan118 IP address (10.2.118.19):
ip route 0.0.0.0 0.0.0.0 10.2.118.19.
Then, the policy group applied for the Vlan 118 Works fine.
As a temporal test, I'm doing a route-map for Vlans 1, 113, 118, so the next hop will be the MX Vlan ip address. The first result is that the group policy applied per Vlan is working.
Vlan 1: 10.2.0.0/24 -> Next hope 10.2.0.19
Vlan 1: 10.2.113.0/24 -> Next hope 10.2.113.19
Vlan 1: 10.2.118.0/24 -> Next hope 10.2.118.19
Weird? I know, but I can't find another way to make it work if I want to keep the C4507 as the default Gateway.
Any suggestion will be very appreciated.
Very best regards.
David Lima.