Having two separate networks connect using two Linux routers and ISDN

Having two separate networks connect using two Linux routers and ISDN

Post by M.L. Tielan » Mon, 17 Mar 1997 04:00:00



Well could anyone please tell me how to connect two networks using two
Linux routers.

The situation is as follows:

Both are Windows NT domain, with Windows 95/NT workstations.

1st Network ranging IP adresses from 172.16.1.1 to 172.16.1.50
2nd Network ranging IP adresses from 172.16.1.100 to 172.16.1.150
Subnetmask 255.255.255.0

We both have a DIGI Datafire, and two 3c509's available for the Linux
system.
IP adresses are distributed through DHCP and both networks have a DNS
server running (on NT server).

What we want to do now is have two routers connect to each other when we
want to over ISDN.

So when i say (from a windows 95 WS with IP adress 172.16.1.10) "ping
172.16.1.100"
my router should call the other router (or whatever) and relay my
packets to IP adress 172.16.1.100.

I would be very grateful if anyone could help me with this.

Robert

 
 
 

Having two separate networks connect using two Linux routers and ISDN

Post by dsp » Wed, 19 Mar 1997 04:00:00



> Well could anyone please tell me how to connect two networks using two
> Linux routers.

> The situation is as follows:

> Both are Windows NT domain, with Windows 95/NT workstations.

> 1st Network ranging IP adresses from 172.16.1.1 to 172.16.1.50
> 2nd Network ranging IP adresses from 172.16.1.100 to 172.16.1.150
> Subnetmask 255.255.255.0

> We both have a DIGI Datafire, and two 3c509's available for the Linux
> system.
> IP adresses are distributed through DHCP and both networks have a DNS
> server running (on NT server).

> What we want to do now is have two routers connect to each other when we
> want to over ISDN.

> So when i say (from a windows 95 WS with IP adress 172.16.1.10) "ping
> 172.16.1.100"
> my router should call the other router (or whatever) and relay my
> packets to IP adress 172.16.1.100.

> I would be very grateful if anyone could help me with this.

> Robert

segment your network onto different subnets.
        nt domain #1: 192.168.1.0/24
        nt domain #2: 192.168.3.0/24

linux box #1:
        eth: 192.168.1.1/24
        wan interface: 192.168.2.1/24

        add a static route for the 192.168.3.0/24 network to 192.168.2.2/24

linux box #2:
        eth: 192.168.3.1/24
        wan interface: 192.168.2.2/24

        add a static route for the 192.168.1.0/24 network to 192.168.2.1/24

check out the howto's on setting up a linux box as a terminal server and
then setup the other linux box as a client

 
 
 

Having two separate networks connect using two Linux routers and ISDN

Post by Rodney van den Oev » Thu, 20 Mar 1997 04:00:00



>Well could anyone please tell me how to connect two networks using two
>Linux routers.

>The situation is as follows:

>Both are Windows NT domain, with Windows 95/NT workstations.

>1st Network ranging IP adresses from 172.16.1.1 to 172.16.1.50
>2nd Network ranging IP adresses from 172.16.1.100 to 172.16.1.150
>Subnetmask 255.255.255.0

So you want 172.16.1.1-50 to be a different network from
172.16.100-150? Then you will need so subnet your 172.16.0.0 net even
more, but why bother? Just use 172.16.1.0 and 172.16.2.0 with subnet
mask 255.255.255.0

Quote:>We both have a DIGI Datafire, and two 3c509's available for the Linux
>system.
>IP adresses are distributed through DHCP and both networks have a DNS
>server running (on NT server).

>What we want to do now is have two routers connect to each other when we
>want to over ISDN.

What are the DIGI's? Internal ISDN-cards?

Quote:

>So when i say (from a windows 95 WS with IP adress 172.16.1.10) "ping
>172.16.1.100"
>my router should call the other router (or whatever) and relay my
>packets to IP adress 172.16.1.100.


 
 
 

1. two routers (two wans) connecting to one lan using two nics.

Hello,
Let me try reposting this once more maybe I wasn't too clear in my
previous post.
I have a Linux RH7.3 server running ssh service. I want clients to log
in using ssh from two different Wans.

Wan1: Frame relay router (closed network with another frame relay
router)
Wan2:DSL router allowing clients to login from the internet.

The ip of the frame relay router is 192.168.100.254
The ip of the dsl router is 192.168.10.254

The fr relay is associated with eth0:192.168.100.10 defaultgw
192.168.100.254
The dsl is associated with eth1:192.168.10.10 defaultgw 192.168.10.254

Our GUI network configurator is not working due to bugzilla reports.
However it worked during the initial install and setup of these two
cards. But now we cannot access the tool.
We tried linuxconf but that only allows us one default gw to be
configured. Only one network works at a time.

Is it possible to have two default gateways (one per interface) and
have the box recognize and negotiate them both at the same time?
Which config files can I vi to achieve the desired result of two
gateways without using the gui tool?
If we are only allowed one default gateway per machine, how will the
box know
that the other router exists?
If static routes is the answer, then it is not clear to me how this
will work.
route -net add 192.168.10.0 255.255.255.0 eth1
Remember someone coming over the internet will have a private ip of
192.168.20.1 nat'ed through some pubic ip 68.1.1.10 for example trying
to ssh to
my public ip 68.1.10.20 conecting to my eth1:192.168.10.10.

        |--?------eth1---dsl router--------internet      
server--|                            
        |--defgw--eth0---frame router1--|--frame router2

Any suggestions?

Thanks guys.

2. Syn Attack & ipfwadm

3. How to connect two Linux boxes via Com ports having two wires only

4. !! HELP !! Cant install RH using my PCMCIA CD-ROM!

5. Two separate MAC addresses for two separate NICS?

6. IBM List of Third Party Hardware Products, Jan. update (long)

7. two dsl connections, two routers, dual nics on linux box , want to run two websites

8. about booting Lilo

9. routing between two subnets using separate routers.

10. Networking between two PC with both having two Ethernet port

11. Connecting two networks with two linux boxes.

12. two linux paritions require two separate swaps?!

13. How to connect to two nets with Combinet ISDN bridge/router?