ip masquerading/subnets

Craig White craig at tobyhouse.com
Mon Nov 26 23:39:38 UTC 2007


On Mon, 2007-11-26 at 15:43 -0800, bruce wrote:
> Hi mike..
> 
> 
> here's my system:
> 
>  internet
> 
> 
>     dsl box
>        V
>        V
>      dlink router (192.168.1.100)
>          V
>          V
>        switch  ->>>>>>>>>>>>>>+
>          ^                    V
>          ^                    V
>          ^                    V
>         box1           wireless access point (192.168.1.200)
>           (eth0)               |
>                                |(ath0)
>                               box2
>                                |(eth0)
>                                |
>                                             box3 (future) (192.168.2.13)
> 
>     so:
>  router - 192.168.1.100 (gateway)
>  wireless access point - 192.168.1.200
>  box1 (eth0) 192.168.1.3
> 
>  box2
>     ath0 - 102.168.1.5
>     eth0 - 102.168.2.5
> 
>  box3
>     eth0 - 102.168.2.6
> 
> box1 connects to the switch, which is connected to the access point via the
> lan (eth) connection.
> 
> so, everything is on the 192.168.1 subnet, except the eth0 nic of box2, and
> the box3 that'll be added to interface with box2/eth0...
> 
> box2 has ip_forwarding set.
> 
> so my basic questions:
>  -what do i need to do on box2 to allow a user to
>   be able to do a "ping 192.168.2.5"
>  -what do i need to do on box2 to allow a user on
>   box1 to be able to "ping 192.168.2.5" and have a
>   successful reply.
> 
> bear with me !!
----
box 2 and 3 should be on same subnet as box 1 ( 192.168.1.0/24 ) because
wireless access point is not the same thing as a router.

Craig




More information about the fedora-list mailing list