Jump to content

r2s bridge mode eth0 lan0


sami
Go to solution Solved by arox,

Recommended Posts

hello guys,

 

how to activate bridge mode between the 2 ethernet ports of R2S (WAN and LAN) which are referred to as eth0 and lan0 respectively, so as both of them have the same ip address.

 

i tried this https://wiki.debian.org/BridgeNetworkConnections#Manual_bridge_setup but when i reach the command which adds interfaces to the bridge (# brctl addif br0 eth0 lan0)then the ssh connection is lost.

 

i noticed something as well, in interfaces file i added eth0 and lan0 and gave each one a different ip. but then it seems as is now i have two IPs but for the same port (WAN), and no ip for lan port!!!

 

 

Link to comment
Share on other sites

  • Solution

As stated in the tutorial, you should assign an address to the bridge only.

 

The bridge forward everything on data link layer and the interface of the bridge then form/extract IP packet. Otherwise you will have a hard time to manage kernel routing tables...

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines