Quote:
Originally Posted by
Peter_APIIT
I check an articles mentioned that my option routers must same with interface address. IS it true ? Mine one is not same.
Right. Take this slowly.
1. There is the router address that your openbsd box will use as it's default gateway.
2. If the box is acting as a DHCP server then it needs to advertise it's own address as default router for use by a DHCP client, eg another machine that is getting all it's network config from your openbsd box.
So you really really need to get to understand IP routing.
Then you need to get your openbsd box working first, with *all* it's interfaces up.
Only, only then do you start trying to configure it as a dhcp server.
I feel like we are going round and round in circles because you want to just configure it all in one go without going through the step by step from the bottom to the top.
And by step by step I mean you configure one thing then confirm that it does the job that item was supposed to do, recycle the machine a couple of times and prove it's a persistent configuration, then move onto the next step.
You cannot trouble shoot a dhcp serving gateway it you don't understand IP networking.