Network Layout:
Dlink DSR-500 router has 4 LAN Ports
Port 1 – 10.10.77.1 Access VLAN 1 (DHCP 10.10.77.1-254)
Port 2 – 10.10.99.1 Access VLAN 99 (DHCP 10.10.99.1-254)
Port 3 – 10.10.10.1 Trunk VLAN 10, 99, 20 w/ inter vlan routing (DHCP 10.10.10.1-254)
Port 4 – 10.10.20.1 Trunk VLAN 20, 99, 10 w/ inter vlan routing (DHCP 10.10.20.1-254)
Cisco SG300-28 Switch1 - Trunked at port 26 w/ VLAN 10, 99 - SVI 10.10.99.2
Cisco SG300-28 Switch2 - Trunked at port 26 w/ VLAN 20, 99 - SVI 10.10.99.3
Click for larger diagram:
Basically if I trunk the port 3 or 4 of the router I get vlan 1 IP scheme being handed out to every machine on the switch which is 10.10.77.1-254. It shows PVID 1 and trunk 1,20,99
If I put port 4 in general mode instead of trunk mode on the router I get the correct IP scheme of 10.10.20.1-254 handed out and I can ping the MGT VLAN of the switch at 10.10.99.2.
So my question is why cant I do this in trunk mode. Are tags not being carried over the trunk so its defaulting to 1?