OpenBSD 4.1 DHCP and Router Problem

Submitted by Anonymous
on December 29, 2007 - 12:44am

Hello all expert network administrator, i have set up the dhcp for my own local network but all my client cannot access the internet. I have no diea why.
Pinging Opebsd -> desktop Not ok Desktop -> OpenBSD ok
/etc/hostname.rl1 : inet 176.16.10.1 255.255.255.0 NONE
/etc/hostname.ral0 : inet 192.168.2.1 255.255.255.0 NONE
/etc/dhcpd.conf : shared-network LOCAL-NET { subnet 176.16.10.0 netmask 255.255.255.0 option routers 176.16.10.1; range 176.16.10.10 176.16.10.12; }}
shared-network WIRELESS { subnet 192.168.2.0 netmask 255.255.255.0 option routers 192.168.2.1 range 192.168.2.3 192.168.2.5;}
I hope you all can help me because i really run out of any idea.
A billion thanks for your help and a 90degree bow to you all. Thanks again.

im not an network expert

bb_ (not verified)
on
January 11, 2008 - 2:35pm

im not an network expert but:
check if u have packet fowarding enabled in /etc/sysctl.conf
net.inet.ip.forwarding=1
check if you have enabled packet filter (pf) in /etc/rc.conf
pf=YES
you mabye need simply NAT rule in
/etc/pf.conf
something like this:
nat on $ext_if from !$ext_if to any -> $ext_if

details in "man pf.conf"

still dont work?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.