Changes between Version 1 and Version 2 of Bridge


Ignore:
Timestamp:
01/28/23 00:38:58 (22 months ago)
Author:
krit
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Bridge

    v1 v2  
    11= Bridge WAN LAN =
    22
    3 On GLiNet X300B has 2 RJ-45 port one for LAN the other for WAN. We want to use both RJ-45 as LAN port. We edit '''/etc/config/network'''.
     3On GLiNet X300B has 2 RJ-45 port one for LAN the other for WAN. We want to use both RJ-45 as LAN port. We edit '''/etc/config/network'''. [[br]]
     4WAN port was on '''eth1''' so we just add eth1 to br-lan.
     5{{{
     6root@OpenWrt:~# brctl addif br-lan eth1
     7root@OpenWrt:~# brctl show
     8bridge name     bridge id               STP enabled     interfaces
     9br-lan          7fff.9483c41c5c43       no              wlan0
     10                                                        eth1
     11                                                        eth0.1
     12}}}
     13To make it permanent bridge, use following config.
    414{{{
    515root@OpenWrt:~# cat /etc/config/network