Got it

How to bridge 2 or more interfaces using NE05E?

Created: Jul 10, 2019 22:04:33Latest reply: Jul 18, 2019 01:52:10 568 8 1 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hi Team,

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 bridge-domain does the job?

Best regards.

Featured Answers

Recommended answer

chenhui
Admin Created Jul 12, 2019 11:19:46

Posted by Oyster at 2019-07-11 20: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.
View more
  • x
  • convention:

All Answers
LuizPuppin
LuizPuppin HCIE Author Created Jul 11, 2019 00:28:58

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
View more
  • x
  • convention:

@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.
View more
  • x
  • convention:

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...
View more
  • x
  • convention:

LuizPuppin
LuizPuppin HCIE Author Created Jul 12, 2019 00:06:22

Posted by Oyster at 2019-07-11 09: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.
View more
  • x
  • convention:

LuizPuppin
LuizPuppin HCIE Author Created Jul 12, 2019 00:09:40

Posted by Oyster at 2019-07-11 09: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.
View more
  • x
  • convention:

Posted by Oyster at 2019-07-11 20: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.
View more
  • x
  • convention:

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?
View more
  • x
  • convention:

LuizPuppin
LuizPuppin HCIE Author Created Jul 18, 2019 01:52:10

Posted by Oyster at 2019-07-17 08: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.
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

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 " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.