dslreports logo
site
 
    All Forums Hot Topics Gallery
spc

spacer




how-to block ads


Search Topic:
uniqs
671
share rss forum feed


Dennis
Premium,Mod
join:2001-01-26
Algonquin, IL
kudos:5


1 recommendation

5861 static IP setup, direct IP assignment to PC

Ok, now to a lot of people here this is pretty standard stuff, but even I tend to forget the little things after a while so with the permission of DarkRealm See Profile I am documenting our little adventure tonight.

Basically some people don't want to use the addhostmapping command as shown here. There are a # of valid reasons for this such as running servers that require ip verification, to VPN. Either way if you want to assign that static IP's directly to the machine all you have to do is follow this setup.

Note: I still recommend that you use addhostmapping unless you have no other choice, because that method still allows you to have as many NAT computers on your lan as you want (up to 18 by default). Where as this method only allows 5 computers max.

Ok, so what do you do? Basically you remove NAT, remove the default DHCP ip pool, change your Eth IP and thats it.

So here is the block we are working with:
xxx.xxx.xxx.104 Network (not useable)
xxx.xxx.xxx.105 Free
xxx.xxx.xxx.106 Free
xxx.xxx.xxx.107 Free
xxx.xxx.xxx.108 Free
xxx.xxx.xxx.109 Free
xxx.xxx.xxx.110 Router Wan port
xxx.xxx.xxx.111 Broadcast (not usable)
Ex:
dhcp del 192.168.254.0 (removes current block)
dhcp set mask xxx.xxx.xxx.104 255.255.255.248
dhcp set add xxx.xxx.xxx.105 xxx.xxx.xxx.109
eth ip addr xxx.xxx.xxx.110 255.255.255.0
eth ip mgmt xxx.1xxx.xxx.110 255.255.255.0
rem setiptranslate off internet
save
sync
save

Voila! Easy as pie.
--
"There are a thousand hacking at the branches of evil to one who is striking at the root. " --Henry David Thoreau

[text was edited by author 2003-07-13 22:08:08]