Re: Accessing Differents Subnets

From: /dev/scott0 (outsideworld_at_scottbrown.us)
Date: 09/30/04


Date: Wed, 29 Sep 2004 18:48:01 -0700

rondina@gmail.com wrote:

> Hello. My question isn't Linux specific, but I think you can help me. I
> have a Linux box with one NIC. eth0 is configured with the IP
> 10.8.201.2 netmask 255.255.255.0. This box is connected to a router
> whose IP is 10.8.201.1 and netmask is 255.255.255.0.
>
> There is a box with the IP 10.8.201.34 and netmask 255.255.255.224
> connected to another router. This router's IP is 10.8.201.33 and its
> netmask is 255.255.255.224.
>
> How can I access the box 10.8.201.34/27 from 10.8.201.2/24 ?? Is it
> possible?
>
>
>
> Thanks,
> Gustavo
>
I am visual, so let me map this out in ASCII:

                    Network 1

   +---------------+ +---------------+
   |Host A | |Router A |
   |10.8.201.2/24 |-------|10.8.201.1/24 |
   +---------------+ +-------+-------+
                                   | Network 2
   +---------------+ +-------+-------+
   |Host B | |Router B |
   |10.8.201.34/27 +-------|10.8.201.33/27 |
   +---------------+ +---------------+

                    Network 3

You setup the going between subnets on your routers. What type of
routers are you using?

--Scott



Relevant Pages

  • Re: Routing problems
    ... and is why we can't set them to the WAN routers for direct access (the ... Sprint routers only have routes to the main office and the two branches, ... Linux box here, it has two NICs in it, one on the .1 subnet and one on the ... > routers forward packets to the routers in your main office. ...
    (comp.os.linux.networking)
  • Help: Tunneling multicast
    ... I want to tunnel multicast DNS (zeroconf/rendezvous, ... The routers connecting ... these subnets do not route multicast, and I don't control the router. ... But I do have linux boxes in all four subnets. ...
    (comp.os.linux.networking)
  • Re: Slow browsing with cable modem
    ... Linux box. ... > The routers address is one I haven't seen before. ... browsers are _useless_ for diagnosing network ... configuration problems. ...
    (comp.os.linux.networking)
  • Re: Linux v Dedicated NAT routers - secure remote differences
    ... cheap routers and use it. ... I can't with a linux NAT box. ... > My company allows remote laptop computers connected via the internet ... > internet, and this setup works. ...
    (comp.security.firewalls)
  • Re: WANTED: home linux suggestions for router-gateway on a CD
    ... > doing with linux, as defined by the OP statements. ... The small routers are good as far as they go, ... > A linux distribution/workstation can be a total gateway solution. ... the OP wants a router for a home network and suggests ...
    (comp.os.linux.misc)