vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, I'm trying to configure an OpenBSD router which will be running DHCPD. At the moment my problem exists with setting up DHCPD. At boot time I receive the following error: Address range 192.168.2.100 to 192.168.2.199 not on net 192.168.2.1/255.255.255.0! My dhcpd.conf is: option domain-name "domain.cxm"; option domain-name-servers 192.168.1.1; subnet 192.168.2.1 netmask 255.255.255.0 { option routers 192.168.1.1; range 192.168.2.100 192.168.2.199; } My physical setup is: Netcomm 1300 router/modem with internal IP of 192.168.1.1 - this device is not routing at present, nor do I want it doing the routing. red nic = rl1 = static IP 192.168.1.13 green nic = rl0 = static IP 192.168.2.101 My understanding of subnets is not very competent so please be patient. Any help would be greatly appreciated. Pf is not currently running either. Sh4d03 -- If you require more assistance or if my suggestion works please E-mail me at sh4d03 [at] TPG [dot] com [dot] au. Additionally, if you are able to provide assistance to me and wish to E-mail me directly please also feel free to contact me in this manner. Please ensure you include "Newsgroup_sh4d03" in the subject line. Please pay attention to the capitilisation! Thanks, Sh4d03 |
| |||
| On 2004-10-07, Sh4d03 <sh4d03@TPG.com.au> wrote: [snip: error:] > Address range 192.168.2.100 to 192.168.2.199 not on net > 192.168.2.1/255.255.255.0! [snip] > subnet 192.168.2.1 netmask 255.255.255.0 { > option routers 192.168.1.1; > range 192.168.2.100 192.168.2.199; > } The error message isn't accurate (AFAICS) but there is indeed an error: your routers option is off. -- j p d (at) d s b (dot) t u d e l f t (dot) n l . |
| |||
| "Sh4d03" <sh4d03@TPG.com.au> schrieb im Newsbeitrag news:41650601$1@dnews.tpgi.com.au... > Address range 192.168.2.100 to 192.168.2.199 not on net > 192.168.2.1/255.255.255.0! subnet should be 192.168.2.0/255.255.255.0 and router should point to I guess 192.168.2.101 |
| |||
| "your routers option is off." And how do I turn it on? I can't see how it is "off". Sh4d03 jpd wrote: > On 2004-10-07, Sh4d03 <sh4d03@TPG.com.au> wrote: > [snip: error:] > >>Address range 192.168.2.100 to 192.168.2.199 not on net >>192.168.2.1/255.255.255.0! > > [snip] > >>subnet 192.168.2.1 netmask 255.255.255.0 { >> option routers 192.168.1.1; >> range 192.168.2.100 192.168.2.199; >>} > > > The error message isn't accurate (AFAICS) but there is indeed an error: > your routers option is off. > > -- If you require more assistance or if my suggestion works please E-mail me at sh4d03 [at] TPG [dot] com [dot] au. Additionally, if you are able to provide assistance to me and wish to E-mail me directly please also feel free to contact me in this manner. Please ensure you include "Newsgroup_sh4d03" in the subject line. Please pay attention to the capitilisation! Thanks, Sh4d03 |
| |||
| When I changed my file to read this: option domain-name "domain.cxm"; option domain-name-servers 192.168.1.1; subnet 192.168.2.1 netmask 255.255.255.0 { option routers 192.168.1.1; range 192.168.2.100 192.168.2.199; } I received: dhcpd: subnet 192.168.2.0/ ^ dhcpd: dhcpd: Configuration file errors encountered -- exiting Thanks for your help, I'd actually tried that. Any more ideas? Sh4d03 Dorian Büttner wrote: > "Sh4d03" <sh4d03@TPG.com.au> schrieb im Newsbeitrag > news:41650601$1@dnews.tpgi.com.au... > >>Address range 192.168.2.100 to 192.168.2.199 not on net >>192.168.2.1/255.255.255.0! > > subnet should be 192.168.2.0/255.255.255.0 > and router should point to I guess 192.168.2.101 > > -- If you require more assistance or if my suggestion works please E-mail me at sh4d03 [at] TPG [dot] com [dot] au. Additionally, if you are able to provide assistance to me and wish to E-mail me directly please also feel free to contact me in this manner. Please ensure you include "Newsgroup_sh4d03" in the subject line. Please pay attention to the capitilisation! Thanks, Sh4d03 |
| |||
| On 2004-10-08, Sh4d03 <sh4d03@TPG.com.au> wrote: > "your routers option is off." > > And how do I turn it on? I can't see how it is "off". ``Off'' as in IT IS WRONG. You're trying to use your neighbour's frontdoor as your own. Details left as an excercise. And quit the top-posting, dammit. -- j p d (at) d s b (dot) t u d e l f t (dot) n l . |
| |||
| "Sh4d03" <sh4d03@TPG.com.au> schrieb im Newsbeitrag news:41665428$1@dnews.tpgi.com.au... > When I changed my file to read this: > > option domain-name "domain.cxm"; > option domain-name-servers 192.168.1.1; > > subnet 192.168.2.1 netmask 255.255.255.0 { > option routers 192.168.1.1; > range 192.168.2.100 192.168.2.199; > } So, where have the changes gone? The router is placed in the subnet? |
| |||
| Dorian Büttner wrote: > "Sh4d03" <sh4d03@TPG.com.au> schrieb im Newsbeitrag > news:41665428$1@dnews.tpgi.com.au... > >>When I changed my file to read this: >> >>option domain-name "domain.cxm"; >>option domain-name-servers 192.168.1.1; >> >>subnet 192.168.2.1 netmask 255.255.255.0 { >> option routers 192.168.1.1; >> range 192.168.2.100 192.168.2.199; >>} > > So, where have the changes gone? The router is placed in the subnet? > > My apologies... I forgot to change the file on the post. The file now reads: option domain-name "domain.cxm"; option domain-name-servers 192.168.1.1; subnet 192.168.2.0/255.255.255.0 netmask 255.255.255.0 { option routers 192.168.1.101; range 192.168.2.100 192.168.2.199; } The file WAS changed and gave these different errors: dhcpd: subnet 192.168.2.0/ ^ dhcpd: dhcpd: Configuration file errors encountered -- exiting The '^' has a tendancy to move around in this Email depending on video resolution etc. So for reference the ^ is pointing at the space after the /. Thanks again for your help. Have you any thoughts as to what JPD is saying by this? He said this if reference to my router options. ``Off'' as in IT IS WRONG. You're trying to use your neighbour's frontdoor as your own. Details left as an excercise. Thanks again, Sh4d03 -- If you require more assistance or if my suggestion works please E-mail me at sh4d03 [at] TPG [dot] com [dot] au. Additionally, if you are able to provide assistance to me and wish to E-mail me directly please also feel free to contact me in this manner. Please ensure you include "Newsgroup_sh4d03" in the subject line. Please pay attention to the capitilisation! Thanks, Sh4d03 |
| |||
| "sh4d03" <sh4d03@TPG.com.au> schrieb im Newsbeitrag news:41672486$1@dnews.tpgi.com.au... > subnet 192.168.2.0/255.255.255.0 netmask 255.255.255.0 { > The file WAS changed and gave these different errors: Uh, ehm, I didn't notice your _that unfamiliar...so 192.168.2.0/255.255.255.0 is an ip/netmask pair, inserted into dhcpd.conf it results into: subnet 192.168.2.0 netmask 255.255.255.0 { and not double-defined subnet 192.168.2.0/255.255.255.0 netmask 255.255.255.0 { next step will probably be to promote a router's address participating that subnet, best practice would be to call it 192.168.2.1, and - of course - the router should be there if you ever want to look outside your subnet. |
| ||||
| sh4d03 <sh4d03@TPG.com.au> wrote in news:41672486$1@dnews.tpgi.com.au: > option domain-name "domain.cxm"; > option domain-name-servers 192.168.1.1; > > subnet 192.168.2.0/255.255.255.0 netmask 255.255.255.0 { > option routers 192.168.1.101; > range 192.168.2.100 192.168.2.199; > } try option domain-name "domain.cxm"; option domain-name-servers 192.168.1.1; subnet 192.168.2.0 netmask 255.255.255.0 { range 192.168.2.100 192.168.2.199; } |