You are not logged in.
I have 2 machines connecting to a router via WIRELESS for internet access.
Now I need to connect these 2 machines to EACH OTHER so one can act as a database-server.
IP-based access is sufficient.
This should be a FAST connection so it needs to be WIRED.
Do I need to specify a gateway? Or a bridge?
Or is it sufficient to just connect them via switch:
machine1:
ifconfig eth0 192.168.44.1 netmask 255.255.255.0 up
machine2:
ifconfig eth0 192.168.44.2 netmask 255.255.255.0 up
and that's it?
Last edited by getagrip (2009-12-21 11:38:12)
Offline
That should work fine. Just make sure you choose a different subnet to the wired connection. If you use a cross over cable you can forgo the switch.
A gateway is only required to reach machines outside your subnet. Not needed in this case as both machines are on the same network subnet.
A bridge is just another name for a switch.
Offline
I forgot about subnetting. Thanks a lot!
Offline