Options

Default Routing Question

Varez ITVarez IT Member Posts: 32 ■■□□□□□□□□
If I wanted to create a default route to the network address of 206.143.5.1 would the following command be vaild?

(config-router)#network 206.143.5.0 default

I do not believe so because of the IOS I am using does not allow that command (see the output below) but it is an older IOS so I would like a second opinion.

(config-router)#network 206.143.5.0 ?
<cr>

(config-router)#network 206.143.5.0 default ?
% Unrecognized command

(config-router)#network 206.143.5.0 default
^
% Invalid input detected at '^' marker.



Thank you!

Comments

  • Options
    Chris_Chris_ Member Posts: 326
    To create a default route you need (from global):
    ip route 0.0.0.0 0.0.0.0 206.143.5.1

    However, your prompt indicates that you are within the config mode for a dynamic routing protocol. If you are trying to distribute a default route through your network then there are many different methods, depending on the protocol. Which protocol are you in?
    Going all out for Voice. Don't worry Data; I'll never forget you
    :study: CVoice [X] CIPT 1 [ ] CIPT 2 [ ] CAPPS [ ] TVOICE [ ]
  • Options
    jwashington1981jwashington1981 Member Posts: 137
    In addition to the way that Chris has mentioned, you can also create a default route two other ways.

    Router(config)# ip route 0.0.0.0 0.0.0.0 s0/0 <== exiting interface

    or

    Router(config)# ip default-network 206.143.5.0
Sign In or Register to comment.