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