On Mon, 4 Sep 2000, Ronneil Camara wrote:

> > -----Original Message-----
> > From: San Goku [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, September 04, 2000 11:45 AM
> > To: PLUG List
> > Subject: [plug] routing problem
> > 
> > 
> > hi all,
> > 
> > i need to route a set of ip addresses from the dialup pool to 
> > the rest of
> > the world. the host machine is running redhat 6.0 with IP forwarding
> > enabled. this is the scenario:
> > 
> > [dialup pool:192.168.2.0/24]--+
> >                               |
> >                               +---[dialup machine]
> >                               |
> > [eth0:192.168.1.0/24]---------+
> > 
> > (sample addresses only)
> > 
> > the default router of the 192.168.1.0 network is a cisco 
> > 2511. how do i
> > route packets from the dialup pool address to the internet and back?
> > 
> 
> I would like to help you but am a bit confused with your drawing. Can you
> please be specific with the redhat, cisco and its interfaces. Nakakalito
> kasi yung drawing mo. Lalo na sa dialup machine. Siguro this is what you
> want:
> 
>  [dialup pool:192.168.2.0/24]--+
>                                |
>                                +----PSTN----[dialup machine]
>                                |
>  [eth0:192.168.1.0/24]---------+
> 
> Another thing is, nasaan sa drawing si Linux?
> 
> Please fix the drawing.

I'll re-draw it again:

[satellite mmp]--[cisco]--{eth0}--[linux dialup host]--[modems]--[PSTN]
     |
     \/
  [internet]

the [linux dialup host] has an ip address belonging to the old ip block
our isp gave us (e.g. 192.168.1.0). the dialup connections belong to a new
ip block (e.g. 192.168.2.0).

[satellite mmp] = 192.168.1.254/24
[cisco] = 192.168.1.253/24
[linux dialup host] = 192.168.1.252/24
[modem pool] = 192.168.2.0/24

the cisco router is configured:

router ospf 1234
    redistribute static metric 1 subnets
    network 192.168.1.0 0.0.0.0 area 0
    network 192.168.2.0 0.0.0.0 area 0
!
ip route 0.0.0.0 0.0.0.0 192.168.1.254
ip route 192.168.2.0 255.255.255.0 192.168.1.252

(note: all ip addresses used are for sample purposes only)


_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Reply via email to