I need some help if it's posible.
I have to configure 2 network cards on a computer that should serve as a DNS server on a OpenBSD as an OS.
As much as I understand network cards are configured in hostname (network card name).
When I opend that file (concrete hostname.d0) was written:
dhcp NONE NONE NONE
And following the instructiones for openBSD I wrote
inet IPadresa-računala 255.255.255.0 NONE
Is that ok?
Also, I can't find how to configure second network card. I know that one should be configured for local network (for about 10 computers) and another for "going out" (-apology for bad english i'm from croatia) but i don't understand how to configure which one more specific in which one do I write for example IP of gateway.
I made in /etc mygate directory in which I wrote gateways IP.
As I could understand from manual gateway should be read from there by default.
For now when ever i ping some other computer or server I get the message
"no route to host".
Can somebody please help?
again sorry for bad english I hope you understand what is my problem and that you can help me