Haiku Re: [buug] gateway
johnd
john at jjdev.com
Thu Oct 23 13:55:47 PDT 2003
On Thu, Oct 23, 2003 at 01:41:42PM -0700, Jon McClintock wrote:
> On Thu, Oct 23, 2003 at 01:29:09PM -0700, johnd wrote:
> > it takes it...
> >
> >
> > root at ldev:/home/john# route
> > Kernel IP routing table
> > Destination Gateway Genmask Flags Metric Ref Use Iface
> > localnet * 255.255.254.0 U 0 0 0 eth0
> > loopback * 255.0.0.0 U 0 0 0 lo
> > default 192.168.164.63 0.0.0.0 UG 0 0 0 eth0
> > default 192.168.164.251 0.0.0.0 UG 0 0 0 eth0
> > default 192.168.164.251 0.0.0.0 UG 1 0 0 eth0
>
> Ok. So 192.168.164.63 and 192.168.164.251 are two seperate routers,
> right? And one connects to the Internet, and the other connects to an
> internal LAN, correct?
>
> What you want to do is have the default route point to the
> Internet-connected gateway. Then add a second route, through the other
> gateway, with the LAN's network as the destination.
what I want to do would depend
in my case I'll leave the default route to be where it is (to another lan)
and add a static route to the one place I need to go on the web.
The box doesn't need general internet access, it just needs to go to one place
for now and in the future it will need to go to more indivdual places.
More information about the buug
mailing list