I believe there is, but I haven't tested this using a modem. I suggest you read up on Dumb AP / Access Point Only for reference (obviously, this is not you want, but the steps are very similar.)
Before I continue, note that when doing this kind of thing you risk locking yourself out of your device. So, ensure that:
- Recovery mode works in your device; or
- You have working serial or JTAG access; or
- You can at least access the device via SSH through the WAN interface
You need to bridge your ethernet ports to the WAN interface and disable all services like DHCP, firewall, etc. The dumb AP guide covers most of that.
If that should not work, you may need to do some routing in your router, but I believe a better solution for minimising this would be as follows (kind of similar to a 'DMZ IP':
- You get an IP(v6) address(es) from your ISP in subnet
A
in your R6300v2.
- You connect your Cisco ASA to your R6300v2. It gets an equivalent subnet in the private address space (subnet
B
).
- You disable the default firewall rules, and you set up some simple ip(6)tables rules for stateless NAT from the
A
to B
address space.
- (Optionally) You assign one of your R6300v2 ports a different VLAN, an you connect it to your internal network for management.
- (Optionally) You bridge the remaining free ethernet ports to the ASA, so you can use the R6300v2 as a switch to give you extra ports.
While not exactly equivalent, this may help you figure out the switch rules. I have a TP-Link Archer C7 set up to do the following:
- Obtain an IP address in the 'management' VLAN (VID 10), for local management.
- Act like a switch with the remaining free ports.
The connection is:
-
WAN (eth0) port is connected to my actual router.
-
LAN ports (eth1) are connected to any devices I wish to connect to my network (with VLAN tagging.)
-
VLANs are 1, 2, 3, 4, 5 and 10. Of these, only 1, 3, 4 and 5 can are bridged to the WAN port.
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
# This should be your unique ULA prefix
option ula_prefix 'fc12:3456:789a::/48'
# Management
config interface 'MGMT'
option proto 'dhcp'
option ifname 'eth0.10'
option peerdns '1'
config interface 'MGMT6'
option proto 'dhcpv6'
option ifname 'eth0.10'
option peerdns '1'
config interface 'vlan1'
option proto 'none'
option stp '1'
option auto '1'
option ifname 'eth0.1 eth1.1'
option type 'bridge'
config interface 'vlan2'
option proto 'none'
option stp '1'
option auto '1'
option ifname 'eth0.2'
option type 'bridge'
config interface 'vlan3'
option proto 'none'
option stp '1'
option auto '1'
option ifname 'eth0.3 eth1.3'
option type 'bridge'
config interface 'vlan4'
option proto 'none'
option stp '1'
option auto '1'
option ifname 'eth0.4 eth1.4'
option type 'bridge'
config interface 'vlan5'
option proto 'none'
option stp '1'
option auto '1'
option ifname 'eth0.5 eth1.5'
option type 'bridge'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
option mirror_source_port '0'
option mirror_monitor_port '0'
config switch_vlan
option device 'switch0'
option vlan '1'
option vid '1'
option ports '0t 1t 2t 3t 4t 5t 6t'
config switch_vlan
option device 'switch0'
option vlan '2'
option vid '2'
option ports '1t 6t'
config switch_vlan
option device 'switch0'
option vlan '3'
option vid '3'
option ports '0t 1t 2t 3t 4t 5t 6t'
config switch_vlan
option device 'switch0'
option vlan '4'
option vid '4'
option ports '0t 1t 2t 3t 4t 5t 6t'
config switch_vlan
option device 'switch0'
option vlan '5'
option vid '5'
option ports '0t 1t 2t 3t 4t 5t 6t'
option switch_vlan
option device 'switch0'
option vlan '10'
option vid '10'
option ports '1t 6t'