I'm trying to connect two VoIP phones to a laptop using the internal ethernet adapter and a usb-to-ethernet adapter. My configurations are as follows:
Laptop
eth0 - 121.1.2.1/24
Gateway - 121.1.2.4
eth1 - 123.1.2.1/24
Gateway - 123.1.2.4
VoIP Phone #1
IP Address - 121.1.2.4/24
Gateway - 121.1.2.1
VoIP Phone #2
IP Address - 123.1.2.4/24
Gateway - 123.1.2.1
Also, my firewall and SELinux are both disabled.
How do I connect these two phones to the laptop to establish network connectivity?
Edit #1: I can ping each phone successfully now that I'm using crossover cables, but cannot make a call from one phone to the other.
Edit #2: Not sure what caused it, but now I can only ping one phone and not the other. If I disable the interface for the phone I can ping, then suddenly I'm able to ping the other one. However, I cannot get both connections up and running at the same time. The only things I can think of that I've changed are use of crossover cables and enabling of ip-forwarding from the sysctl.conf file.
Edit #3: I decided to use a different subnet for the other phone in order to avoid collisions that I believe I was experiencing and now everything works properly.