LAN to LAN connection over modems

LAN to LAN connection over modems

Post by Dominic Baine » Fri, 14 Nov 1997 04:00:00



I have the follwing problem that I am trying to develop through to a
solution:

A LAN (6 machines) with a 56K modem on a Linux Server. LAN only runs
TCP/IP and all IP's are internet ready.

A Linux Server with 56K modem connected to an internet backbone via a
PCI network card.

The telephone line between the two is/can be dedicated to keep the LAN
connected.

I want to be able to connect the LAN to the internet using this set-up.
A possible addition of firewalls at both servers is later (at the same
time ?) envisaged using TIS.

Can anyone suggest a possible method that already exists or if there are
any guidance notes avaialble for this ?

I'm in the odd position of being able to both control the dial-in and
the dial-out and there doesn't appear to be a HOW-TO that covers all
this.

Regards,

Dominic Baines

 
 
 

LAN to LAN connection over modems

Post by David Manda » Sat, 15 Nov 1997 04:00:00


First problem is 56k modems can ONLY talk to special isp modems at the far
end. One end of a 56k modem link MUST be digitial, so no luck there.
You could use four modems and 2 phone lines for a 67.2k connection (assuming
you can achive a 33.6 connection on both. Read the file in the source tree
called drivers/net/README.eql and read the ppp howto.

Once you do that set up the computer with the modems as a gateway for the rest
of the computers in the lan and configure the computer on the internet as an
ip forwarder or ip translation depending upon what you need.

Good Luck.



>I have the follwing problem that I am trying to develop through to a
>solution:

>A LAN (6 machines) with a 56K modem on a Linux Server. LAN only runs
>TCP/IP and all IP's are internet ready.

>A Linux Server with 56K modem connected to an internet backbone via a
>PCI network card.

>The telephone line between the two is/can be dedicated to keep the LAN
>connected.

>I want to be able to connect the LAN to the internet using this set-up.
>A possible addition of firewalls at both servers is later (at the same
>time ?) envisaged using TIS.

>Can anyone suggest a possible method that already exists or if there are
>any guidance notes avaialble for this ?

>I'm in the odd position of being able to both control the dial-in and
>the dial-out and there doesn't appear to be a HOW-TO that covers all
>this.

>Regards,

>Dominic Baines


 
 
 

LAN to LAN connection over modems

Post by Erick Thomps » Sat, 15 Nov 1997 04:00:00


On Fri, 14 Nov 1997 07:43:35 +0000, Dominic Baines



>via modems quite reasonably whay is there a need to have a digital modem
>at one end.

The problem is that a 56k modem needs to have one end terminated by a
digital trunk. This is not a factor of the modem but the underlying
phone network. I think that this is the case because downstream
signals are never analog until they reach the last hop (the line from
the ISP to the modem), but if you connecting two modems via standard
phone lines, then the signal is analog more then once (once on the
upstream to the switch, and again from the switch to the modem) If
it's a true private network (PBX or similar) then perhaps it would
work, but I don't have a lot of knowledge of private phone networks.
But then, if its a private network, why not just run a frame relay
link or similar?

Quote:>The dial-in part of the connection and the IP forwarder set-up has me a
>little
>foxed as it is difficult to locate guidance notes on it. Any PPP HOWTO
>mentions
>dial-in but the section is a little light on information for this type
>of set-up.

The IP setup is fairly simple. You need to have IP forwarding turned
on in the kernal. Then, your LAN has the IP for the PPP link as the
default gateway, and on the other system, the PPP link to the net is
set as the default gateway. For incoming packets, make a route with
the subnet for the LAN with the gateway as the PPP link back to the
LAN. I think that should work.

Good luck
Erick

 
 
 

LAN to LAN connection over modems

Post by Dominic Baine » Sun, 16 Nov 1997 04:00:00


Thanks Erick,


> >via modems quite reasonably whay is there a need to have a digital modem
> >at one end.

> The problem is that a 56k modem needs to have one end terminated by a
> digital trunk. This is not a factor of the modem but the underlying
> phone network. I think that this is the case because downstream
> signals are never analog until they reach the last hop (the line from
> the ISP to the modem), but if you connecting two modems via standard
> phone lines, then the signal is analog more then once (once on the
> upstream to the switch, and again from the switch to the modem) If
> it's a true private network (PBX or similar) then perhaps it would
> work, but I don't have a lot of knowledge of private phone networks.
> But then, if its a private network, why not just run a frame relay
> link or similar?

Frame relay isn't possible as I don't have the control or budget for that, I
am trying to get this working mainly due the fact that I have a 'spare'
internal telephone line that can be dedicated to the task and I heard that
this may be possible. A friend tried a very simple NT (sorry) RAS dial-in
set-up with NT at either end as a proof of concept and the connection seemed
OK. I would like to get both ends running Linux as I hate NT being a Unix
person and I don't want to spend 1,000 on NT licences ! I also have firewall
and IP Masq running well under linux and it would seem a shame to have to use
something else instead. The connection through-put at 56K should be more than
enough as the small LAN only supports 4 users with usual email & web traffic
and an overnight data transfer from the main LAN from the servers on it. Up
to now I had been using an internet connection and ftp/telnet through to the
servers on the main LAN and the costs are getting large !

Quote:> >The dial-in part of the connection and the IP forwarder set-up has me a
> >little foxed as it is difficult to locate guidance notes on it.
> The IP setup is fairly simple. You need to have IP forwarding turned
> on in the kernal.

I take it that this is in BOTH kernels ?

Quote:> Then, your LAN has the IP for the PPP link as the
> default gateway, and on the other system, the PPP link to the net is
> set as the default gateway. For incoming packets, make a route with
> the subnet for the LAN with the gateway as the PPP link back to the
> LAN. I think that should work.

O.K. let me understand:

LAN (Home)
   |
[NIC(x.y.110.50) ---- PPP (x.y.110.51)]  LAN LINUX SERVER
                                     |
                                 modem
                                     +
                                     + Private telephone line
                                     +
                                 modem
                                     |
                                 [PPP (x.y.110.236) ----NIC (x.y.110.54)]
REMOTE LINUX SERVER
                                                                         |
                                                               NETWORK
(contains 4 servers I control, I do not control the router out of subnet)
                                                                         |
                                                              NETWORK gateway
(x,y,110,99)
                                                                         |
                                                              INTERNET

The LAN (HOME) default gateway will be (x.x.117.51), at the REMOTE LINUX
SERVER I need to set the default gateway to (x,y,110,99) for the normal
network but I need to also set-up a route to (x,y,110,236). And the REMOTE
LINUX SERVER will have to forward incoming packets back through
(x,y,110,236).

Can you advise what the routing table on each machine should look like ? (And
how to create it ?) Or is there a good text on this sort of thing ?

Thanks,

Dominic Baines

 
 
 

LAN to LAN connection over modems

Post by Jim Wildm » Tue, 18 Nov 1997 04:00:00


I missed the first part of this, but it sounds similar to what we are
going through.

1) Without knowing the model, most 56K modems are only 56K in the
download direction, 33.6 in the upload direction.  So 2 of them on a
public line gets you 33.6 both ways, max. (The 56K side will bump down
to match the 33.6 side).   Assuming you have good enough lines to get
33.6.

