Hello Hasbullah,
Can you try to remove your gateway on eth0.

route del default eth0

regards,

[email protected] :: +1.514.447.4918 (x130) :: www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

On 13-03-12 03:50 AM, Hasbullah Mazlan wrote:
Hello all,

i had installed and configure the PacketFence 3.6 on Debian 6, trough "apt-get install packetfence"

i had read and follow some suggestion/solution in mailing list, but still failed
i want to build access controller that have 2 interface (eth0 & wlan0)
eth0 (192.168.1.1) --- internal network (managed by me) (192.168.1.10 - 192.168.1.200)
wlan0 (10.1.114.28) --- external network (Internet)

(Network) - - - - - eth0 : Packetfence : wlan0 - - - - - (Internet)

my client using iPad + laptop can get the address through pf
client can ping to ip address for eth0, but, cannot ping to www.google.com <http://www.google.com> or ip address (10.1.114.28) for wlan0

if from packetfence, i can ping all clients and www.google.com <http://www.google.com>

1) here is my pf.conf:

[general]
domain=example.local
hostname=pf
dnsservers=192.228.137.100,192.228.138.100
dhcpservers=192.168.1.1

[database]
pass=pf

[interface eth0]
enforcement=inline
ip=192.168.1.1
type=internal,monitor
mask=255.255.255.0
gateway=192.168.1.1

[interface wlan0]
enforcement=
ip=10.1.114.28
mask=255.255.252.0
type=external,management
gateway=10.1.115.254

2) here is my networks.conf:
[192.168.1.0]
netmask=255.255.255.0
gateway=192.168.1.1
next_hop=
domain-name=inline.example.local
dhcp_start=192.168.1.10
dhcp_end=192.168.1.200
dhcp_default_lease=300
dhcp_max_lease_time=600
type=inline
named=enabled
dhcpd=enabled
dns=192.228.137.100

3) here is my routing table (using "sudo route"):

Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0     *     255.255.255.0     U     0     0     0   eth0
10.1.112.0     *     255.255.252.0     U     0     0     0   wlan0
default     10.1.115.254     0.0.0.0     UG     0     0     0     wlan0
default     192.168.1.1     0.0.0.0     UG     0     0     0     eth0

4) using "sudo ip rou"
192.168.1.0/24 <http://192.168.1.0/24> dev eth0 proto kernel scope link src 192.168.1.1 10.1.112.0/22 <http://10.1.112.0/22> dev eth0 proto kernel scope link src 10.1.114.28
default     via     10.1.115.254     dev     wlan0
default     via     192.168.1.1     dev     eth0     scope   link


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar


_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to