Re: link 2 linux boxes through rj45 c.o. cable
- From: Douglas Mayne <doug@xxxxxxxxxxxxxxxxxx>
- Date: Fri, 21 Jul 2006 08:02:49 -0600
On Fri, 21 Jul 2006 04:59:20 -0700, heavytull wrote:
<snip>
heavytull wrote:
I would like to link two linux boxes through their ethernet cards with
a cross over cable.
/etc/rc.d/rc.inet1.conf on both pc's have been configured to get the
ethernet interface linked with the ethernet card working in DHCP mode.
You are trying to create a two workstation network. That restates the
ps: on both boxes the running linux is slackware 10.2
ok men, I might have badly told everything!
the context:
there are two computers, one is equipped with an ethernet card and
other stuff that actually is not useful now, so forget about wifi.
the other computer has also an ethernet card.
I would like link these boxes through by means of a cross over cable
(rj45) so that I can make some files transfers.
how should I proceed?
obvious, but stop and think for a second. How would workstations on that
isolated network get an IP address? You would have to setup a dhcp
server. It takes more than making an entry in rc.inet1.conf. Okay, forget
about dhcp for now- here is another quicker method. You can setup each
card manually.
Perhaps, you should run a killall on each workstation to stop the client,
if it is running.
On each box:
# killall dhcpcd
Setup
On box 1:
ifconfig ethx 192.168.4.1
On box 2:
ifconfig ethx 192.168.4.2
ping -c3 192.168.4.1
On box 1:
ping -c3 192.168.4.2
I am assuming 192.168.4.0 is an unused subnet on you overall network.
Once that is working, you can worry about other settings to get the boxes
communicating beyond this "private" line.
BTW, I use a similar arrangement to connect using 1000Mb ethernet quite
often. Right now, I have a few 1000Mb ethernet interface cards, but
too few 1000Mb switches. A crossover cable is a quick, cheap
alternative.
--
Douglas Mayne
.
- Follow-Ups:
- Re: link 2 linux boxes through rj45 c.o. cable
- From: heavytull
- Re: link 2 linux boxes through rj45 c.o. cable
- From: heavytull
- Re: link 2 linux boxes through rj45 c.o. cable
- From: Jean-David Beyer
- Re: link 2 linux boxes through rj45 c.o. cable
- References:
- link 2 linux boxes through rj45 c.o. cable
- From: heavytull
- Re: link 2 linux boxes through rj45 c.o. cable
- From: heavytull
- link 2 linux boxes through rj45 c.o. cable
- Prev by Date: Re: RPM conundrum
- Next by Date: Re: Where did my memory go? 'ps' not showing me.
- Previous by thread: Re: link 2 linux boxes through rj45 c.o. cable
- Next by thread: Re: link 2 linux boxes through rj45 c.o. cable
- Index(es):
Relevant Pages
|