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:
eth0 - 22.214.171.124/24 Gateway - 126.96.36.199 eth1 - 188.8.131.52/24 Gateway - 184.108.40.206
VoIP Phone #1
IP Address - 220.127.116.11/24 Gateway - 18.104.22.168
VoIP Phone #2
IP Address - 22.214.171.124/24 Gateway - 126.96.36.199
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.