[CLUE-Tech] Getting There With FC2

Ed Hill ed at eh3.com
Mon Nov 8 22:06:36 MST 2004


On Mon, 2004-11-08 at 23:47, Jed S. Baer wrote:

> As far as eth0 goes, there's no entry in the routing table for it. I tried
> to use the GUI network config tool to add one, without success. Figuring
> out what config files RH/Fedora uses to setup routes has never been
> something I've had to dig into, and for the moment, I haven't gotten
> anywhere grepping around in /etc, except to note that the FC2 system was
> lacking a file, /etc/sysconfig/network-scripts/route-eth0, which is
> present on the RH8 system, but copying that file over has had no effect. I
> did find a file, /etc/sysconfig/network-scripts/ifup (symbolic link to
> /sbin/ifup) which has these lines:
> 
> # Add Zeroconf route.
> if [ -z "${NOZEROCONF}" -a "${ISALIAS}" = "no" ]; then
>     ip route replace 169.254.0.0/16 dev ${REALDEVICE} 
> fi
> 
> Which I assume is responsible for the routing entry which does exist (is
> the only one in additon to that for 127.0.0.0). So while I'll be doing
> some self-study, I really don't know that much about TCP/IP, so any advice
> here is appreciated.


When you're using a static IP, you can set the default gateway in
/etc/sysconfig/network with a line such as:

  GATEWAY=128.218.128.218

Ed

-- 
Edward H. Hill III, PhD
office:  MIT Dept. of EAPS;  Rm 54-1424;  77 Massachusetts Ave.
             Cambridge, MA 02139-4307
emails:  eh3 at mit.edu                ed at eh3.com
URLs:    http://web.mit.edu/eh3/    http://eh3.com/
phone:   617-253-0098
fax:     617-253-4464




More information about the clue-tech mailing list