Вы находитесь на странице: 1из 4

ORTOS DE A LGUNS DOS S ERVIOS MAIS C OMUNS

Servio Sigla Protoc. Porto File Transfer Protocol FTP TCP 21/22Telnet TELNET TCP 23Simple Mail Transfer Pro tocol SMTP TCP 25Domain Name Server DNS UDP 53Trivial File Transfer Protocol TFT P UDP 69Protocolo HTTP HTTP TCP 80Simple Network Management Protocol SNMP UDP 16 1/162Protocolo de Routing RIP RIP UDP 520DHCP (protocolo Bootp) BOOTP UDP 67/68 3.

VLSM

(S UB C LASS C) N Hosts254126 62 30 14 6 2 /24 /25 /26 /27 /28 /29 /30Netmask0128 192 224 240 248 252WildCard255127 63 31 15 7 3 4.

R OUTERS -

ERAL

Configurao das interfaces Router(config)# int s0 Router(config-if)# ip address 192.168.1.1 255.255.255.0 Router(config-if)# clock rate 56000 Router(config-if)# description Rede de Gesto Router(config-if)# no shut Ver se uma interface srie DCE ou DTE, e se tem relgio Router# show controllers s0

Desactivar o teste de hosts ligados a uma porta Ethernet Router# no keepalives Definir a menagem do menu inicial Router# banner motd # message # Configurar um Servidor de DNS Router(config)# ip name-server ip_address (garantir ligao ao server) Router(config)#ip domain-lookup 5.

R OUTERS -

A CCESS C ONTROL L ISTS (ACL S ) Colocar uma ACL numa interface Router(config-if)# ip access-group 100

{in|out}

ACLs Standart Router(config)# access-list 1 {permit|deny} 172.30.16.0 0.0.0.255 Router(config)# access-list 1 {permit|deny} any Router(config)# access-list 1 {permit|deny} host 172.30.16.29 ACLs Estendidas Router(config)# access-list 100 permit {ip|icmp} host 172.30.16.0host 172.30.16.0