Assuming you’ve got a DHCP scope that’s set up something like this:
ip dhcp pool vlan7
network 10.1.7.0 255.255.255.0
domain-name mmx.com
dns-server 172.16.1.75
default-router 10.1.7.1
lease 3
ip dhcp pool static-Vlan7
host 10.1.7.51 255.255.255.0
client-identifier 01D3.BE.D9.BC.74.58
ip dhcp pool vlan9
network 10.1.9.0 255.255.255.0
domain-name mmx.com
dns-server 172.16.1.75
default-router 10.1.9.1
lease 3
ip dhcp pool static-Vlan9
host 10.1.9.51 255.255.255.0
client-identifier 01DD.BB.DE.BC.74.58
Note that the “client-identifier” line is obviously the MAC address with “01? tacked on the front. This is important. Won’t work otherwise. Add as many static entries as you like.
If you want to stop the router from giving out an IP address:
ip dhcp excluded-address 10.1.7.1
or
ip dhcp excluded-address 10.1.7.1 10.1.7.50
You can also stop it from giving any dynamic addresses by doing this:
ip dhcp excluded-address 10.1.7.1 10.1.7.254
Then it will only give out static assignments…
Subscribe to:
Post Comments (Atom)
-
ကကုသန္ဓော ကောဏဂမနော ကဿပေါ ဂေါတမော မုနိဆယ်ထား ဆယ်တော်မူမြတ်စွာဘုရား မေတ္တယျော ပဉ္စဗုဒ္ဓေါတေ သိသေမေသန္တ သဗ္ဗဒါ ဧတေသံ အာနုဘာဝေန ရက္ခဒေဝါ မဟိဒ္ဓ...
-
Ref: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1006651 Ref: http://ict-freak.nl/...
-
When running on Windows, Moshell uses a unix emulator known as Cygwin. Go directly to step 13 if you have already installed and configured c...
No comments:
Post a Comment