Hi again...
Well, I am stuck again :-(
1) I tested this to see how it works, and it's a no go. I am obviously doing something wrong. I went with solution:
VLAN1 = 192.168.0.0/16
VLAN2 = 192.160.0.0/16
VLAN3 = Not defined yet
In my test scenario I have 2 switches, with the following:
Switch1:
Host1: 192.168.1.6/16 (has def gw of 1.1/16)
PC: 192.160.100.200/16 (no gateway)
Switch VLAN2 IP=192.160.100.100/16
Switch VLAN1 IP=192.168.20.10/16
Switch2:
PC: 192.160.100.201 (no gateway)
Switch VLAN2 IP=192.160.100.102/16
Switch VLAN1 IP=192.168.20.22/16
* I have the ports for PC1, PC2 and Host1 to be VLAN1 Untagged and VLAN2 Tagged
* I can ping from PC1 <-> PC2 OK
* IP Routing is enabled on both switches.
* Keep in mind that certain hosts in VLAN1 have a def gw of 192.168.1.1, wheras others do not. (Does this make any diff?)
2 Issues:
Issue1:Simply can't get comms from VLAN1 -> VLAN2 working...
a. These are the requirements:
* Host1 in VLAN1 needs access to the whole of VLAN2
* I will add VLAN3 etc, and hosts in VLAN2,3,n should not have any comms to members of other vlans
* I will add VLAN10 later on (let's say it is a wireless AP), and those hosts may need to connect to a proxy server on VLAN1.
* Hosts in VLAN2 will need access to 1x host in VLAN1.
b. My ACL looks as follow (on both switches)
ip access-list ext vlan2
10 permit icmp 192.168.1.6 0.0.0.0 192.160.100.200 0.0.0.0
20 permit icmp 192.168.1.6 0.0.0.0 192.160.100.201 0.0.0.0
30 permit ip 192.168.1.6 0.0.0.0 192.160.100.200 0.0.0.0
40 permit ip 192.168.1.6 0.0.0.0 192.160.100.201 0.0.0.0
50 deny icmp 192.168.0.0/16 192.160.0.0/16 log
60 deny ip 192.168.0.0/16 192.160.0.0/16 log
vlan 2 ip access-group vlan2 in
Issue2: Since 192.160.0.0 is really a public IP range, I suppose I should not be using it. So this is what I had in mind for the final network:
VLAN1 = 192.168.0.1->192.168.15.254 (/20)(I need that amount of hosts, but even a /21 will do)
VLAN2 = 192.168.16.1->192.168.16.254 (/24)
VLAN3 = 192.168.17.1->192.168.17.254 (/24)
VLAN4 = 192.168.18.1->192.168.18.254 (/24)
The rules in Issue1 will still apply.
I realise that I am asking 3 questions really:
* Can I make it work with VLAN2 being /16 on another range? (i.e 160.x)
* If I do remake the IP range of VLAN1 to /21 or /22, will it work?
* Am I missing something in my ACL.. routing...?
Hope this is clear enough? Your help is (again, very much!) appreciated...