Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
pfSense Forum
pfSense English Support
»
DHCP and DNS
»
DHCRELAY Issues
Username:
Password:
1 Hour
1 Day
1 Week
1 Month
Forever
Home
Help
Search
Login
Register
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: DHCRELAY Issues (Read 829 times)
0 Members and 1 Guest are viewing this topic.
CoinTos
Newbie
Offline
Posts: 11
DHCRELAY Issues
«
on:
June 19, 2012, 03:48:44 pm »
Hi all,
I can't get dhcprelay in pfsense 2.0.1, configured in the web gui, to acknowledge the dhcp request. I have tried everything I can think of, first the firewall was blocking it, no problem, added an "allow any" rule on OPT1 for testing. DHCRELAY still doesn't report that it recieves the request, at this point I am just looking for pfsense to tell me it at least received the request and tried to forward it.
Anybody have it working?
I really would like to learn how to get the relay to work. Worst case, since this is just a home network/playground, I can bypass pfsense relay and run a direct dhcp server network line to the switch. The point of this is just to place my wifi on a separate subnet with it own domain prefix.
Thanks in advance.
Logged
wallabybob
Hero Member
Offline
Posts: 4808
Re: DHCRELAY Issues
«
Reply #1 on:
June 19, 2012, 04:25:30 pm »
Have you verified OPT1 is receiving DHCP requests to relay? (Packet capture or firewall log could verify.)
Logged
CoinTos
Newbie
Offline
Posts: 11
Re: DHCRELAY Issues
«
Reply #2 on:
June 20, 2012, 03:37:34 pm »
So as you suggested, I packet captured under full on OPT1 and I can see the multiple BOOTP/DHCP requests but dhcrelay doesn't reply. dhcreply is running in the process list and it set through the web gui to monitor OPT1 only and relay to dhcp server's ip. I must be missing something.
Logged
cmb
Administrator
Hero Member
Offline
Posts: 6055
Re: DHCRELAY Issues
«
Reply #3 on:
June 20, 2012, 07:42:23 pm »
dhcrelay in itself doesn't reply. You're seeing the traffic ingress, so next check the egress interface to verify it's leaving, headed to the DHCP server. My guess is it is (as it's basically impossible to set it up wrong unless you're relaying to the wrong IP), and your DHCP server isn't responding. Usually that would be because it isn't configured with a scope on the relayed interface's subnet.
Logged
pfSense Commercial Support
Paying customers receive support priority and as in depth of assistance as desired through the official commercial support channels at portal.pfsense.org. Forum users receive as much help as time permits.
CoinTos
Newbie
Offline
Posts: 11
Re: DHCRELAY Issues
«
Reply #4 on:
June 21, 2012, 11:52:08 am »
OK, I am getting some where now. You are correct the problem now lies with the dhcp server. So I tried opening udp ports 67 and 68 on that server incase it's firewall was blocking the relay, even though broadcast dhcp works, no dice. Is there anything special to do with dhcpd for receiving the unicast forward?
Logged
cmb
Administrator
Hero Member
Offline
Posts: 6055
Re: DHCRELAY Issues
«
Reply #5 on:
June 21, 2012, 03:07:46 pm »
Shouldn't be anything you have to do on the DHCP server other than add a scope for that additional network.
Logged
pfSense Commercial Support
Paying customers receive support priority and as in depth of assistance as desired through the official commercial support channels at portal.pfsense.org. Forum users receive as much help as time permits.
CoinTos
Newbie
Offline
Posts: 11
Re: DHCRELAY Issues
«
Reply #6 on:
June 21, 2012, 03:30:10 pm »
Hmmmm... OK I have that set in my dhcpd.conf so some firewall rule on the server running dhcpd is blocking it from either sending or receiving the request. Thanks for all your help, I will have to continue to poke at this one.
Edit:
Got it to work, not exactly quite sure how yet. I did end up changing the listening ethernet port as 2 of 4 are on the same subnet/switch and deleting the dhcp ports firewall rule and it just started working. Thanks again for the help and direction.
«
Last Edit: June 21, 2012, 05:24:38 pm by CoinTos
»
Logged
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Administrative
-----------------------------
=> Forum rules
=> Messages from the pfSense Team
=> Feedback
-----------------------------
pfSense English Support
-----------------------------
=> Installation and Upgrades
=> General Questions
=> 2.1 Snapshot Feedback and Problems
=> Post a bounty
===> Completed Bounties
===> Expired/Withdrawn Bounties
=> Hardware
=> Firewalling
=> NAT
=> CARP/VIPs
=> Routing and Multi WAN
=> Traffic Shaping
=> DHCP and DNS
=> IPv6
=> IPsec
=> PPTP
=> PPPoE Server
=> Captive Portal
=> webGUI
=> Wireless
=> SNMP
=> Packages
=> Virtualization installations and techniques
=> OpenVPN
=> Gaming
-----------------------------
Development/Documentation
-----------------------------
=> Documentation
=> Development
-----------------------------
General Category
-----------------------------
=> General Discussion
-----------------------------
International Support
-----------------------------
=> Indonesian
=> Deutsch
=> Español
=> Français
=> Italiano
=> Russian
=> Nederlands
=> Norwegian
=> Portuguese
=> Polish
=> Romanian
=> Swedish
=> Turkish
-----------------------------
Retired
-----------------------------
=> 1.2.3-PRERELEASE-TESTING snapshots - RETIRED
=> 1.2.1-RC Snapshot Feedback and Problems-RETIRED
=> 2.0-RC Snapshot Feedback and Problems - RETIRED
=> DNS Server testing area - RETIRED
Loading...