conf t |
enter into configuration mode |
sh ip int br |
list available interfaces |
interface FastEthernet0/1 |
enter into interface configuration |
ip address 192.168.2.51 255.255.255.0 |
setup in case of a static ip address |
ip address dhcp |
setup in case of dhcp c |
no shut |
bring up the interface |
exit |
ip route 0.0.0.0 0.0.0.0 192.168.2.1 |
setup a default route |