I think I remember reading somewhere that you could have multiple VLANs assigned to a single interface by way of a pseudo interface. Googling with that vocabulary doesn't return proper results though, so I hope I'm just using the wrong words. I have a Cisco WS-C4507R running 12.2(18)EW3 (I know it's old).
I thought the syntax was something like that shown below, but the '.1' isn't making a new interface.
MySwitch#sh run int g4/47 Current configuration : 149 bytes ! interface GigabitEthernet4/47 description "The Server's address on VLAN 7" switchport access vlan 7 switchport mode access no cdp enable end MySwitch#sh run int g4/47.1 Current configuration : 151 bytes ! interface GigabitEthernet4/47 description "The Server's address on VLAN 12" switchport access vlan 12 switchport mode access no cdp enable end
Am I misremembering this feature? Is it a thing, but not for my old AF IOS? It appears I can assign two wildly different IPs on a single physical NIC on the client machine, but I would also need to have its switch uplink on the two appropriate VLANs. Am I resigned to making the interface a trunking int and have the two different IPs on the client NIC?
EDIT: Having a client machine with two IPs on a single NIC, that wouldn't create a broadcast loop/storm unless the NIC had bridging or routing configured on it, correct?