I searched for a way to configure a PC with multiple IP addresses in Packet Tracer but i found nothing. I read that you can use the command netsh on Windows to create virtual interfaces. I've tried to use this command with a command prompt, but Packet Tracer doesn't implement all the functionalities that it has in Windows.
So i'm stuck. I need a simple PC to have multiple IP addresses with a single physical interface, is there a way to do it in Packet Tracer ?
Edit : The purpose is :
I have a PC named PC-X, and two VLANs :
- VLAN 1 associated with the subnet 10.39.253.0/27.
- VLAN 2 associated with the subnet 10.39.253.64/28.
I want PC-X to be part of both VLAN 1 and 2.
I thought about having two interfaces in PC-X : eth0 and eth1. eth0 would be configured with an IP address of the first subnet, and eth1 with an IP address of the second. The problem is that i can only have one interface per PC in Packet Tracer, so i thought about configuring eth0 to be the physical interface and eth1 as a virtual interface.
In addition, to allow frames of multiple VLANs to cross the port of PC-X, I thought that i should configure the port in mode trunk. But i don't know of PCs in Packet Tracer accept 802.1q frames.