Hey all. I've posted before about trying to set this up on my ASUS RT-AC3200 in AP mode however I think the way I worded it must've been confusing or probably didn't make sense however I have been browsing the forums and trying to learn how to do this my myself but I've run into some issues.
To keep it simple this time, I want to created 3 bridges, with each bridge having it's own LAN port on the router and wireless interface with it's own IP but forward the DHCP requests to pfSense.
In case it's useful here's some default values:
A visual way of looking at it:
br_Admin (currently br0)
192.168.1.2
SSID: Admin_2G & Admin_5G
br_Home
192.168.2.2
SSID: Home_2G & Home_5G
br_Guests
192.168.3.2
SSID: Guests_2G & Guests_5G
To accomplish this, here's what I've done so far:
Which creates a bridge called br_HOME and has the IP 192.168.2.2 and running ifconfig shows this
Now to assign it a LAN port on the router specfically LAN1 or eth0(?) so what I do is this which should assign LAN port 1 to the bridge br_HOME right?
Instead something messes up I guess and I lose SSH access and have to reset and start again. If I replace eth0 with eth1 it works but eth0 doesn't and I need to assign eth0 / LAN1 to br_HOME. Also once I have assigned LAN port 1 how do I go about assigning that bridge a 2G & 5G wireless interface and then forward DHCP requests on to pfSense?
Thanks in advance
To keep it simple this time, I want to created 3 bridges, with each bridge having it's own LAN port on the router and wireless interface with it's own IP but forward the DHCP requests to pfSense.
In case it's useful here's some default values:
Code:
xxxx@RT-AC3200-3940:/tmp/home/root# brctl show
bridge name bridge id STP enabled interfaces
br0 8000.000000000000 no vlan1
eth2
eth1
eth3
Code:
xxxx@RT-AC3200-3940:/tmp/home/root# ifconfig
br0 Link encap:Ethernet HWaddr 2C:56:DC:DA:39:40
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING ALLMULTI MULTICAST MTU:1500 Metric:1
RX packets:8169 errors:0 dropped:0 overruns:0 frame:0
TX packets:8368 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1167889 (1.1 MiB) TX bytes:5764688 (5.4 MiB)
eth0 Link encap:Ethernet HWaddr 2C:56:DC:DA:39:40
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5290 errors:0 dropped:0 overruns:0 frame:0
TX packets:8367 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:660174 (644.7 KiB) TX bytes:5798090 (5.5 MiB)
Interrupt:179 Base address:0x4000
eth1 Link encap:Ethernet HWaddr 2C:56:DC:DA:39:44
UP BROADCAST RUNNING ALLMULTI MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:1662 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:105489 (103.0 KiB)
eth2 Link encap:Ethernet HWaddr 2C:56:DC:DA:39:40
UP BROADCAST RUNNING ALLMULTI MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:1662 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:105489 (103.0 KiB)
eth3 Link encap:Ethernet HWaddr 2C:56:DC:DA:39:48
UP BROADCAST RUNNING ALLMULTI MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:1662 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:105489 (103.0 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MULTICAST MTU:16436 Metric:1
RX packets:8910 errors:0 dropped:0 overruns:0 frame:0
TX packets:8910 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2468301 (2.3 MiB) TX bytes:2468301 (2.3 MiB)
vlan1 Link encap:Ethernet HWaddr 2C:56:DC:DA:39:40
UP BROADCAST RUNNING ALLMULTI MULTICAST MTU:1500 Metric:1
RX packets:5290 errors:0 dropped:0 overruns:0 frame:0
TX packets:8368 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:564954 (551.7 KiB) TX bytes:5798160 (5.5 MiB)
Code:
xxxx@RT-AC3200-3940:/tmp/home/root# robocfg show
Switch: enabled
Port 0: DOWN enabled stp: none vlan: 1 jumbo: off mac: 00:00:00:00:00:00
Port 1: DOWN enabled stp: none vlan: 1 jumbo: off mac: 00:00:00:00:00:00
Port 2: DOWN enabled stp: none vlan: 1 jumbo: off mac: 00:00:00:00:00:00
Port 3: 100FD enabled stp: none vlan: 1 jumbo: off mac: 28:f1:0e:2d:a2:90
Port 4: DOWN enabled stp: none vlan: 1 jumbo: off mac: 00:00:00:00:00:00
Port 5: 1000FD enabled stp: none vlan: 1 jumbo: off mac: 2c:56:dc:da:39:40
Port 7: DOWN enabled stp: none vlan: 1 jumbo: off mac: 00:00:00:00:00:00
Port 8: DOWN enabled stp: none vlan: 1 jumbo: off mac: 00:00:00:00:00:00
VLANs: BCM5301x enabled mac_check mac_hash
1: vlan1: 0 1 2 3 4 5t
2: vlan2: 5t
1045: vlan1045: 0t 7
1046: vlan1046: 0 1 3t 5t 7t 8u
1047: vlan1047: 0t 1 3t 4t 5t 8u
1099: vlan1099: 1t 8t
1100: vlan1100: 0 4 7
1101: vlan1101: 3t
1102: vlan1102: 3t 4t 7 8t
1103: vlan1103: 1t 3t 4 5 8t
br_Admin (currently br0)
192.168.1.2
SSID: Admin_2G & Admin_5G
br_Home
192.168.2.2
SSID: Home_2G & Home_5G
br_Guests
192.168.3.2
SSID: Guests_2G & Guests_5G
To accomplish this, here's what I've done so far:
Code:
brctl addbr br_HOME
ifconfig br_HOME 192.168.2.2 netmask 255.255.255.0 up
Which creates a bridge called br_HOME and has the IP 192.168.2.2 and running ifconfig shows this
Code:
br_HOME Link encap:Ethernet HWaddr B2:57:04:D8:24:D7
inet addr:192.168.2.2 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:2985 (2.9 KiB)
Now to assign it a LAN port on the router specfically LAN1 or eth0(?) so what I do is this which should assign LAN port 1 to the bridge br_HOME right?
Code:
brctl addif br_HOME eth0
Instead something messes up I guess and I lose SSH access and have to reset and start again. If I replace eth0 with eth1 it works but eth0 doesn't and I need to assign eth0 / LAN1 to br_HOME. Also once I have assigned LAN port 1 how do I go about assigning that bridge a 2G & 5G wireless interface and then forward DHCP requests on to pfSense?
Thanks in advance