Default Routing Question

in CCNA & CCENT
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!
(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
-
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 [ ] -
jwashington1981 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