dhclient and dhcpd

2008-06-10 Thread Sam Fourman Jr.
quick question I can't seem to figure out
I have a FreeBSD 7 computer and I am having trouble with dhclient

here is my setup

Ethernet cable directly from fxp0 to a DSL Modem(that serves 192.168.0.x via
DHCP)
A wireless card(ral0) in hostap mode it has a static ip of 192.168.1.1. I
have dhcpd running and configured to listen on ral0 interface. it is
supposed to had out DHCP(192.168.1.x) to wifi clients.

fxp0 needs to use dhclient to obtain a IP from the DSL modem
the problem is, if I run dhclient fxp0, I get a reply from the ral0 dhcpd
server.
how do I tell fxp0 to forget about ral0 and listen for the DSL modem's dhcp
server ?

isn't there some quick dhclient.conf setting?


Sam Fourman Jr.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: dhclient and dhcpd

2008-06-10 Thread Tobias Hoellrich
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Sam 
 Fourman Jr.
 Sent: Tuesday, June 10, 2008 3:08 PM
 To: [EMAIL PROTECTED]
 Subject: dhclient and dhcpd
 
 quick question I can't seem to figure out
 I have a FreeBSD 7 computer and I am having trouble with dhclient
 
 here is my setup
 
 Ethernet cable directly from fxp0 to a DSL Modem(that serves 
 192.168.0.x via
 DHCP)
 A wireless card(ral0) in hostap mode it has a static ip of 
 192.168.1.1. I
 have dhcpd running and configured to listen on ral0 interface. it is
 supposed to had out DHCP(192.168.1.x) to wifi clients.
 
 fxp0 needs to use dhclient to obtain a IP from the DSL modem
 the problem is, if I run dhclient fxp0, I get a reply from 
 the ral0 dhcpd
 server.
 how do I tell fxp0 to forget about ral0 and listen for the 
 DSL modem's dhcp
 server ?
 
 isn't there some quick dhclient.conf setting?

man dhclient.conf suggests you should use:

reject 192.168.1.1;

Hope this helps
  Tobias
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]