Hi,
I have some networks connected through wireless.
My Linux server eth1 device connected to HP 2524 swich`s 25th port.
One Access Point (192.168.5.1) connected to 1st port, second (192.168.5.2) to 2nd port. My clients have address 192.168.0.0/24. This is how i did:
# Swich configuration
config t
vlan 2
untagged 1
tagged 25
exit
vlan 3
untagged 2
tagged 25
exit
# Linux router configuration
vconfig set_name_type VLAN_PLUS_VID
vconfig add eth1 2
ifconfig vlan0002 192.168.0.254 netmask 255.255.255.255
ifconfig vlan0002:1 192.168.5.254 netmask 255.255.255.0
route add 192.168.0.1 dev vlan0002
vconfig add eth1 3
ifconfig vlan0003 192.168.0.254 netmask 255.255.255.255
ifconfig vlan0003:1 192.168.0.254 netmask 255.255.255.0
route add 192.168.0.2 dev vlan003
# done
Is any other way to isolate users from each other with ip's from same range? Maybe is any "port based" vlans?