Welcome to WebmasterWorld Guest from 126.96.36.199
Forum Moderators: open
I believe you need to do an ifconfig command, but how do you interpret the meaning of the results?
And I suppose you should also ping from one machine to the other? But what response time proves the cable is directly connected?
I couldn't ask them to only hook up to the webserver because I needed to ssh into the db server and manage it...
I've been paying $25 a month once and found out it wasn't connected the whole time even though I bugged them like crazy.
If you do a tracert, then it should just show two machines, correct?
Each line gives a serie of IP addresses and via which IP gateway and ethernet interface they are routed. The Iface column tells you which physical interfase is used for the IP address range. Destination default or 0.0.0.0 is where your internet connection is. Most of the time this one is tied to the first available ethernet interface, i.e. eth0. The IP address range of your database server should be on another physical interface, probably eth1.
If the internet and the dbserver are both on eth0, all your database traffic to and from the webserver is routed via the default routers of your ISP, and not via a dedicated switch or cross-over cable.
In your situation the Genmask field probably contains 255.255.0.0, which routes the addresses 192.168.0.0 to 192.168.255.255 over interface eth1. This is safe, because this whole IP range is one of the three blocks defined as private. No single router in the internet will route traffic to this IP range.