What are the commands to configure a subnet mask on a router and a default gateway on a router?

VB6Boy asked this question on 12/3/2011. It has been viewed 623 times, and is currently resolved.

Disapprove Delete

Trying to learn something new with these Cisco routers I found on Craigslist!

Keywords:

Answer from FortyPoundHead on 12/3/2011

Disapprove Delete

"IP routing must be enabled on voice gateways but a routing protocol is not required. A default gateway is suffice. Logging parameters may also need to be defined.

In config mode, enter the following commands:

ip address 192.168.14.2 255.255.255.0

ip default-gateway 192.168.14.1

ip route 0.0.0.0 0.0.0.0 192.168.14.1

Reference:


Code Links