1
0
Fork 0
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:
chhan11 2017-06-09 20:22:32 +02:00
parent 43f259de5f
commit 0ab810bd41
2 changed files with 10 additions and 0 deletions

View file

@ -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
View 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