AGBBCA
asked on
What should my switch IP adress be?
I am looking for a quick answer, hence the points. I am new to networking and could really use some expert advice. I have a router with an IP address of 192.168.1.100 (for example). I have a switch behind the router that will have three computers and two servers. I will also have a couple of personal computers behind the router connected to the same switch. My intentions was to have two Vlans, 1 for business and one for personal. My questions are as follows:
1. Should the IP address of the switch be within the router i.e. 192.168.1.1 and Vlan 2 is 192.168.1.2?
2. Should I use NAT with the switch and would that make it more secure?
I look forward to your answers and really appreciate your knowledge!
Thank You,
Ryan
1. Should the IP address of the switch be within the router i.e. 192.168.1.1 and Vlan 2 is 192.168.1.2?
2. Should I use NAT with the switch and would that make it more secure?
I look forward to your answers and really appreciate your knowledge!
Thank You,
Ryan
Regarding the NAT Question, since 192.168.x.x addresses are non-Internet addresses, you definitely will need to have NAT enabled on the router if you want these machines to access the Internet and have enough IPs for VLANs.
ASKER
Thanks for your quick reply! A couple other questions.
1. If my Vlan 1 is 192.168.2.100 would all other devices need to be below or above the xxx.xxx.x.100 point. (i.e. 192.168.2.99 or 192.168.2. 101
2. Could you please further define what you mean by route between Vlan and router. Does that mean that my router should or should not be 192.168.x.xx. Could you please explain, I am trying to understand this but for some reason it is not clicking!
Thank You Again!
1. If my Vlan 1 is 192.168.2.100 would all other devices need to be below or above the xxx.xxx.x.100 point. (i.e. 192.168.2.99 or 192.168.2. 101
2. Could you please further define what you mean by route between Vlan and router. Does that mean that my router should or should not be 192.168.x.xx. Could you please explain, I am trying to understand this but for some reason it is not clicking!
Thank You Again!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
THank You, I understand what you are saying. I really appreciate your help!
This means each VLAN should be part of a separate subnet. So if I assume you are using the default Class C subnets (Mask 255.255.255.0), then VLAN1 should look like 192.168.2.X and VLAN2 should look like 192.168.3.X
You will need to route between the VLANs in your setup to access your router which I assume will be part of a 3rd VLAN.