01-17-2016 06:24 PM - edited 02-21-2020 05:42 AM
I'm wondering if what I'm trying to do is even possible. I have a Cisco 3750G switch. I issued "no switchport" on one port on my switch so that I could assign an ACL to that port on outbound traffic. Before, I had it joined to one of my vlans, but I couldn't assign an ACL to that port on outbound traffic, only inbound. But now, because the host I want to have connected to the port needs to be in my 10.0.0.0/24 subnet, I'm stuck. Whenever I try to issue "ip address 10.0.0.5" on the port, I get the error "10.0.0.5 overlaps with vlan10". I'm fairly certain that I can do vlan ACLs, but I saw in Cisco documentation that IGMP protocol isn't checked against the vlan ACL, which I would like to be checked. Do I have any options at this point? I'd greatly appreciate any help.
01-17-2016 06:44 PM
You could look at using "switchport protected". You should be able to mark all your workstation ports as "switchport protected" as they should not need to talk to each other.
01-17-2016 06:51 PM
Philip, thanks for your fast response. I'm using this switch for my home network, and my servers are on the 10.0.0.0/24 subnet too. I should have explicitly stated that I just want the one port to only be able to see my default gateway, and not the rest of the network, while still allowing all other hosts to communicate with the rest of the network. Otherwise, using switchport protected on all the ports would work.
01-17-2016 06:55 PM
I see two simple solutions, and one more complex solution:
01-17-2016 07:03 PM
I can't do the either of the simpler solutions, but the more complex one would work. I feared that I would have to end up editing the subnet masks. I'll leave this thread open to see if anyone else might have any other ideas. Thanks for your help so far, I appreciate it.
01-17-2016 07:08 PM
How come you can't just remove the default gateways on the machines you don't want to access the Internet?
01-17-2016 07:14 PM
I still want all my hosts to access the Internet, I just want to permit the host using 10.0.0.5 to only see 10.0.0.1 (my default gateway) so that it can access the Internet. I want to make sure that it cannot see any other hosts in the 10.0.0.0/24 network.
01-17-2016 07:17 PM
Then back to your plan 'A'. Create a layer 3 port to the one host and put an ACL on it. This should be a new /30 stub, and not be inside your existing subnet.
01-18-2016 12:23 PM
I changed my host I want to block to use 10.0.10.2/24 and gave my port 24 on my switch 10.0.10.1/24. I don't know what I need to do to get port 24 to forward traffic to my default gateway (10.0.0.1). I'd appreciate any help on this.
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