How to bridge 2 or more interfaces using NE05E?

Created: Jul 11, 2019 06:04:33Latest reply: Jul 18, 2019 09:52:10 137 8 1 0
  Rewarded Hi-coins: 0 (problem resolved)

Hi,


I'm unable to find where and how to create a bridge (like Linux bridge) between 2 or more physical interfaces like if they were the same.

Using version V300R003C10SPC500


Please help, does port-group or bidge-domain does the job?


Best regards.

  • x
  • convention:

Featured Answers
Admin Created Jul 12, 2019 19:19:46 Helpful(1) Helpful(1)

Posted by Oyster at 2019-07-12 04:05 Thanks for replies.What I really need is to have same IP prefixes under multiple interfaces so I can ...
IP address for each interface on the router should be the unique network, so it's impossible to conifgure multi interfaces on the router to connect to the same network and make it work.
But as we suggested, you can disable the routing function of the interface through command portswitch to switch the interface to a layer 2 interface. Then add these interface into the same vlan. Actually, the interface will be added into vlan 1 by default if the layer 3 routing function is disabled. So there isn't any additional configuration needed.
What if you want to add these interfaces into other vlan rather than vlan 1, just modify the default vlan of these interface, so that no VLAN ID is needed on the servers.
  • x
  • convention:

All Answers
LuizPuppin MVE Created Jul 11, 2019 08:28:58 Helpful(2) Helpful(2)

If you use the portswitch commands on the interfaces, create a vlan, and configure the vlan with
Port link-type access
Port default vlan xxxx

If you put same vlan in all ports that you need, the function will be like a bridge
  • x
  • convention:

chenhui Admin Created Jul 11, 2019 14:36:25 Helpful(3) Helpful(3)

@Oyster Hi,
port group is used to create a temporary interface group and adds one or more interfaces to the temporary interface group. The commands excuted under the port group view will be applied to all the group member.

The bridge in linux is more like a virtual switch.
you can disable the layer 3 routing function on the interface to switch it to a layer 2 interface, then add these interfaces into the same vlan.
  • x
  • convention:

Oyster Created Jul 12, 2019 04:05:08 Helpful(0) Helpful(0)

Thanks for replies.

What I really need is to have same IP prefixes under multiple interfaces so I can't disable L3 as I need routing functionality on the interface, then that ports will be connected to a switch.

Will try that, however are you sure the VLAN will do the job for such objective and won't need to configure each system behind with an VLAN ID? Maybe there is a better option for that...
  • x
  • convention:

LuizPuppin MVE Created Jul 12, 2019 08:06:22 Helpful(1) Helpful(1)

Posted by Oyster at 2019-07-11 17:05 Thanks for replies.What I really need is to have same IP prefixes under multiple interfaces so I can ...
If you use the interfaces with default vlan, you don't need to configure vlan tag on other systems.
  • x
  • convention:

LuizPuppin MVE Created Jul 12, 2019 08:09:40 Helpful(1) Helpful(1)

Posted by Oyster at 2019-07-11 17:05 Thanks for replies.What I really need is to have same IP prefixes under multiple interfaces so I can ...
I normaly use this configuration to connect GGC cluster, because it need that 2 or 4 servers connected with the same range.
  • x
  • convention:

chenhui Admin Created Jul 12, 2019 19:19:46 Helpful(1) Helpful(1)

Posted by Oyster at 2019-07-12 04:05 Thanks for replies.What I really need is to have same IP prefixes under multiple interfaces so I can ...
IP address for each interface on the router should be the unique network, so it's impossible to conifgure multi interfaces on the router to connect to the same network and make it work.
But as we suggested, you can disable the routing function of the interface through command portswitch to switch the interface to a layer 2 interface. Then add these interface into the same vlan. Actually, the interface will be added into vlan 1 by default if the layer 3 routing function is disabled. So there isn't any additional configuration needed.
What if you want to add these interfaces into other vlan rather than vlan 1, just modify the default vlan of these interface, so that no VLAN ID is needed on the servers.
  • x
  • convention:

Oyster Created Jul 18, 2019 03:17:13 Helpful(0) Helpful(0)

Thanks @LuizPuppin and @chenhui

I tested as you guys suggested and got it working almost how i wanted:
1) used portswtich command on the interfaces
2) created multiple vlans
3) created vlanif interface per each vlan and assigned IP subnet to them
4) assigned ports to each vlan
5) assigned a default vlan to interfaces

So i got multiple interfaces using same subnets like a switch, and to use multiple subnets i just assign vlan tags of a non default vlan.

Is that the correct way? Or Is there any better alternative?
  • x
  • convention:

LuizPuppin MVE Created Jul 18, 2019 09:52:10 Helpful(0) Helpful(0)

Posted by Oyster at 2019-07-17 16:17 Thanks @LuizPuppin and @chenhuiI tested as you guys suggested and got it working almost how i wanted ...
Yes, this is what we describe to you do.
  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!

Login and enjoy all the member benefits

Login
Fast reply Scroll to top