Run a dhcp relay on the remote network and send the packets to pf
interface.

Sent from my iPhone

On Aug 21, 2013, at 8:16 AM, luis torres <[email protected]> wrote:

 Hi list,

heres my problem ..., have my PF in a routed network and I want to manage
the ips of a registration network that is in another router.

heres my confs:

networks:
[10.2.20.0]
dns=10.2.20.251
dhcp_start=10.2.20.10
gateway=10.2.20.251
domain-name=vlan-registration.estradas.pt
named=enabled
dhcp_max_lease_time=30
dhcpd=enabled
type=vlan-isolation
netmask=255.255.255.0
dhcp_end=10.2.20.246
dhcp_default_lease_time=30

pf.conf:
[interface eth0.761]
enforcement=vlan
ip=10.2.20.251
type=internal
mask=255.255.255.0

[interface eth0]
ip=10.1.2.170
type=management
mask=255.255.255.0


dhcp.conf:
subnet 10.2.20.0 netmask 255.255.255.0 {
  option routers 10.2.20.251;
  option subnet-mask 255.255.255.0;
  option domain-name "vlan-isolation.estradas.pt";
  option domain-name-servers 10.2.20.251;
  range 10.2.20.10 10.2.20.246;
  default-lease-time 30;
  max-lease-time 30;
}


The problem is this, the dhcp process is listening on the vlan id 761 , but
the dhcp resquests are arriving via eth0 ( 10.1.2.170) which is my
management interface:

"/usr/sbin/dhcpd -lf /usr/local/pf/var/dhcpd/dhcpd.leases -cf
/usr/local/pf/var/conf/dhcpd.conf -pf /usr/local/pf/var/run/dhcpd.pid
eth0.761"

how can I put pf listening on the eth0 besides the eth0.761? Manually it
works, but everytime I restart PF I have to reconfigure it manually again.


Regards
LT



------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk

_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to