> 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.

Before we eliminated the computer we used as a gateway. We all had ip's
assigned, we can probably go back to using them.
192.168.0.20 <-- was mine (linux)
192.168.0.30 <-- was friends (XP Box)

> 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.

Windows: "route print"
----------------------
C:\DOCUME~1\CRONUS>route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 20 78 02 08 0c ...... Linksys NC100 Fast Ethernet Adapter -
Packet Scheduler Miniport
===========================================================================
===========================================================================
Active Routes: 
Network Destination     Netmask         Gateway         Interface       Metric
0.0.0.0                 0.0.0.0         12.211.27.1     12.211.27.254   20
12.211.27.0             255.255.255.0   12.211.27.254   12.211.27.254   20
12.211.27.254           255.255.255.255 127.0.0.1       127.0.0.1       20
12.255.255.255          255.255.255.255 12.211.27.254   12.211.27.254   20
127.0.0.0               255.0.0.0       127.0.0.1       127.0.0.1       1
224.0.0.0               240.0.0.0       12.211.27.254   12.211.27.254   20
255.255.255.255         255.255.255.255 12.211.27.254   12.211.27.254   1
 
Default Gateway:        12.211.27.1
===========================================================================
Persistent Routes: 
None

> 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).

Linux: "route"
--------------
dragon:/home/jade# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
12.241.208.0    *               255.255.240.0   U     0      0        0 eth0
default         12-241-208-1.cl 0.0.0.0         UG    0      0        0 eth0

> 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.

So, let me make sure I have this clear.
My Current system: Linux dragon 2.4.19-k7 #1 Tue Nov 19 03:01:13 EST 2002 i686 AMD 
Athalon GNU/Linux

On Linux Box:
-------------
1) if I don't already have it installed. Install the package: iproute
2) do from #: ip addr add 192.168.0.20 brd + dev eth0

On Windows XP box:
------------------
1) Do you know how to add multiple IP's to NIC on XP (tell me how on
   Win2k and I can probably figure it out on XP.) <-- never knew about
   this.
2) add: 192.168.0.30 to XP nick

Then just tell the computers to look for IP: <other computers 192.168.0.?? address?


-- 
Michelle Alexia "Jade" Storm
Dragon Impersonating a Human and failing.

Attachment: msg17096/pgp00000.pgp
Description: PGP signature

Reply via email to