public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: [gentoo-user] Routing problem ?
@ 2008-01-11 17:14 Richard Torres
  2008-01-11 17:54 ` [gentoo-user] " reader
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Torres @ 2008-01-11 17:14 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2419 bytes --]

I don't understand why 2 routers. Maybe I'm missing something. Unless you have 2 networks  that need to be separate only one is needed. If you have a wireless router, use it as a wireless access point and not a router. Which means turn off DHCP on the wireless router and don't configure or use the WAN connection. 
Depending on the capabilities of the router you can connect a LAN port on Router2 to your ADSL (Router1) router and assign an IP address that's in the same network as Router1. 


----- Original Message ----
From: Holla <holla.net@gmail.com>
To: gentoo-user@lists.gentoo.org
Sent: Friday, January 11, 2008 8:18:37 AM
Subject: Re: [gentoo-user] Routing problem ?


On Jan 11, 2008 10:22 AM, Mike Mazur <mmazur@gmail.com> wrote:
> Hi,
>
>
> On Jan 11, 2008 12:14 PM, kashani <kashani-list@badapple.net> wrote:
> > Holla wrote:
> > >                 192.168.1.1
> > > +-+           +------------+
> > > | |-----------|  Router1   |=========ASDL conn
> > > | |           +------------+
> > > | |
> > > | |
> > > | |
> > > | |    192.168.1.23  +-------+  192.168.2.43
> > > | |------------------|  PC1  |----))).............
> > > +-+                  +-------+                   .
> > >                                                  .
> > > Passive Hub                                      .
> > >                               192.168.2.1        .
> > >                              +------------+      .
> > >                              | Router2    |--)))..
> > >                              +------------+
> > >                                 |
> > >                                 |
> > >                              +------+
> > >                              | PC2  |
> > >                              +------+
> > >                              192.168.2.24
> >
> > Yep it's a routing problem.
> >
> > Router1 needs a route to point back to PC2 so when traffic bound
 for it
> > comes it, it'll know what to do with it.
> > route add -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.1.23
>
> Also if you want PC2 to access the net, you would need PC1 to be
 smart
> enough to route/NAT packets from PC2 to Router 1.

Thanks, but I only have a very limited understanding of this matter.
Does this mean I had to add netfilter to the kernel and configure
iptables ?

sathish





> Mike
>
> --
> gentoo-user@lists.gentoo.org mailing list
>
>
-- 
gentoo-user@lists.gentoo.org mailing list





[-- Attachment #2: Type: text/html, Size: 4864 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-user]  Re: Routing problem ?
  2008-01-11 16:20   ` Holla
@ 2008-01-11 17:50     ` reader
  0 siblings, 0 replies; 3+ messages in thread
From: reader @ 2008-01-11 17:50 UTC (permalink / raw
  To: gentoo-user

Holla <holla.net@gmail.com> writes:

> On Jan 11, 2008 8:09 PM, YoYo Siska <yoyo@gl.ksp.sk> wrote:
>
>> one other thing, if nat doesn't work, some wireless aps (i'm thinking
>> about the 192.168.2.1) need to have correctly set up default gateway
>> etc... they sometimes try to be to smart and I had sometimes problems
>> when the router was connected as a wireless client to them...
>
> Can you give some clues about what you mean by correctly setup gw ?

Hey guys... it would help if you trim your posts so there isn't so
much in each message.

By correct gateway  I think in this case it would be the inward facing
address of pc1 (192.168.2.43) so on router2 you would set the gw to
that address. 
And on pc2 the gw would be  192.168.2.1.  That is unless router2 is
just a WAP (wireless access point). 
 
But I'm not sure I understand all of this.  It might be good to
include the make of the routers (even model number might matter).

Excuse me if this info is already in these monster size messages
somewhere but:
If you redo the diagram please include this information:
make and model of router2
What OS is running on pc1 and pc2

Annotate in one line what gateways are set at the various points.

The adsl router make and model may not matter too much.


-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-user]  Re: Routing problem ?
  2008-01-11 17:14 [gentoo-user] Routing problem ? Richard Torres
@ 2008-01-11 17:54 ` reader
  0 siblings, 0 replies; 3+ messages in thread
From: reader @ 2008-01-11 17:54 UTC (permalink / raw
  To: gentoo-user

Richard Torres <rtorres827@yahoo.com> writes:

> I don't understand why 2 routers. Maybe I'm missing something. Unless
> you have 2 networks that need to be separate only one is needed. If
> you have a wireless router, use it as a wireless access point and not
> a router. Which means turn off DHCP on the wireless router and don't
> configure or use the WAN connection.  Depending on the capabilities of
> the router you can connect a LAN port on Router2 to your ADSL
> (Router1) router and assign an IP address that's in the same network
> as Router1.

I agree, but Richard, (and this is just a request from a confused
participant) please take a moment to pare down your reply and then
insert your message where it makes some sense, don't just blob it on
top and further confuse things.

-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-01-11 17:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-11 17:14 [gentoo-user] Routing problem ? Richard Torres
2008-01-11 17:54 ` [gentoo-user] " reader
  -- strict thread matches above, loose matches on Subject: below --
2008-01-11  1:36 [gentoo-user] " Holla
2008-01-11 14:39 ` YoYo Siska
2008-01-11 16:20   ` Holla
2008-01-11 17:50     ` [gentoo-user] " reader

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox