2 macs and a linux on a LAN

Eric Eisenhart eric at eisenhart.com
Fri Aug 4 17:32:19 PDT 2000


On Fri, Aug 04, 2000 at 05:28:27PM +0100, John F. Kohler wrote:
> [root at kohler /etc] cat sysconfig/network
> NETWORKING=yes
> HOSTNAME=kohler
> FORWARD_IPV4=yes
> GATEWAYDEV=                   (there is nothing there)
> GATEWAY=                            (also empty)
> 
> I think I am beginning to see a pattern here.......

> here it is, without typos, if possible.
> Kernel IP routint table
> Destination    Gateway    Genmask                    Flags    Metric    Ref
> Use    iface
> 192.168.1.4    0.0.0.0     255.255.255.255    UH        0            0
> 0        eth0
> 192.168.1.0    0.0.0.0    255.255.255.0        U            0
> 0        0        eth0
> 127.0.0.0        0.0.0.0    255.0.0.0                U            0
> 0        0        lo

Okay, both of those show the same thing missing.

What you need to do is edit /etc/sysconfig/network and make the
"GATEWAYDEV=" line say "GATEWAYDEV=eth0" and make the "GATEWAY=" line have
the IP address for your router.  (probably "GATEWAY=192.168.1.1" or
"GATEWAY=192.168.1.254" -- check on your other machines or just try both of
those.)
-- 
    Eric Eisenhart   Freedom is slavery.      http://eric.eisenhart.com/
 ^  ICQ#: 48217244   Ignorance is strength.   eric-dot-sig at eisenhart.com
/e\ Perl&SQL Coder   War is peace.            IRC Nicks: Falsch Freiheit
---                        -- George Orwell



More information about the talk mailing list