11-01-2018 06:09 PM - edited 03-08-2019 04:31 PM
Hi, so I apologize at first that I'm new to this type of networking that I'm having to setup and could use some help:
I have 2 Cisco SG500X-24 switches that have 3 vlans (1, 5, 10) and connected via fiber (on different floors) on fiber port 2. I have an IP address setup for the 5 vlan for management, and is untagged to access port 24, but tagged on fiber port 2 (trunk port). The 10 vlan does not have an IP addresses, and it's untagged for ports 1-23, and fiber port 1 and tagged on fiber port 2 (trunk port). The 1 vlan is not on any port.
From my ISP, (which is connected to fiber port 1), I received a "Layer 3 IP" which consists of 50.0.0.40/30 (not real subnet) and has layer 3 ip of 50.0.0.42 with a default gateway of 50.0.0.41. This is the ISP's gateway. Also, I was given a /25 subnet, of 50.0.0.128/25 but no gateway. Just a block of IP's.
Each 1-23 port on each switch (in the 10 vlan) needs to be able to use one of the /25's, however, I'm not sure what to add where to get this routing to work.
I know that if I assign my laptop the IP from the /30, I can surf while plugged into any of the 1-23 ports, so I know the connection to the ISP is valid. Finally, each port in the 1-23 is checked with "protected mode" so users can't go sniffing around.
Any help would be greatly appreciated!
11-01-2018 09:05 PM
Hi,
As I a getting your point that you are connecting your ISP connection direct to switch. But it is not possible becuase your ISP has supplied /30 subnet (Public IP). Now you need a router to perform NATing for your internal subnet. Your connection must be like:
ISP Connection-------->Router--------------->SG300
Public Network NAT+routing Switching.
NATing is not possible on the SG300 Switch.
Regards,
Deepak Kumar
11-02-2018 02:35 PM
11-02-2018 03:01 PM
Hello,
50.0.0.40/30 and 50.0.0.128/25 are not overlapping, so why don't you just assign an IP address such as 50.0.0.129/25 to the VLAN 10 interface and then the remaining IP addresses from the 50.0.0.128/25 range to your clients in VLAN 10, with the VLAN 10 interface being the default gateway ?
Sorry if this sounds too simple, I might have missed your point...
11-02-2018 03:03 PM
11-02-2018 03:15 PM
Hello,
I assume you have IPv4 routing enabled (page 274 of the attached admin guide) ? Do you have the next hop router IP address defined as well (page 276) ? With IPv4 routing enabled, routing between your VLAN 10 interface and the WAN interface should be automatic...
11-11-2018 09:25 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide