ping
followed by the destination IP address (e.g., ping 10.0.0.4
).Router>
enable
Router#
config terminal
or config t
Router(config)#
interface <interface-name>
(e.g., interface FastEthernet0/0
)Router(config-if)#
enable
to enter privileged mode.config terminal
to enter configuration mode.interface <interface-name>
to enter interface configuration mode.ip address <ip-address> <subnet-mask>
in interface configuration mode (e.g., ip address 10.0.0.1 255.0.0.0
).no shutdown
to enable the interface.exit
to move one step back.enable
config t
interface FA0/0
ip address 10.0.0.1 255.0.0.0
no shutdown
exit
exit
ping
command on the computer to ping the router's IP address.ping
command on the router to ping the computer's IP address.no shutdown
).