On Apr 16, 2007, at 10:54 PM, Bray Mailloux wrote:
I have one static ip address which is assigned to one of my
ethernet cards, specifically rl0. Ip fowarding is turned on and
dhcp is active and listening on another ethernet card, specifically
rl1.
Route and routed man pages have offered some tidbits of information
but not enough to answer my troubleshooting questions. For example,
dhcp is distributed address and internal network computers are
receiving the dynamic address but cannot resolve any name servers
or an internet connection.
Now, I'm new to setting up networks and OpenBSD but feel like this
is as good an opportunity to learn the system from the ground up.
Here is some system information to guide anyone along.
rl0 = 64.142.102.8
rl1 = 192.168.0.1
workgroup client #1 = dynamic 192.168.1.20
dhcpd.conf
shared-network LOCAL-NET {
option domain-name "theamericanbray.com";
option domain-name-servers 208.204.224.11, 208.204.224.33;
subnet 192.168.0.0 netmask 255.255.0.0 {
option routers 192.168.0.1;
Are you sure you want 255.255.0.0 as your netmask? It should be
255.255.255.0. This could be the problem.
range 192.168.0.14 192.168.0.23;
}
}
Routing Table
Internet:
Destination Gateway Flags
Refs Use Mtu Interface
64.142.102/24 link#1 UC
1 0 - rl0
allen 00:50:bf:3a:2e:66 UHLc
1 0 - lo0
localhost localhost UH
0 0 33224 lo0
192.168.0/24 link#2 UC
1 0 - rl1
192.168.0.1 allen UGHS
0 0 - rl0
192.168.0.20 00:0d:61:03:8f:f6 UHLc
0 20 - rl1
To recap, my workgroup clients using dynamic addressing cannot use
the internet.
Please and Thank You
PS. I want ipv6 turned off and if anyone has a link to using IPsec
on OpenBSD in the form of some tutorial would be just dynamite.
Explosive, ya know? Potentially dangerous. Red. Bang.
man ipsec
man ipsec.conf
That should get you started. Presumably other clients work fine? You
don't mention anything about nat. Is nat setup correctly in pf.conf?
Bryan