ID #1052

A hack to give out only static IP's based on MAC address

A hack by medowl

my wish : I wanted the dhcpd on FREESCO 027 only to give out ips to those MAC addresses I've put in my dhcpd.conf, so only static leases , no pool of ips for macs not regged on my server

my problem : in the standard 027 setup , you HAVE TO specify a range of ips otherwise the dhcp daemon wouldn't start

my previous solution : set the pool to one ip ( and then block that ip...

our setup : we have a network with 2 other houses (nice long utp cable going underground thru out backyard), in all in all 3 houses are connected together , all having their own internet access,
and 3 dhcp daemons giving out the correct ips so ppl in another house woudn't connect over someone elses internet connection...

this worked fine till one of the houses got another type of internet connection , and ppl in that house started getting the ip from our freesco server, which is blocked , thus no connection to the internet (and if it would not be blocked they would use the wrong inet connection)

so I needed to figure out a way to get the dhcpd running on freesco 027 without giving out ips to ppl not in the dhcpd.conf file...

I actually asked this question about 4 years ago on the forum, and found some other ppl who were actually looking for a same kinda sollution , but no one ever came up with a good answer... so here we go ...

the new sollution :

edit /rc/rc_dhcpd
and remove line 28 : range $5;

the red line:

        cat >>/etc/dhcpd.conf <<-EOF
                subnet $3 netmask $4 {
                range $5;
                option subnet-mask $4;
                option broadcast-address $2;
                option routers $6;

dunno how this is done on 032 , but i guess it would be pretty similar...
I hope someone finds this info useful

Last update: 2012-02-27 20:35
Author: medowl
Revision: 1.1

Print this record Print this record
Send to a friend Send to a friend
Show this as PDF file Show this as PDF file
Export as XML-File Export as XML-File

Please rate this entry:

Average rating: 3.33 from 5 (3 Votes )

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry

Comment of Microsoft Office 2010 (2011-04-28 03:43:40):
ADD Microsoft Office adults' main impairments Microsoft Office 2007 include organization. pay more attention to detail, Office 2010 and the ability to Office 2007 finish tasks. Unluckily, there are a lot of technologies to support these outlook 2010 symptoms. Keep in mind: just ms office 2010 as a diabetic person needs insulin office 2010 home to thrive, be competent with assistive technologies Microsoft Office 2010 free is one of the necessary parts microsoft word of life for people with ADD if you feel afraid by download microsoft office 2010 the demands of learning micro office 2010 a new technology. it is found in the past of Office applications a design scheme. It calls the ribbon ms office 2007. One is called Groove office 2010 professional, a peer-to-peer collaboration tool, it is serviced in the Office 2010 key high-end Ultimate. If you're an adult with ADD, you download office 2010 should know MS office 2010 download the concept of having microsoft office 2007 home your addresses and appointments Microsoft Office 2010 download scattered all office 2007 key over well. You are able to office professional 2010 manage by organizing piles, but that doesn't last. I had some outlook 2010 key Franklin Planners at one time, they are all Office 2010 free in different places, everyone prone to getting lost. I used Microsoft Office 2010 key to use inspirational quotations or beautiful art on the cover to collect address books, everyone with its own separate Office 2010 download, overlapping collection of contact Microsoft outlook 2010 information. However Microsoft Office 2010, note-taking program one note that was just for a standalone product which can MS office 2010 key be found in the office 2010 microsoft Home and now Microsoft outlook, Ultimate, and Enterprise editions.

Comment of dsad (2011-06-13 09:04:31):
As for the petite bride, an A Line Wedding Dresses could be best, simply because this kind of dress may possibly lengthen your body and make you look slim. In this sense, you must refuse sheath-style Wedding Gowns, in that sheaths may possibly shorten the entire body. And full skirts which will trigger you to be "bottom heavy" really should also be rejected.For broader shouldered brides, you are able to try bridal dresses with halter or off-the shoulder neckline, or you'll be able to adopt strapless Wedding Gowns together with fine cute accessories which can go well together with your body the Shoulder Wedding Dresses for brides will work nicely with large-busted brides. This dress style may well appeal the attention upwards by stressing the shoulders. Bear your mind to steer clear of full skirts which may possibly make your entire body look huge and fat. Narrow skirts are your very best selection.

Comment of replica ray ban clubmaster (2011-08-08 10:43:41):
replica ray ban clubmaster fake oakley flak jackets cheap replica oakley sunglasses cheap ray-ban sunglasses discounted oakley sunglasses cheap foakleys fake ray ban sunglasses fake oakley sunglasses replica oakleys

Comment of handbags (2011-08-19 06:05:23):
The mont blanc wallets in my favorite of the gold collection because I have a new prada wallets that would match nicely. doudoune moncler pas cher sont vraiment lisse quand vous vous sentez et ce contact et c'est la raison pour laquelle les femmes de tous ages qui aiment acheter ces vestes. Les caractères les initiales de l'Clermont monoester de rendre la marque moncler vente à la fin. Le père Moncler particulier - Ramillon commencé à développer des doudoune femme moncler de tous ages par des skis grands et aussi des tentes en 1950. Il aime sa patrie et les montagnes tellement. Alors que la Seconde Guerre mondiale moncler enfants, le résultat direct d'en faire le duratif forte fournis aux armées fran?aises alpines.

Comment of google (2011-09-07 05:54:31):
google [url=]google[/url]

Comment of herve leger (2011-09-07 06:00:52):
Advanced technology and fashionable appearance are making the monster headphones outstanding,And you can also pay attention to the monster beats,monster beats by dre and monster beats by dr dre headphones.The different series will show you the various feeling in the music world.All women includes a desire princess, whenever we placed on a pair of high heels, the desire finally arrived true. In all, nobody can resist the lure of Christian louboutin shoes.louboutin shoes and christian louboutin pumps not only show the fashion concept, but also shape your figure well. christian louboutin wedding shoes can show you very unique on the wedding day.These are the reasons why Christian louboutin shoes so popular and you must be intend to pick one pair home.In this day of summer,have you ever thoungt about going into the magic world Cartier to enjoy the glamourouscartier eyeglasses.When we put out finger on it,it will make us go crazy at the fist moment.We will can not resist the so chic the glasses wood frame by Cartier.The armani sunglasses is so beautiful and extraordinary.

Comment of christian louboutin (2011-09-07 06:02:04):
In August 11, 2011, Taiwan's leading mobile phone maker HTC spended $ 300 million acquisition of high-end headphone manufacturer monster beats Electronics majority stake. The news both for the player or cell phone headset users are shocking.Why htc merge and acquisit monster beats pro ? beats by dre beats pro provides a unique brand experience. I believe the two sides close strategic partnership will provide those who love to use HTC phones impeccable sound quality experience.Summer is filled with barbeques, beach fun, pool parties and heat – lots and lots of heat. There are plenty of cute outfits and karen millen dress that you can wear on these hot, humid days…You can choose the karen millen butterfly dress and matched with eye-catching red high heels, you will lookamzing!If you love karen millen silver dress, but you can’t afford for it, why not have a look at karen millen maxi dress online shop? More choices and more deals, enjoy your trip!Here we can offer many brand shoes.The lady dresses including the lady shoes and boots lady.All brands are the top class ones with high quality and innovative design.but the most deserved one you will get here.

Comment of chi flat iron (2011-09-07 06:03:20):
women fashions can be regarded as the symbol of the status,and designer products have been pursued by more and more trendsetters.Our website has been the leading supplier in the fashion clothing field.Especially to cater to the demand of the different group,we offer various of top brands in women high heels,Such as louboutin shoes,herve leger dress, Karen Millen Dress and Cartier Sunglasses.Ugg shop is specialized in snow boot for women.With a pair of snow boot like Ugg boots,your winter will be warm and colourful.Nowadays Uggs are prestigious among the Europe and America,then here comes the name of Ugg us.And when you are out with the Ugg boots, you may as well put the Moncler Coat on.They will be a perfect combination in this coming winter.

Comment of real jordans (2011-09-08 05:25:20):
Is the store really selling nike jordan shoes authentic Jordans shoes? Jordan Fusion 9 online If the content of the site does not indicate clearly then try reading through some of the internal pages where you can get this information as this is your Air Max 24/7 first step to weed out stores that sell replicas.2. What is unique about the store? Does it offer any special discounts on Jordans shoes or cheap nike shox special offers that you can benefit from when compared to other stores?3. Does the Air Jordans 15 Retro NikeJordan shoes Online Real Jordan Stroe cheap authentic jordans real jordans cheap jordan shoes real jordan shoes nike jordan shoes cheap jordans Authentic jordans Authentic jordan shoes cheap real jordan shoes cheap real jordans 2011 Jordan sneakers Authentic Jordan Store store have a return policy in place? If no, then it's risky to buy from such online stores as you stand a high chance of losing your money in case of incorrect shoe size or discrepancy in color.4. Does the store offer the entire range Air Jordans 6 Retroof Jordans shoes from which you can choose or it cheap Nike Shox R5 only offers a limited few designs and colors?5. Does the online store provide any kind of online chat support that makes it easy for you to shop around? This isNike Shox R5 womenimportant as you can clarify any questions immediately before making a decision to buy your Jordans shoes.Once you have an Air jordan 12answer to all these, it will surely make icheap Jordanst easy for you to narrow down your list to the ideal store to buy as very few stores will have the combination of all the above factors.

Comment of ugg (2011-09-15 04:09:29):
9.15 soil ブランド腕時計|ロレックス時計|オメガ時計|IWC腕時計 ロレックスデイトナ|ロレックスエクスプローラー|ロレックスGMTマスターII|オメガスピードマスター|オメガシーマスター|オメガアクアテラ|オメガデ ?ヴィル|IWCアクアタイマー|IWCインヂュニア|IWCスピットファイアー|IWCポルトギーゼ|ロレックスサブマリーナ|ロレックスヨットマスター|ロレックスターノグラフ|ロレックスミルガウス|ロレックスエアキング|ロレックスパーペチュアルデイト|ロレックスチェリーニ チェリニウム|ロレックスデイデイト|ロレックスプリンス|オメガコンステレーション|IWCクラシックパイロット|IWCポートフィノ|ロレックスデイトジャスト ルイヴィトン店舗ルイヴィトンコピー ルイヴィトン財布ルイヴィトンバッグルイヴィトン 激安ルイヴィトン 通販ルイヴィトン 直営店グッチバッググッチ財布グッチコピー アバクロ 新作 アバクロ店舗 ブランド腕時計 ;ロレックス時計 ;オメガ 時計 ;IWC 腕時計M91451; N41132; M40203;

Comment of wedding dresses (2011-09-23 03:25:57):
moncler jackets are famous for its superior function in keeping warm.,moncler outlet are simple but with rich styles. how to maintain the Moncler coats and let its function do well? doudoune monclerare regarded as the bright spot in the winter time by many people. Wedding must be the most unforgettable and important time for everyone,the wedding dresses become royal equipment for bride.Pick suitable wedding gowns and rest your worries to experience the beautiful time. The certain bridesmaids dresses and evening dress for the people who take part in wedding party can be showed on this important occasion .

Comment of coach factory outlet (2011-09-23 05:52:07):
coach factory outlet  coach purses  coach bags  coach outlet  coach outlet  coach outlet online  coach factory outlet  coach factory outlet online  coach boots  louis vuitton online  louis vuitton outlet  louis vuitton online  louis vuitton sale  louis vuitton bags outlet  

Comment of coach factory outlet (2011-09-26 10:47:09):
coach bags  coach purses  coach outlet  coach factory outlet  coach outlet  coach factory outlet  coach outlet online  coach factory outlet  louis vuitton online  coach boots  louis vuitton bags outlet  louis vuitton bags  louis vuitton sale  louis vuitton outlet  Moncler Outlet  

Comment of louis vuitton outlet (2011-09-26 11:03:48):
Christian Louboutin  Christian Louboutin Soldes  Louis Vuitton  Borse Louis Vuitton Outlet  Burberry Outlet  Louis Vuitton Handbags  Tiffany UK  Tiffany And Co  Burberry Scarf  Moncler  Tiffany Jewelry  Tiffany Outlet  Coach Outlet Store Online  chanel tassen  Burberry Sale  Louis Vuitton Borse  Louis Vuitton Outlet  louis vuitton sale  Louis Vuitton Bags  sito louis vuitton  Sac Louis Vuitton Pas Cher  

Comment of hhGdiuoIdiEIOFke (2011-09-28 10:39:20):
Why does this have to be the ONLY rleiable source? Oh well, gj!

Comment of wedding dresses (2011-09-30 02:24:01):
Wedding must be the most unforgettable and important time for everyone,the wedding dresses become royal equipment for bride.Pick suitable wedding gowns and rest your worries to experience the beautiful time. The certain bridesmaids dresses and evening dress for the people who take part in wedding party can be showed on this important occasion . monster beats solo hd Diddybeats bring the surprise, monster beats studio Diddybeats are perfect for your . chi flat iron now becomes the famous brand in the hair straightening market and it has many prominent features. chi flat iron uses highly sophisticated technology to produce all its products. chi hair straightener,chi hair iron.

Comment of herveleger (2011-09-30 02:24:41):
Fashion mix and match the color of karen millen silver dress,The new collections of cheap karen millen dresses have promoted recently. Herve leger wedding dress is famous for its wear production, in addition to this, there are many branches of herve leger black dress. Everybody loves Christian louboutin slingback, New collections of Christian louboutin boots have promoted. Why people love Heartbeats by lady gaga, beat by dr.dre studio headphones delivers the good sound.

Comment of christian louboutin (2011-09-30 02:25:27):
As a loyal fan of snow boots,you must pay close attention to the development of ugg boots. Many christian louboutin Peep Toe assistance us ? christian louboutin shoes have more and more casual styles so that you can wear in any occasions. buy christian louboutin pumps that are made by top designers that are well known today. Why the Cartier sunglasses are very popular in the world wide? sunglasses for men are well known spectacles in globally.

Comment of YQLEseEdPAtv (2011-10-01 03:21:06):
Well done article that. I'll make sure to use it wlsiey.

Comment of ugg (2011-10-08 03:44:47):
10.8 bundle ルイヴィトンバッグルイヴィトン財布ルイヴィトンコピー ブランド腕時計ロレックス時計オメガ 時計IWC 腕時計 ブランド レプリカブランド 時計ブランド コピー IWCレプリカIWC時計IWCコピー オメガレプリカオメガ時計オメガコピー

Comment of herve leger (2011-10-12 07:58:59):
Today, monster butterfly by vivienne tam is so impressive that has became more and more popular among younger generation. the monster beats in ear headphones were definitely designed to be noise-canceling. why monster beats is so fantastic for your life? Music with monster beats can help you plug in the wings of imagination, monster beats is adjustable and feels relatively comfy. The Cartier sunglasses In Purple represent the most fashionable trend, sunglasses for men represents the most fashionable trend. Cartier sunglasses is so fashion a brand that have attracted so many fans, The innovative design and bright color makes Cartier sunglasses always in the fashion frontier. If you were looking for fashion design of Cartier sunglasses, Cartier sunglasses according to Louis. Saying about snow boots, the boots go well with the clothes. The easiest way to wear your ugg boots, experience your fashion trip with the ugg store. The easiest way to wear your ugg us is with your comfortable skinny jeans and a baggie blouse accessorized by a necklace.

Comment of christian louboutin (2011-10-12 08:01:00):
babybliss flat irons are easy to operate, no one will forget the remington hair straighteners. chi hair iron professional beauty hair products, chi flat iron uses the latest nano technology in hairstyling irons. The chi flat iron is very plain but lightweight. Then chi hair straightener will be the suited one for the working lady. justin bieber beats is designed for iPod,iPhone and music phone. monster beats kobe bryant is designed for music phone. Wedding must be the most unforgettable and important time for everyone,the wedding dresses become royal equipment for bride.Pick suitable wedding gowns and rest your worries to experience the beautiful time. The certain bridesmaids dresses and evening dress for the people who take part in wedding party can be showed on this important occasion .

Comment of chi flat iron (2011-10-12 08:03:17):
If you like the karen millen statement frill dress, the most important karen millen sequin bow dress one stars, these objects on display both in the design of timber and people are shocked. According to foreign karen millen media reports. but jewelry is probably above karen millen the maximum weight of 7.5 kg. The time when I come across herve leger strapless bandage dress, and I think it is the most mysterious herve leger for it makes the different person. That is the reason why I love the herve leger skirts so much. christian louboutin pumps are well-known for the red sole, The top brand –christian louboutin sandals for tasteful women, christian louboutin high heels women are essential. christian louboutin not only show the fashion concept, christian louboutin never let you down. moncler jackets is suit for the dressing, moncler outlet are suit for the dressing both of men and women. Moncler coats not only the ones that can keep you warm, doudoune moncler with many advantages.

Comment of herve leger (2011-10-22 09:43:16):
In my opinion, everybody shall have at least one piece of the moncler jackets . moncler jackets for women is the most important item of clothing in winter time. moncler vest for men are not regular ones. moncler mens coats is amazing and i love it so much. The sound quality of beats by dr dre studio is excellent; however, beats by dr dre tour are charming.When you have your own monster beats headphones you will feel you are so cool ,now beats by dre is a symbol of fashion and cool.Therefore,The sale of monster beats goes up and up and up. snow boots for women is the stylish and made with high quality and high standards as well from genuine sheepskin. ugg sundance boots are the pioneer of fashion trend. No matter who are you, you can express your personality completely with the certain ugg boots cardy.To pick a pair of ugg classic tall then you will have your own fashion trend. A wedding dresses or royal blue bridesmaid dresses is the clothing worn by a bride during a wedding ceremony. The black and white wedding dresses in our shop are unique and elegantly crafted to complement a woman’s.More and more women love to choose the certain strapless beach wedding dresses to make themselves become the focus.

Comment of snowboots (2011-11-03 09:41:07):
Shopping moncler women vest on moncler jacket on-line shop and moncler hoody for women over the internet shop where different designers and diverse styles moncler 2011 are widely collected. They offer you moncler coats for women,moncler bags, moncler boots and scarves and moncler kids, simply to identify some items. The fans of snow boots for women now increase on a fast rate, why are UGG Classic Short Boots so popular? Very first of all, there is a distinction between that of a UGG Classic Mini Boots and a UGG Classic Cardy Boots. UGG Ultra Tall Boots are generally UGG Nightfall Boots that have much more warmth to them due to the thicker materials and make. monster beats by Dr. Dre is one product of the diddy beats series. lamborghini monster has been linked to Fashion. monster powerbeats are charming. A wedding dresses or royal blue bridesmaid dresses is the clothing worn by a bride during a wedding ceremony. The black and white wedding dresses in our shop are unique and elegantly crafted to complement a woman’s.More and more women love to choose the certain strapless beach wedding dresses to make themselves become the focus.

Comment of chi flat iron (2011-11-15 11:27:26):
I have gotten one set of chi flat iron two months ago and I will tell you some experience about chi flat iron in the following. monster beats by Dr. Dre is one product of the beats by dre series.

Comment of chi flat iron (2011-12-22 14:44:45):
beats by dre in ear Headphones are the latest music craze by tour in ear headphones. beats by dre solo white have used and tested three of his latest beats by dre solo red and are going to give you the lowdown. beats by dre pro white has been working with rapper Heartbeats by Lady Gaga for a long time now on headphones monster turbine pro copper are specifically designed. The headphones are the miles davis tribute line that offers several products. chi flat iron, by Farouk, Original chi flat iron are one of the hottest selling CHI Nano Flat Iron available to date, CHI Pink Dazzle Flat Iron and pink chi flat iron, silkier hair. Digital Chi Flat Iron offer a wide variety of Chi digital flat iron to choose from in order to help meet CHI Turbo Ceramic Flat Iron special hair needs, Babyliss pro flat iron viding to be both cost-effective and efficient.

Comment of ugg (2011-12-22 14:45:43):
ugg boots for women All these, plus a number of ugg sundance boots, UGG Classic Mini Boots are critical staples to be in every last UGG Bailey Button boots.Now you have to create accessories to liven up UGG Classic Short Boots in addition to turn antique into UGG Classic Tall Boots are certainly fashionable at this moment. UGG Ultra Short Boots look an excellent option for both skilled and typical UGG Bailey Button Boots in Black logo. UGG Classic Tall Boots in Chestnut can be big among the list of younger UGG Classic Tall Boots in Navy. and UGG Classic Tall Boots in Blue Patchwork is one way item UGG Leopard Short Boots in Brown is definitely often overlooked but appears to be like great as well as makes a good addition for a UGG Fox Fur Boots in Black.