On Wed, Dec 04, 2002 at 06:48:58PM -0800, Michelle Storm wrote:
> I want to be able to transfer a LOT of data from my linux box to a
> friends WinXP box. I have a cross-over cable. I need to know what I have
> to change on my computer (if anything) so that they can see each other.
> Even if I just ftp to an IP assigned on his box.
> 
> What's the easiest way?
> 
> We are on a network with a cable modem connected to a switch, and then
> the computers are all connected to the switch. The problem is that each
> computer is on a different IP (and I was told different subnets), so
> that when I try to ftp the files to his computer it goes OUT through the
> modem to find his computer, instead of just going straight to the switch
> and then to his computer.

Use RFC1918 addresses; they are intended for use in private networks.
So, if no-one connected to the switch is using 192.168.20.0/24 (it's
way too huge, but oh well), you can use addresses from that network.

Win2k can assign multiple IPs to a NIC, so I assume XP can do that
too.  For sake of argument, let's choose 192.168.20.10.

Your linux box can do multiple addresses too, though it's not as
obvious.  For older kernels you need IP Aliasing compiled in or loaded
as a module.  2.4 kernels can do this out of the box.  The iproute2
command "ip" (debian pkg iproute) makes this really easy:

  ip addr add 192.168.20.11 brd + dev eth0

This adds the address 192.168.20.11 to eth0 (which I am assuming
already has an address).

At this point the two boxes should be able to ping each other using
the RFC1918 addresses, unless there's something funky going on in the
switch.

HTH,

-- 
Nathan Norman - Incanus Networking mailto:[EMAIL PROTECTED]
  prepBut nI vrbLike adjHungarian! qWhat's artThe adjBig nProblem?
          -- alec flett @netscape

Attachment: msg17081/pgp00000.pgp
Description: PGP signature

Reply via email to