- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- Comware Based
- >
- Re: Strange behavior with vlan
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2017 08:50 AM
01-23-2017 08:50 AM
Strange behavior with vlan
Hi, i have a hp 5130, and i really dont know whats going on...
the problem is this:
i have, for example, the port g1/0/1 access vlan 2 but... if i connect a host there, and give the ip 192.168.3.5 (another of my subnets... i can go to any where... why it's that...? and vice versa......
This is a little from my config.
interface Vlan-interface2
ip address 192.168.2.1 255.255.255.0
packet-filter 3002 outbound
#
interface GigabitEthernet1/0/5
port access vlan 2
#
interface GigabitEthernet1/0/6
port access vlan 2
interface Vlan-interface3
ip address 192.168.3.1 255.255.255.0
packet-filter 3003 outbound
#
interface GigabitEthernet1/0/7
port access vlan 3
#
interface GigabitEthernet1/0/8
port access vlan 3
acl number 3002 name vl2-PC
rule 10 permit tcp destination 192.168.2.0 0.0.0.255 established
rule 20 permit tcp source 192.168.1.253 0 destination 192.168.2.0 0.0.0.255 syn 1
rule 30 permit tcp source 192.168.2.0 0.0.0.255 destination 192.168.2.0 0.0.0.255 syn 1
rule 50 deny tcp destination 192.168.2.0 0.0.0.255 syn 1
rule 99 permit ip
#
acl number 3003 name vl5
rule 10 permit tcp destination 192.168.3.0 0.0.0.255 established
rule 20 permit tcp source 192.168.1.253 0 destination 192.168.5.0 0.0.0.255 syn 1
rule 30 permit tcp source 192.168.3.0 0.0.0.255 destination 192.168.5.0 0.0.0.255 syn 1
rule 50 deny tcp destination 192.168.3.0 0.0.0.255 syn 1
rule 99 permit ip
where is the problem??
if i undo rule 99 i this problem dosent happend but i loose access to internet to.
Thanks to all (and sorry for my english)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2017 06:56 AM
01-30-2017 06:56 AM
Re: Strange behavior with vlan
So you already have discoverd your problem by yourself, your packet with source.ip 192.168.3.5 passes thru rule 99
rule 99 permit ip
so instead of an any to any you would need a rule for source (subnet 192.168.2.0/24) only before you hit the implicit deny