IIRC I needed to splice the cable at one end (either end) swapping between the Brown and Red lines for this to work. That's when I connected two boxes DIRECTLY without Switch without Router, and the IPv4 protocol ran over and between the boxes. <That was more than a decade ago
) If you have no Switch nor Router I think you can do the same.
However, if you give much time over "man route" you should be able to set up a static route between them and exchange packets. Just be sure that one box routes its packets to the other and vice versa. Else you should use a router as a gateway between two IPs.
The inet configuration file for Slackware is found at /etc/rc.d/rc.inet1.conf, but be sure to backup the original first
Quote:
cp /etc/rc.d/rc.inet1.conf /etc/rc.d/rc.inet1.conf~
|
Then right there you can hardcode the Static IP each of the boxes and set the gateway
Quote:
# Config information for eth0:
IPADDR[0]="xxx.xxx.xxx.xxx"
NETMASK[0]="255.255.255.0"
USE_DHCP[0]="no"
DHCP_HOSTNAME[0]="xxx.xxx.xxx.xxx"
|
........ scroll a bit to lower,
Quote:
# Default gateway IP address:
GATEWAY="xxx.xxx.xxx.xxx"
|
Then rerun the protocol
Quote:
~# /etc/rc.d/rc.inet1 restart
|
HOpe that helps.
Good luck.