[CLUE-Tech] gateway: networking question
jason at matchingmoms.com
jason at matchingmoms.com
Sun Feb 25 09:14:19 MST 2001
The server is running Linux, the client Windows98. The topology is:
Linux ------------ hub ------------- Windows98.
There's no external connection (yet).
Everyone seems to agree that no gateway is necessary. Yet, my route command
shows that the gateway is "broken", and I believe that is causing some of my
network activity to timeout (such as a call to sendmail). Can I delete the
gateway altogether, and if so, how?
Thanks,
Jason
----- Original Message -----
From: Brandon N <bneill at yahoo.com>
To: <clue-tech at clue.denver.co.us>
Sent: Thursday, February 22, 2001 8:46 PM
Subject: Re: [CLUE-Tech] gateway: networking question
> This varies per distribution, and to be honest I only know how to do it
> manually. ( I write my own init scripts for this stuff, not much help
> to anyone else.
> First, what is your network topology?
>
> machine1 ------- Linux box ------ external connection (DSL/modem)
>
> If that is it, then you will need to enable IP forwarding on the Linux
> box.
> If it's just machine1 ------ linux box
> you don't need a gateway (properly called default router)
>
> Are both machines running Linux?
>
> Brando
>
> --- jason at matchingmoms.com wrote:
> > I'm told that my gateway is invalid and that, because I've got only
> > my Linux server and one other computer connected to a hub and haven't
> > a router, that I can set my server to be the gateway. Is this true?
> > If so, how do I set my server as my gateway?
> >
> > I see I have an already-existing file:
> >
> > root ~>cat /etc/gateways
> > # /etc/gateways:
> > #
> > #<net | host> NAME1 gateway NAME2 metric VALUE <passive | active |
> > external>
> >
> > friejas ~>route
> > Kernel IP routing table
> > Destination Gateway Genmask Flags Metric Ref
> > Use Iface
> > 192.168.0.0 * 255.255.0.0 U 0 0
> > 0 eth0
> > default 192.168.0.2 0.0.0.0 UG 0 0
> > 0 eth0
> >
> > friejas ~>cat /etc/hostname
> > #/etc/hostname
> > jsf_host
> >
> > friejas ~>cat /etc/hosts
> > #/etc/hosts127.0.0.1 localhost
> > #192.168.1.1 jsf_host jsf_host
> > #192.168.0.200 server1
> > 192.168.0.200 jsf_host jsf_host
> > 192.168.0.101 client1
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - Buy the things you want at great prices!
http://auctions.yahoo.com/
> _______________________________________________
> CLUE-Tech mailing list
> CLUE-Tech at clue.denver.co.us
> http://clue.denver.co.us/mailman/listinfo/clue-tech
>
More information about the clue-tech
mailing list