[CLUE-Tech] gateway: networking question
Brandon N
bneill at yahoo.com
Thu Feb 22 20:46:58 MST 2001
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/
More information about the clue-tech
mailing list