2) We've gone the dedicated 56K line route ourselves.  (ISDN is not
available).

3) Made the mistake of ordering 4 wire lines instead of 2 wire.  That
means we can't use modems.  If you order leased lines, you can get
them 2 wire, then use USR Couriers, etal in leased line mode.  Can't
do that with 4 wire lines.   So we have the DSU/CSU's now.

4) Currently have a dumb terminal at the remote site, plugged into the
DTE interface on the DSU.  This end is plugged into a spare port on
our Linux box.  Can login (really fast) on the terminal.

5) Next step is to get PPP running and route the traffice we need.  I
have til Friday.....

Jim Wildman

Jim Wildman
IS Manager
Madison County Hospital

 
 
 

1. IP-Forwarding PPP-LAN but not LAN-LAN

Hi!

We have a Linux-Server (SuSE6.2) with 2 network-cards (different
TCP/IP-networks on each card).
We cannot allow any IP-Forwarding between these two cards.

Now - the problem is that we also want to use a modem for a PPP-connection
to one of these TCP/IP-networks.
At the moment this is only working when we set IP_FORWARDING to "yes"; but
now the Linux-Server may also
forward IP-traffic between both network cards.

I'm looking for a simple solution to solve this problem.
I haven't yet worked with firewalls, but in my opinion I will need to use
one.

Does anyone have any experiences / hints to help me in this problem?

Thanks in advance

Martin Pauly

2. crc error system halted (LS-120 drive)

3. project: samba over a lan-phoneline-lan connection.

4. installing redhat linux 4.1 from hard-disk?

5. Port forwarding, NAT and LAN-to-LAN connections

6. Setting local home directory and login shell

7. Same room LAN to LAN connection

8. DHCP Server Leasing Addresses to MAC Addresses of 00-00-00-00-00-00

9. LAN to LAN ppp connection trouble

10. Short distance LAN-LAN connection

11. How to configure Linux for a LAN of NT machines + 3COM 3C891 LAN Modem

12. Modem to modem connection for 2 PCs to set up a virtual LAN.

13. Configuring Modem in RH7.2 broke LAN connection