Cateva notite facute de mine la configurarea router-lui.
Conectarea se face prin hyperterminal.exe la 9600 ultimul drop down pe none
enable -> pass…
DHCP si legarea clientului la MAC
Activam serviuciul:
service dhcp
excludem IP-le rezervate:
ip dhcp excluded-address 192.168.1.1 192.168.1.99
Configuram dhcp server
ip dhcp pool POOL1
network 192.168.1.0 255.255.255.0
domain-name my-domain.com
dns-server 192.168.1.100
default-router 192.168.1.1
lease 30
Rezervam dupa MAC
Ne uitam ce clienti avem acum asociati
show ip dhcp binding
daca trebuie curatim tabela:
clear ip dhcp binding
sau doar unul
clear ip dhcp binding 192.168.1.254
cream rezervarea
ip dhcp pool NAME
host 192.168.1.2 255.255.255.0
client-identifier 0011.d804.9421
hardware-address 0011.d804.9421 //- fara asta nu mi-am mers pentru client linux
client-name NAME
Ca sa vedem exact ce se intimpla pe DHCP facem asa:
debug ip dhcp server packet
Port forward
ip nat inside source static tcp 192.168.1.110 80 <ip extern> 80 extendable
Ip de la provider
Debug:
debug dhcp detail
oprire debug :
undebug all
Dezactivam
Ip cef -> NO IP CEF – de asta nu merge dhcp, mincalar dracii! Am pierdut o zi cu prostia asta