Hello!
I just need some pointers. I know I'm missing something very simple. This
is a student project and I've been stuck for a while. I've successfully got
inline working.
I would like to configure a vlan setup. Please help me in verifying if my
settings are correct. Thank you. (I'm using PF 3.2)
My question: Is it okay to have eth0 as normal vlan, eth0.2 as
registration vlan and eth0.3 as isolation vlan? When I connect a client
machine, I'm not getting a captive portal and I'm getting an IP in
192.168.200.0 range. In addition, do I need to specify the vlans in my
switch 2950? My understanding was that packetfence forces the ports to
switch vlans and so nothing has to be configured in the switch, is this
correct? After going through all the posts, I'm confused.
I've two ethernet cards. eth0 as internal and eth1 as management
here are my settings in pf.conf
[interface eth0]
ip=192.168.200.10
mask=255.255.255.0
gateway=192.168.200.1
type=internal
enforcement=vlan
[interface eth0.2]
ip=192.168.150.10
mask=255.255.255.0
gateway=192.168.150.10
type=internal
enforcement=vlan
[interface eth0.3]
ip=192.168.100.10
mask=255.255.255.0
gateway=192.168.100.10
type=internal
enforcement=vlan
[interface eth1]
ip=192.168.6.172
mask=255.255.255.0
gateway=192.168.6.1
type=management
here are my contents in networks.conf
[192.168.200.0]
type=vlan-normal
netmask=255.255.255.0
gateway=192.168.200.10
next_hop=
named=enabled
dns=192.168.200.10
domain-name=normal.localdomain
dhcpd=enabled
dhcp_start=192.168.200.30
dhcp_end=192.168.200.35
dhcp_default_lease_time=20
dhcp_max_lease_time=20
[192.168.150.0]
type=vlan-registration
netmask=255.255.255.0
gateway=192.168.150.10
next_hop=
named=enabled
dns=192.168.150.10
domain-name=registration.localdomain
dhcpd=enabled
dhcp_start=192.168.150.30
dhcp_end=192.168.150.35
dhcp_default_lease_time=20
dhcp_max_lease_time=20
[192.168.100.0]
type=vlan-isolation
netmask=255.255.255.0
gateway=192.168.100.10
next_hop=
named=enabled
dns=192.168.100.10
domain-name=isolation.localdomain
dhcpd=enabled
dhcp_start=192.168.100.30
dhcp_end=192.168.100.35
dhcp_default_lease_time=20
dhcp_max_lease_time=20
Please guide.
Thank you.
-Walter
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Packetfence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users