A
A
Alexander2021-01-25 20:44:25
Computer networks
Alexander, 2021-01-25 20:44:25

How to connect two Vlans?

Good afternoon!

The question is simple, but I still have not found a solution ..... I will be grateful for any help or guidance.

There is a HUAWEI 6856 switch, servers are connected to port 1/0/1-5, the same ports are connected to Vlan1141, through port 1/0/23 Vlan3458 are connected to another switch.
Each Vlan is assigned an IP address.
How do I set up routing from vlan1141 to vlan3458, or how do I ping a server on port 1/0/3 with a known IP address beyond port 1/0/23.

Config part:
interface Vlanif1141
ip address 10.78.141.254 255.255.255.0
#
interface Vlanif3458
ip address 10.78.140.118 255.255.255.248
#
interface Vlanif3459
ip address 10.78.140.126
255.258.255.24
interface 10GE1/0/1
port default vlan 1141
#
interface 10GE1/0/2
port default vlan 1141
#
interface 10GE1/0/3
port default vlan 1141
#
interface 10GE1/0/4
port default vlan 1141
#
interface 10GE1/0/5
port default vlan 1141
#
interface 10GE1/0/23
description to SW n58-rs47
port default vlan 3458
#
#
#
ip route-static 10.78.141.0 255.255.255.0 Vlanif3458 10.78.140.0
#
END

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
ky0, 2021-01-25
@ky0

I'm too lazy to google your huawei, but if it's a switch - the presence of an IP address on the interface does not automatically give you the ability to route something, this requires third-level magic.

M
Maxim Korneev, 2021-01-28
@MaxLK

the fact that you have a dedicated segment for switching servers is already good. but this implies that there is also a pool of devices for switching users and all this is combined through the kernel. with such a scheme between switches, the ports should be in a tagged trunk, additional VLANs like vlan3458 are not needed. routing between the user and server VLANs is done at the core. if you want to do it through connecting networks, and what you write implies exactly this, then it's better to raise OSFP. then vlan3458 will contain all docking networks, and OSFP will route all this.
do not forget that routing from network C to network P is not enough, reverse routes are also necessary - without them you will never get a response to a ping. that is, somewhere you must have a route from the network 10.78.140.0 to the network 10.78.141.0

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question