Which MAC Address do I use when bridging two physical network interfaces?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












This article https://openwrt.org/docs/guide-user/network/wifi/dumbap about creating a bridged access point only is clearly incomplete, but mentions this example:



config interface lan
option type 'bridge'
option ifname 'eth0 eth1' # Bridges lan and wan
option proto 'dhcp' # Change as appropriate


then later this which is for devices with a dedicated switch (my situation, I suppose, but I don't understand the eth0.1 VLAN)



config interface lan
option type 'bridge'
option ifname 'eth0.1 eth1' # Bridges vlan 1 and wan
option proto 'dhcp' # Change as appropriat


Now call me out if I'm wrong, but eth0 and eth1 represent two different physical interfaces. This begs the question: Which MAC address do I use to tell the main router's dhcp server to reserve a static ip address. The device I am using for the access point is a Netgear R7800.



root@netgear-r7800:~# ls -l /sys/class/net
lrwxrwxrwx 1 root root 0 Oct 20 16:05 br-lan -> ../../devices/virtual/net/br-lan
lrwxrwxrwx 1 root root 0 Jan 1 1970 eth0 -> ../../devices/platform/soc/37200000.ethernet/net/eth0
lrwxrwxrwx 1 root root 0 Jan 1 1970 eth1 -> ../../devices/platform/soc/37400000.ethernet/net/eth1
lrwxrwxrwx 1 root root 0 Nov 1 07:57 gre0 -> ../../devices/virtual/net/gre0
lrwxrwxrwx 1 root root 0 Nov 1 07:57 gretap0 -> ../../devices/virtual/net/gretap0
lrwxrwxrwx 1 root root 0 Nov 1 07:57 ifb0 -> ../../devices/virtual/net/ifb0
lrwxrwxrwx 1 root root 0 Nov 1 07:57 ifb1 -> ../../devices/virtual/net/ifb1
lrwxrwxrwx 1 root root 0 Jan 1 1970 lo -> ../../devices/virtual/net/lo
lrwxrwxrwx 1 root root 0 Nov 1 07:57 sit0 -> ../../devices/virtual/net/sit0
lrwxrwxrwx 1 root root 0 Oct 20 16:05 wlan0 -> ../../devices/platform/soc/1b500000.pci/pci0000:00/0000:00:00.0/0000:01:00.0/net/wlan0
lrwxrwxrwx 1 root root 0 Oct 20 16:05 wlan1 -> ../../devices/platform/soc/1b700000.pci/pci0001:00/0001:00:00.0/0001:01:00.0/net/wlan1
lrwxrwxrwx 1 root root 0 Oct 20 16:05 wlan1-1 -> ../../devices/platform/soc/1b700000.pci/pci0001:00/0001:00:00.0/0001:01:00.0/net/wlan1-1









share|improve this question



























    up vote
    0
    down vote

    favorite












    This article https://openwrt.org/docs/guide-user/network/wifi/dumbap about creating a bridged access point only is clearly incomplete, but mentions this example:



    config interface lan
    option type 'bridge'
    option ifname 'eth0 eth1' # Bridges lan and wan
    option proto 'dhcp' # Change as appropriate


    then later this which is for devices with a dedicated switch (my situation, I suppose, but I don't understand the eth0.1 VLAN)



    config interface lan
    option type 'bridge'
    option ifname 'eth0.1 eth1' # Bridges vlan 1 and wan
    option proto 'dhcp' # Change as appropriat


    Now call me out if I'm wrong, but eth0 and eth1 represent two different physical interfaces. This begs the question: Which MAC address do I use to tell the main router's dhcp server to reserve a static ip address. The device I am using for the access point is a Netgear R7800.



    root@netgear-r7800:~# ls -l /sys/class/net
    lrwxrwxrwx 1 root root 0 Oct 20 16:05 br-lan -> ../../devices/virtual/net/br-lan
    lrwxrwxrwx 1 root root 0 Jan 1 1970 eth0 -> ../../devices/platform/soc/37200000.ethernet/net/eth0
    lrwxrwxrwx 1 root root 0 Jan 1 1970 eth1 -> ../../devices/platform/soc/37400000.ethernet/net/eth1
    lrwxrwxrwx 1 root root 0 Nov 1 07:57 gre0 -> ../../devices/virtual/net/gre0
    lrwxrwxrwx 1 root root 0 Nov 1 07:57 gretap0 -> ../../devices/virtual/net/gretap0
    lrwxrwxrwx 1 root root 0 Nov 1 07:57 ifb0 -> ../../devices/virtual/net/ifb0
    lrwxrwxrwx 1 root root 0 Nov 1 07:57 ifb1 -> ../../devices/virtual/net/ifb1
    lrwxrwxrwx 1 root root 0 Jan 1 1970 lo -> ../../devices/virtual/net/lo
    lrwxrwxrwx 1 root root 0 Nov 1 07:57 sit0 -> ../../devices/virtual/net/sit0
    lrwxrwxrwx 1 root root 0 Oct 20 16:05 wlan0 -> ../../devices/platform/soc/1b500000.pci/pci0000:00/0000:00:00.0/0000:01:00.0/net/wlan0
    lrwxrwxrwx 1 root root 0 Oct 20 16:05 wlan1 -> ../../devices/platform/soc/1b700000.pci/pci0001:00/0001:00:00.0/0001:01:00.0/net/wlan1
    lrwxrwxrwx 1 root root 0 Oct 20 16:05 wlan1-1 -> ../../devices/platform/soc/1b700000.pci/pci0001:00/0001:00:00.0/0001:01:00.0/net/wlan1-1









    share|improve this question

























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      This article https://openwrt.org/docs/guide-user/network/wifi/dumbap about creating a bridged access point only is clearly incomplete, but mentions this example:



      config interface lan
      option type 'bridge'
      option ifname 'eth0 eth1' # Bridges lan and wan
      option proto 'dhcp' # Change as appropriate


      then later this which is for devices with a dedicated switch (my situation, I suppose, but I don't understand the eth0.1 VLAN)



      config interface lan
      option type 'bridge'
      option ifname 'eth0.1 eth1' # Bridges vlan 1 and wan
      option proto 'dhcp' # Change as appropriat


      Now call me out if I'm wrong, but eth0 and eth1 represent two different physical interfaces. This begs the question: Which MAC address do I use to tell the main router's dhcp server to reserve a static ip address. The device I am using for the access point is a Netgear R7800.



      root@netgear-r7800:~# ls -l /sys/class/net
      lrwxrwxrwx 1 root root 0 Oct 20 16:05 br-lan -> ../../devices/virtual/net/br-lan
      lrwxrwxrwx 1 root root 0 Jan 1 1970 eth0 -> ../../devices/platform/soc/37200000.ethernet/net/eth0
      lrwxrwxrwx 1 root root 0 Jan 1 1970 eth1 -> ../../devices/platform/soc/37400000.ethernet/net/eth1
      lrwxrwxrwx 1 root root 0 Nov 1 07:57 gre0 -> ../../devices/virtual/net/gre0
      lrwxrwxrwx 1 root root 0 Nov 1 07:57 gretap0 -> ../../devices/virtual/net/gretap0
      lrwxrwxrwx 1 root root 0 Nov 1 07:57 ifb0 -> ../../devices/virtual/net/ifb0
      lrwxrwxrwx 1 root root 0 Nov 1 07:57 ifb1 -> ../../devices/virtual/net/ifb1
      lrwxrwxrwx 1 root root 0 Jan 1 1970 lo -> ../../devices/virtual/net/lo
      lrwxrwxrwx 1 root root 0 Nov 1 07:57 sit0 -> ../../devices/virtual/net/sit0
      lrwxrwxrwx 1 root root 0 Oct 20 16:05 wlan0 -> ../../devices/platform/soc/1b500000.pci/pci0000:00/0000:00:00.0/0000:01:00.0/net/wlan0
      lrwxrwxrwx 1 root root 0 Oct 20 16:05 wlan1 -> ../../devices/platform/soc/1b700000.pci/pci0001:00/0001:00:00.0/0001:01:00.0/net/wlan1
      lrwxrwxrwx 1 root root 0 Oct 20 16:05 wlan1-1 -> ../../devices/platform/soc/1b700000.pci/pci0001:00/0001:00:00.0/0001:01:00.0/net/wlan1-1









      share|improve this question















      This article https://openwrt.org/docs/guide-user/network/wifi/dumbap about creating a bridged access point only is clearly incomplete, but mentions this example:



      config interface lan
      option type 'bridge'
      option ifname 'eth0 eth1' # Bridges lan and wan
      option proto 'dhcp' # Change as appropriate


      then later this which is for devices with a dedicated switch (my situation, I suppose, but I don't understand the eth0.1 VLAN)



      config interface lan
      option type 'bridge'
      option ifname 'eth0.1 eth1' # Bridges vlan 1 and wan
      option proto 'dhcp' # Change as appropriat


      Now call me out if I'm wrong, but eth0 and eth1 represent two different physical interfaces. This begs the question: Which MAC address do I use to tell the main router's dhcp server to reserve a static ip address. The device I am using for the access point is a Netgear R7800.



      root@netgear-r7800:~# ls -l /sys/class/net
      lrwxrwxrwx 1 root root 0 Oct 20 16:05 br-lan -> ../../devices/virtual/net/br-lan
      lrwxrwxrwx 1 root root 0 Jan 1 1970 eth0 -> ../../devices/platform/soc/37200000.ethernet/net/eth0
      lrwxrwxrwx 1 root root 0 Jan 1 1970 eth1 -> ../../devices/platform/soc/37400000.ethernet/net/eth1
      lrwxrwxrwx 1 root root 0 Nov 1 07:57 gre0 -> ../../devices/virtual/net/gre0
      lrwxrwxrwx 1 root root 0 Nov 1 07:57 gretap0 -> ../../devices/virtual/net/gretap0
      lrwxrwxrwx 1 root root 0 Nov 1 07:57 ifb0 -> ../../devices/virtual/net/ifb0
      lrwxrwxrwx 1 root root 0 Nov 1 07:57 ifb1 -> ../../devices/virtual/net/ifb1
      lrwxrwxrwx 1 root root 0 Jan 1 1970 lo -> ../../devices/virtual/net/lo
      lrwxrwxrwx 1 root root 0 Nov 1 07:57 sit0 -> ../../devices/virtual/net/sit0
      lrwxrwxrwx 1 root root 0 Oct 20 16:05 wlan0 -> ../../devices/platform/soc/1b500000.pci/pci0000:00/0000:00:00.0/0000:01:00.0/net/wlan0
      lrwxrwxrwx 1 root root 0 Oct 20 16:05 wlan1 -> ../../devices/platform/soc/1b700000.pci/pci0001:00/0001:00:00.0/0001:01:00.0/net/wlan1
      lrwxrwxrwx 1 root root 0 Oct 20 16:05 wlan1-1 -> ../../devices/platform/soc/1b700000.pci/pci0001:00/0001:00:00.0/0001:01:00.0/net/wlan1-1






      openwrt






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 23 mins ago

























      asked 32 mins ago









      Jonathan Komar

      7711829




      7711829

























          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f479231%2fwhich-mac-address-do-i-use-when-bridging-two-physical-network-interfaces%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f479231%2fwhich-mac-address-do-i-use-when-bridging-two-physical-network-interfaces%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Bahrain

          Postfix configuration issue with fips on centos 7; mailgun relay