mirror of
https://gitlab.com/netravnen/NetworkLabNotes.git
synced 2024-11-26 19:27:57 +00:00
baseconf: example dhcp
This commit is contained in:
parent
43f259de5f
commit
0ab810bd41
|
@ -6,6 +6,7 @@
|
|||
\lstinputlisting[language=cisco]{code/base.cfg/blockHSRPVRRPGLBP.cfg}
|
||||
\lstinputlisting[language=cisco]{code/base.cfg/cdp.cfg}
|
||||
\lstinputlisting[language=cisco]{code/base.cfg/clock.cfg}
|
||||
\lstinputlisting[language=cisco]{code/base.cfg/dhcp.cfg}
|
||||
\lstinputlisting[language=cisco]{code/base.cfg/hsrp.cfg}
|
||||
\lstinputlisting[language=cisco]{code/base.cfg/interfaces.cfg}
|
||||
\lstinputlisting[language=cisco]{code/base.cfg/lldp.cfg}
|
||||
|
|
9
code/base.cfg/dhcp.cfg
Normal file
9
code/base.cfg/dhcp.cfg
Normal file
|
@ -0,0 +1,9 @@
|
|||
ip dhcp excluded-address 10.10.10.1 10.10.10.3 ! scope is HSRP v4s
|
||||
ip dhcp excluded-address 10.10.10.14 10.10.10.255 ! scope assigned by R2
|
||||
!
|
||||
ip dhcp pool VLAN10
|
||||
network 10.10.10.0 255.255.255.0 ! some random /24 scope
|
||||
dns-server 200.200.200.1 ! one or more servers listed
|
||||
default-router 10.10.10.1 ! tell default gateway to clients
|
||||
!
|
||||
ip dhcp snooping vlan 10 ! look for unauthorized dhcp servers
|
Loading…
Reference in a new issue