Command Reference Guide Global Configuration Mode Command Set
61200510L1-35E Copyright © 2005 ADTRAN 404

ip default-gateway <ip address>

Use the ip default-gateway command to specify a default gateway if (and only if) IP routing is NOT
enabled on the unit. Use the ip route command to add a default route to the route table when using IP
routing functionality.
Syntax Description
<ip address> Specifies the default gateway IP address in the form of dotted decimal notation
(example: 192.22.71.50).
Default Values
By default, there is no configured default-gateway.
Applicable Platforms
This command applies to the NetVanta 300, 1000, 1000R, 2000, 3000, 4000, and 5000 and
Total Access 9 00 Series units.
Command History
Release 1.1 Command was introduced.
Functional Notes
Only use the ip default-gateway when IP routing is disabled on the router. For all other cases, use the
ip route 0.0.0.0 0.0.0.0 <ip ad dr e ss> command.
Usage Examples
The following example disables IP routing a nd configures a default gateway for 192.22.71.50:
(config)#no ip routing
(config)#ip default-gateway 192.22.71.50