1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ip default-network

Discussion in 'General Cisco Certifications' started by Headache, Mar 11, 2007.

  1. Headache

    Headache Gigabyte Poster

    1,092
    9
    85
    Router(config)#ip default-network / ip address

    Apparently this command can be used as an alternative to configuring a default route to an ISP.

    Can anyone confirm this ?

    Thought I'd mention it because it looked strange and I hadn't seen it before.
     
    Certifications: CCNA
    WIP: CCNP
  2. NetEyeBall

    NetEyeBall Kilobyte Poster

    279
    10
    45
    I will see about configuring this up in a lab and see what it does..but here is Cisco:

    ip default-network
    To select a network as a candidate route for computing the gateway of last resort, use the ip default-network command in global configuration mode. To remove a route, use the no form of this command.

    ip default-network network-number

    no ip default-network network-number

    Syntax Description
    network-number
    Number of the network.




    Defaults
    If the router has a directly connected interface onto the specified network, the dynamic routing protocols running on that router will generate (or source) a default route. For Router Information Protocol (RIP), this is flagged as the pseudonetwork 0.0.0.0; for Interior Gateway Routing Protocol (IGRP), it is the network itself, flagged as an exterior route.

    Command Modes
    Global configuration

    Command History
    Release Modification
    10.0
    This command was introduced.




    Usage Guidelines
    The Cisco IOS software uses both administrative distance and metric information to determine the default route. Multiple ip default-network commands can be given. All candidate default routes, both static (that is, flagged by the ip default-network command) and dynamic, appear in the routing table preceded by an asterisk.

    If the IP routing table indicates that the specified network number is subnetted and a nonzero subnet number is specified, then the system will automatically configure a static summary route. This static summary route is configured instead of a default network. The effect of the static summary route is to cause traffic destined for subnets that are not explicitly listed in the IP routing table to be routed using the specified subnet.

    Examples
    The following example defines a static route to network 10.0.0.0 as the static default route:

    ip route 10.0.0.0 255.0.0.0 10.108.3.4
    ip default-network 10.0.0.0
    If the following command was issued on a router not connected to network 10.140.0.0, the software might choose the path to that network as a default route when the network appeared in the routing table:

    ip default-network 10.140.0.0
     
    Certifications: CCNA, A+, N+, MCSE 4.0, CCA
    WIP: CCDA, CCNP, Cisco Firewall
  3. r.h.lee

    r.h.lee Gigabyte Poster

    1,011
    52
    105
    Headache,

    Here's a description of "ip default-network" from Cisco.

    Link:
    1. IP Routing Protocol-Indepedent Commands: accept-lifetime Through passive-interface - http://www.cisco.com/univercd/cc/td...122cgcr/fiprrp_r/ind_r/1rfindp1.htm#wp1017818
     
    Certifications: MCSE, MCP+I, MCP, CCNA, A+
    WIP: CCDA
  4. Headache

    Headache Gigabyte Poster

    1,092
    9
    85
    Certifications: CCNA
    WIP: CCNP

Share This Page

Loading...