- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- Comware Based
- >
- Re: Switch VLAN Interfaces
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
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
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
тАО02-04-2016 10:38 PM
тАО02-04-2016 10:38 PM
Switch VLAN Interfaces
Hi,
I have a A5120-48G-PoE+ EI (JG237A) switch running Comware Software, Version 5.20.99, Release 2220P02 configured with two VLAN interfaces:
interface Vlan-interface19
description VLAN19
ip address 10.190.80.251 255.255.255.0
#
interface Vlan-interface20
description VLAN20
ip address 10.10.80.1 255.255.255.0
#
ip route-static 0.0.0.0 0.0.0.0 10.10.80.254
In both VLANs, there is a gateway:
VLAN 20: 10.10.80.254
VLAN 19: 10.190.80.254
How do I tell the switch to use the gateway for the corresponding VLAN, when it is pinged on one of the VLAN interfaces?
Regards, Leonardo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2016 03:05 AM
тАО02-05-2016 03:05 AM
Re: Switch VLAN Interfaces
Configure additional, more specific, routes towards networks behind the gateway on VLAN19
example: to reach 192.168.168.0/24 behind 10.190.80.254, configure
ip route-static 192.168.168.0 255.255.255.0 10.190.80.254
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2016 03:28 AM
тАО02-05-2016 03:28 AM
Re: Switch VLAN Interfaces
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2016 05:14 AM
тАО02-05-2016 05:14 AM
Re: Switch VLAN Interfaces
By design the switch will send packets from the interface closest to the destination.
Why not let the L3 switch handle the internal routing, and use a single FW interface?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2016 06:47 PM
тАО02-07-2016 06:47 PM
Re: Switch VLAN Interfaces
A 0.0.0.0 0.0.0.0 n.n.n.n route is a default route. This tells the switch to send all packets to n.n.n.n unless there is a specific route for it.
From what you are saying, you have a bunch of remote subnets, with two paths to reach them.
The remote subnets can be reached either,
by configuring a default route and all traffic will take that route
or
configure routes for each subnet, pointing to the desired link you want traffic to be routed to.
Routing works by looking at the destination IP address in a packet, checking the routing table, and forwarding the packet accordingly.
What you are asking for is for the the *source* IP address to be looked at before making a routing decision. This is not how routing works.
If you want to look at the *source* IP address before making a routing decision, you will need to implement PBR.
Check your switch manual, under "Using ACLs".
PBR should not be used unless there is a very good reason.