I have a Brocade ICX 6450 with router firmware.
There are two VLANs 9 and 100.
Both have a tagged port 1/1/1 that goes to an OpenWRT router.
The OpenWRT router serves as DHCP server and firewall to WAN.

I have been struggling for weeks now to configure this correctly.
What I want:
Problem:
I only can get one or the other to work: either inter-vlan routing in the switch works, but then it doesn't find a route to the internet; or everything passes via OpenWRT but then I don't make use of the routing capability of the switch...
This is my ICX 6450 config:
What I have tried:

There are two VLANs 9 and 100.
Both have a tagged port 1/1/1 that goes to an OpenWRT router.
The OpenWRT router serves as DHCP server and firewall to WAN.

I have been struggling for weeks now to configure this correctly.
What I want:
- inter-vlan routing on the Brocade L3 switch (not the OpenWRT router!!!). A device in 10.25.9.0/24 can talk to 10.25.100.0/24 directly, without going via the OpenWRT router.
- when a device wants to reach the internet, go via 1/1/1 to the OpenWRT router who will then be the firewall to WAN
Problem:
I only can get one or the other to work: either inter-vlan routing in the switch works, but then it doesn't find a route to the internet; or everything passes via OpenWRT but then I don't make use of the routing capability of the switch...
This is my ICX 6450 config:
Code:
ICX6450-48P-Router(config)#sh run
Current configuration:
!
ver 08.0.30tT313
!
stack unit 1
module 1 icx6450-48p-poe-port-management-module
module 2 icx6450-sfp-plus-4port-40g-module
!
global-stp
!
!
!
vlan 9 name main by port
tagged ethe 1/1/1
untagged ethe 1/1/2 to 1/1/36
router-interface ve 9
!
vlan 100 name IPcams by port
tagged ethe 1/1/1
untagged ethe 1/1/37 to 1/1/48
router-interface ve 100
!
vlan 4095 name DEFAULT-VLAN by port
router-interface ve 4095
!
!
!
!
!
aaa authentication web-server default local
aaa authentication enable default local
aaa authentication login default local
default-vlan-id 4095
enable telnet authentication
hostname ICX6450-48P-Router
ip dhcp-client disable
!
mirror-port ethernet 1/1/1
!
no telnet server
username root password .....
snmp-server community ..... ro
!
!
clock summer-time
clock timezone gmt GMT+01
!
!
ntp
disable serve
server 10.25.9.1
!
!
web-management https
web-management refresh front-panel 30
web-management session-timeout 3600
!
!
!
interface ethernet 1/1/2
mon ethe 1/1/1 both
!
interface ve 9
ip address 10.25.9.2 255.255.255.0
!
interface ve 100
ip address 10.25.100.2 255.255.255.0
!
interface ve 4095
!
!
!
!
!
!
!
!
!
end
- Using DHCP option 3 in OpenWRT, I have explicitly given the IP address of the virtual interface on the switch e.g. for VLAN 9, I give clients 10.25.9.2 as gateway. This enables inter-vlan routing in the switch, but there is no route to the OpenWRT router for WAN
- Using DHCP option 3 in OpenWRT, give DHCP clients both the IP address of the virtual interface on the switch AND the interface in OpenWRT:
This actually works for Windows clients, they happilly take both gateways. But a Raspberry Pi doesn't seem to like it. - Set no special option for DHCP, but then ALL traffic goes to the OpenWRT router, so no more inter-vlan routing in the switch
- Add a default route in the Brocade:
Code:
ip route 0.0.0.0/0 10.25.9.1
- Add a default network:
Code:
ip default-network 10.25.9.0/24
Last edited: