Re: Netstat -nr Problem

From: Christopher K. Johnson (ckjohnson_at_gwi.net)
Date: 03/11/04

  • Next message: Peter Bürger: "Re: Why"
    To: fedora-list@redhat.com
    Date: Wed, 10 Mar 2004 19:19:39 -0500
    
    

    Christopher K. Johnson wrote:

    > Yes, it is right. By default each alias inherits the settings of base
    > interface unless overridden.
    > To prevent this for the gateway setting add the following to the base
    > interface configuration ifcfg-eth0:
    >
    > NO_ALIASROUTING=yes
    >
    > Chris
    >
    Or alternatively you can configure the route in an route-eth0 file
    within the network-scripts directory instead of as a GATEWAY= setting in
    the ifcfg-eth0 file, and the route specified in route-eth0 is not
    applied to aliases.
    To set a default gateway through eth0 set the contents of route-eth0 to:
    default via x.x.x.x
    Where x.x.x.x is replaced with your default gateway.

    Per /usr/share/doc/initscripts-7.42.2/sysconfig.txt:

    /etc/sysconfig/network-scripts/route-<interface-name>
                                                                                    

      Contains lines that are arguments to "/sbin/ip route add"
      For example:
                                                                                    

      192.168.2.0/24 dev ppp0
                                                                                    

      adds a network route to the 192.168.2.0 network through ppp0.
                                                                                    

    Chris

    -- 
    -----------------------------------------------------------
       "Spend less!  Do more!  Go Open Source..." -- Dirigo.net
       Chris Johnson, RHCE #807000448202021
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Peter Bürger: "Re: Why"

    Relevant Pages

    • Re: Just thought I would drop in after many yrs
      ... It beccame defucnt because it lost it's gateway to a;y.support.mult-sclerosis and eventualy the Technion Universisty in Hiefa Israel, whre it was hosted management policy no loger pemtted external lists. ... Chris ...
      (alt.support.mult-sclerosis)
    • Re: Setting Up a Dual-Nic DNS Server
      ... Chris posted their thoughts, ... > would the default gateway be for the private NIC? ... Microsoft Windows MVP - Active Directory ...
      (microsoft.public.win2000.dns)
    • RE: TCPIP Profile (GATEWAY vs BEGIN/ENDROUTES)
      ... Thanks, Chris, and everyone else that responded. ... Advanced Software Products Group, Inc. ... TCPIP Profile (GATEWAY vs BEGIN/ENDROUTES) ...
      (bit.listserv.ibm-main)
    • wipe and reboot
      ... I have a gateway with winxp home on it. ...
      (microsoft.public.windowsxp.general)
    • Re: IMF Recommended Settings
      ... I have my gateway SCL set at 7 also. ... rating within the .MSG file before it is archived. ... a gateway setting of 7, messages that get a rating of 7 are definitely ...
      (microsoft.public.exchange.admin)