From: Rudolf Gabler <rug@usm.uni-muenchen.de>
Subject: Network scripts
Date: Mon, 28 Oct 1996 19:52:40 +0100 (MET) [thread overview]
Message-ID: <Pine.OSF.3.91.961028193110.5214B-100000@hal5.usm.uni-muenchen.de> (raw)
Hi netters,
the network setup of RH 4.0 seems to have a weekness which comes because
the standard ethernet interface is evaluated before the localloop:
In my configuration:
router ---------| <--- local net
UDB
the default route goes over the gateway (router). Nameserving (besides
the hosts on my local net which are in /etc/hosts) goes over the gateway too.
My /etc/nsswitch.conf
hosts: files dns
My resolv.conf lists my nameservers which are not on the local net.
In the ifup script eth0 comes first, with the default route going over
eth0 and using gate router. When now lo should be configured the
situation is that
a) all routes to my local net go over eth0 and
b) all others (esp. 127.0.0.1) goes over the gateway
when my router is switched off this doesn't work (and I can't reboot my
Alpha without the router on).
My solution is easy but patches files which should go conform with the
distribution (GATEWAY=number to ifcfg-lo and use the "broken" line in
ifup but with the correct form route add default gw ${GATEWAY}).
I suggest therefore to change ifup in a way, that lo is processed first
(this should include PCMCIAs too); maybe independent of the other network
(a localhost is needed even if ethernet is not connected).
Best regards,
Rudi Gabler
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
!Rudolf Gabler !
!Uni.-Sternwarte Muenchen Internet: RUG@USM.Uni-Muenchen.DE!
!Scheinerstr. 1 Voice: +49-89-98290305 !
!81679 Muenchen FRG FAX: +49-89-92209427 !
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
reply other threads:[~1996-10-28 18:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox