Subject: Re: Routing
To: Andrew Gillham <gillham@vaultron.com>
From: Paul Goyette <paul@whooppee.com>
List: port-i386
Date: 09/10/2001 20:49:12
Hmmm. If the netmask is set right in the ifconfig.xxx then that network
route should be there automatically. But that's why I asked for the
netstat output!
On Mon, 10 Sep 2001, Andrew Gillham wrote:
> On Mon, Sep 10, 2001 at 07:44:31PM -0700, Paul Goyette wrote:
> > 1. Make sure you have a default route set in the client.
> >
> > 2. You'll need to turn on NAT if you want the client to reach the
> > outside world. Otherwise, you will not get any further than the
> > 192.168.1.x network.
>
> You also need to make sure that the "gateway computer" has a static
> route to the 192.168.2.x network.
>
> route add -net 192.168.2.0 192.168.1.23
>
> -Andrew
>
> >
> > On Tue, 11 Sep 2001, dkwok wrote:
> >
> > > Sorry guys. The network diagram is like this:
> > >
> > > The purpose is to route 192.168.2.16 to the internet
> > >
> > > Network client 192.168.2.16
> > > |
> > > |
> > > routing server (see the routing table previously posted)
> > > wi0 IP 192.168.2.1
> > > rtk0 IP 192.168.1.23
> > > |
> > > |
> > > gateway computer
> > > (192.168.1.1) Internal IP
> > > (203.42.129.27)Public IP
> > > |
> > > |
> > > |
> > > INTERNET
> > >
> > > David Kwok
> > >
> >
> > ----------------------------------------------------------------------
> > | Paul Goyette | PGP DSS Key fingerprint: | E-mail addresses: |
> > | Network Engineer | BCD7 5301 9513 58A6 0DBC | paul@whooppee.com |
> > | & World Cruiser | 91EB ADB1 A280 3B79 9221 | pgoyette@juniper.net |
> > ----------------------------------------------------------------------
> >
> >
>
----------------------------------------------------------------------
| Paul Goyette | PGP DSS Key fingerprint: | E-mail addresses: |
| Network Engineer | BCD7 5301 9513 58A6 0DBC | paul@whooppee.com |
| & World Cruiser | 91EB ADB1 A280 3B79 9221 | pgoyette@juniper.net |
----------------------------------------------------------------------