![]() |
|
|||||||
| OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
![]() |
|
|
Thread Tools | Display Modes |
|
|||
|
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
Last edited by kla; 2nd June 2009 at 11:49 AM. Reason: Title |
|
|||||
|
Quote:
Quote:
# ifconfigwill list your NICs. Quote:
Quote:
Quote:
To use OpenBSD as a router, you must enable packet forwarding. Edit /etc/sysctl.conf, and set net.inet.ip.forwarding=1. If your local network to-be-routed is a private network, you must enable NAT. That can only be done with PF. Tell us more about what you are trying to accomplish, and we can provide more help.
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
Thx I still have problems, I posted it in new thread:
I need to set up a firewall and a DNS server on a single computer |
|
||||
|
There was no need, your new thread is on the same topic, merely clarifying your question.
For those forum members who wish to follow this "conversation" to the new thread, here is a link: http://www.daemonforums.org/showthread.php?t=3381
__________________
OpenBSD LiveCDs/LiveDVDs |
![]() |
| Thread Tools | |
| Display Modes | |
|
|