problem z konfiguracja dhcp

VIRL, Dynamips, Boson NetSim, Packet Tracert, Olive, UNL, EVE-NG
Wiadomość
Autor
lukaszm_zdw
member
member
Posty: 39
Rejestracja: 09 mar 2008, 21:31

problem z konfiguracja dhcp

#1

#1 Post autor: lukaszm_zdw »

cześć. Mam problem z konfiguracją dhcp w packet tracer
1 router połączony ze switchem z którym są połączone 2 pc.
na routerku wykonuje komendy

Kod: Zaznacz cały

Router#conf term
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#interface f0/0
Router(config-if)#ip address 192.168.0.1
Router(config-if)#ip address 192.168.0.1 255.255.255.0
Router(config-if)#no shutdown

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router(config-if)#
Router(config-if)#
Router(config-if)#exit
Router(config)#server dhcp
                   ^
% Invalid input detected at '^' marker.
	
Router(config)#ip dhcp pool pula 1
                                 ^
% Invalid input detected at '^' marker.
	
Router(config)#ip dhcp pool pula1
Router(dhcp-config)#network 192.168.0.0 255.255.255.0
Router(dhcp-config)#default-router 192.168.0.1
Router(dhcp-config)#domain-name test.net
                     ^
% Invalid input detected at '^' marker.
	
Router(dhcp-config)#dns-server 192.168.0.1
Router(dhcp-config)#lease 0 0 12

% Invalid input detected at '^' marker.
Router(dhcp-config)#lease 0 0 12
komendy zaznaczonej kursywą nie chce mi przyjąć gdzie robię błąd? z góry dzięki za pomoc

EDIT: Do listingow konfiguracji, show, debug, etc uzywamy znacznikow

Kod: Zaznacz cały

 :!:
Seba
Ostatnio zmieniony 02 lip 2010, 22:42 przez lukaszm_zdw, łącznie zmieniany 1 raz.

sopla2
wannabe
wannabe
Posty: 101
Rejestracja: 04 lip 2009, 01:07

#2

#2 Post autor: sopla2 »

to polecenie które chcesz wykonac w packet tracert - nie ma

Kod: Zaznacz cały

Router(dhcp-config)#lease 14 12 23
 Defines the lease time to be 14 days, 12 hours, 23 minutes
 
Router(dhcp-config)#lease infinite
 Sets the lease time to infinity (default time is 1 day)
 
EDIT: Cis sie rozjechalo w formatowaniu

Kod: Zaznacz cały

 to i poprawilem ;)
Seba
Ostatnio zmieniony 02 lip 2010, 22:44 przez sopla2, łącznie zmieniany 2 razy.

ODPOWIEDZ