Re: How to set default gateway

From: Paul Howarth (paul_at_city-fan.org)
Date: 07/19/05

  • Next message: Tiziana Manfroni: "Re: sendmail on fedora 4"
    Date: Tue, 19 Jul 2005 13:50:11 +0100
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    Hanny Tidore wrote:
    > For the /etc/sysconfig/network-scripts/ifcfg-interfacename, do I
    > specify at ifcfg-bond0 only or do I also need to specify at ifcfg-eth1
    > and ifcfg-eth2 ?

    You specify the netmask for the network interfaces you are using, which
    would be eth0 and bond0. The two may be different.

    > For /etc/sysconfig/network, do I have to specify the netmask of the
    > default gateway ?

    The default gateway is the IP address of the router that forwards
    packets to places you don't have explicit routes for. It's a single
    address, not a network, and so it does not have a netmask. When you
    specify a gateway, a default route will be set up with destination
    0.0.0.0, netmask 0.0.0.0 and your specified gateway address. You don't
    need to specify anything else.

    P.S. Please do not top-post on this mailing list.

    Paul.

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Tiziana Manfroni: "Re: sendmail on fedora 4"

    Relevant Pages

    • Re: How to set default gateway
      ... > packets to places you don't have explicit routes for. ... > address, not a network, and so it does not have a netmask. ... > specify a gateway, a default route will be set up with destination ...
      (Fedora)
    • Re: How to set default gateway
      ... specify at ifcfg-bond0 only or do I also need to specify at ifcfg-eth1 ... do I have to specify the netmask of the ... > The default gateway is a function of the system as a whole and should be ...
      (Fedora)
    • Re: virtual network with qemu
      ... Now should I configure another virtual PC as a gateway with a netmask, say, 255.0.0.0? ... The virtual PC have a calss B netmask. ... But, anyway, it's a time saver to have all network interfaces ...
      (freebsd-questions)
    • RE: accessing remote desktop through TS Gateway
      ... DNS should be reolved without issue. ... there is no need to go through the TS Gateway. ... directly specify the TS Resouce or Desktop. ... 3.Using the Terminal Services Configuration Tool on a per-server basis ...
      (microsoft.public.windows.terminal_services)
    • Re: Windows 2003 server loses default gateway
      ... A default gateway specifies where traffic will go if no specific route ... The normal situation is to use default routing for non-specific ... If you specify more than one, ...
      (microsoft.public.windows.server.networking)