We have a group of clients connects to a Arista switch with DHCP enabled. And we want to setup an additional private VLAN so that those clients can communicate to each other through pre-defined static IPs. So that those communication packets do not go out of switch.
After experimenting with switch configuration, I can create VLAN1 for DHCP and VLAN2 for static IP traffic. But I can only assign a port(ethernet interface) to either VLAN1 or VLAN2 but not both. For example, Et51 below connected to DHCP server. If Et12 is assigned to VLAN1, it can get an IP from DHCP but no longer talk to Et13 through static IP.
#show vlan
VLAN Name Status Ports
----- -------------------------------- --------- -------------------------------
1 default active Et51
2 StaticIPVLAN. active Et12, Et13
I wonder if my approach is wrong or there are some additional VLAN configuration needed?
Thanks