Which MAC Address do I use when bridging two physical network interfaces?
Clash 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
openwrt
add a comment |Â
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
openwrt
add a comment |Â
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
openwrt
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
openwrt
edited 23 mins ago
asked 32 mins ago
Jonathan Komar
7711829
7711829
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password