Re: I want to link 2 lans at home
From: patrick (erewhon_at_charter.net)
Date: 05/24/04
- Next message: Douglas Mayne: "Re: I want to link 2 lans at home"
- Previous message: Wolf: "Re: email server on my box"
- In reply to: James Knott: "Re: I want to link 2 lans at home"
- Next in thread: Panama Red: "Re: I want to link 2 lans at home"
- Reply: Panama Red: "Re: I want to link 2 lans at home"
- Reply: Paul Black: "Re: I want to link 2 lans at home"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 23 May 2004 23:11:10 -0500
James Knott wrote:
> Ralf Herrmann wrote:
>
>
>>>If you're using static configureation, you can do that. Use a subnet
>>>mask of 255.255.254.0, instead of 255.255.255.0.
>>
>>This is a good idea, if the two subnets shall really be joined into one
>>subnet. But since the net's IP ranges are 192.168.1.X and 192.168.2.X the
>>netmask should be 255.255.252.0 if i'm right.
>>
>
>
> Those firewall/router boxes generally use a sub net mask of 255.255.255.0,
> though some can be configured differently. This provides a range of 256
> addresses (including network and broadcast). To get a range of 512, you
> have to change the least significant bit of the sub net mask. This means
> the octet goes from 255 to 254. Using 252 means you've changed two bits,
> not one.
>
>
To use a mask of /23, the two networks would have to be 192.168.0/24 and
192.168.1/24. So that for the original poster to add the two networks
192.168.1/24 and 192.168.2/24, there must be two bits to include four
networks.
Anyway, if the two linksys' were just routers, just changing the subnet
mask for the pc's will not do the trick. Routers are not bridges, so
each router just needs a route to the other, learned via rip are just
statically configured.
However, this is more complicated because the linksys' are more than
just plain old layer 3 routers. They are firewalls that do pat, so
somehow you must 'expose' the private networks behind them. If you only
want one machine to be reached for a particular service, wins for
example, you can forward the appropriate ports to the server. If you
want every machine to be able to see everything on the other network,
then you will have to create a tunnel. Depending on your model of
linksys, they might have this capability. If not, this can be done with
your linux machines. You can go for a VPN, which would probably be
overkill in the case, or the simplier GRE tunnel. On linux, I have used
freeswan as a point to point VPN with some limited success and I have
not setup a GRE using linux.
You would probably be better off getting rid of one of the routers and
puttin everything on a /22 subnet as discussed previously in the thread.
Also, do yourself a favor and go to DHCP.
- Next message: Douglas Mayne: "Re: I want to link 2 lans at home"
- Previous message: Wolf: "Re: email server on my box"
- In reply to: James Knott: "Re: I want to link 2 lans at home"
- Next in thread: Panama Red: "Re: I want to link 2 lans at home"
- Reply: Panama Red: "Re: I want to link 2 lans at home"
- Reply: Paul Black: "Re: I want to link 2 lans at home"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|