how to "join" LAN with plip link?



Hello. I have successfully connected two computers through plip0 (don't
know if current speed of 3kB/s is reasonable). The 'server' has a parallel
port and is connected to LAN, the 'client' have a parallel port and is
not connected to LAN, I guess this is typical. Now how can I make
this 'client' join the LAN?

For client to access LAN I need to set up nat on the 'server', this is
rather straigthforward. However for the client to 'join' the LAN it needs
to have a unique IP address on the lan and is accessible by other hosts on
the LAN through this IP address.

One method is used by Windows 2000: when a 'client' 'dial' to the 'server'
(no dialing actually happened, Windows 2000 calls it a dialup connection
anyway), this client is given an IP address that the 'server' requested
for the client from the DHCP server. Let's say server IP address is
192.168.1.12 and client IP address is 192.168.1.13. To the client, there
is only one parallelport dialup connection, local side is 192.168.1.13,
server side is 192.168.1.12, no ARP or other ethernet technology is
involved. To other hosts on the LAN, 192.168.1.13 is a real
host existing in the LAN, it has its mac address which is the same MAC
address of 192.168.1.12. Other hosts on the LAN think 'server' has two IP
addresses. So the server automatically forward any traffic to
192.168.1.13 to its client. The whole process is transparent, we don't
know how internally Windows 2000 did the job.

Can this method be used on Linux through alternative configuration? I mean
can we configure a Linux host to act almost the same way as described
above?

Maybe for Linux there is an alternative method: 0) we configure 'server'
to run NAT, 1) 'server' request two IP addresses, 192.168.1.12 for its own
use and 192.168.1.13 is set as the out-going interface of NAT; 2) we set
plip link of server to be 10.0.0.1, plip link of client to be 10.0.0.2; 3)
we set NAT default host (sometimes called DMZ) to be 10.0.0.2. The result
is similar as Windows 2000: if someone access 192.168.1.13 from LAN,
traffic is forwarded to 10.0.0.2 which is the 'client'.

I can also think of the 3rd method: set up VPN server on the 'server',
client dial in to server after plip link is created, then the 'server' can
grant a LAN ip address to client as VPN usually do. I guess this solution
is too complicated.

So what would you suggest / recommend? I know this issue is perhaps not
worth solving because we do have NIC everywhere, I am purely interested to
find out a solution.
.



Relevant Pages

  • Re: .Net Scalability problem
    ... LoadRunner will peak out a server with a few virtual users. ... To get an idea of load, ... Fire off the test client and watch the number of ... > So I think that the MTC generate concurrent connection and per ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Connection lost at same time every hour (sometimes)
    ... After making the two following alterations on the server the problem seems ... After analyze your ipconfig on SBS and client, ... Then, other connection is good, ...
    (microsoft.public.windows.server.sbs)
  • Re: server disconnection - very often
    ... Reason of permanent popups is VMware server aplication on clients. ... Run CEICW to configure the network of SBS: ... Two network adapters - manual router connection to broadband ... Uninstall VMware on client. ...
    (microsoft.public.windows.server.sbs)
  • Re: Lan setup 2 nic
    ... The external nic only has TCP/IP enabled. ... Ipconfig of the server is looking good, but the client is still missing the ... > connection so we have a 2 nic with router setup now. ...
    (microsoft.public.windows.server.sbs)
  • Re: Regular disconnections from remote web workplace
    ... I can connect to office server and all office clients from home at all times ... be physically working right up until the connection is lost. ... If I enter http://companyip from a client I receive the login screen for the ... Click Services tab and select Hide All Microsoft Services and Disable ...
    (microsoft.public.windows.server.sbs)