Hi
I set up my D-Link by putting it into bridge mode, disabling DHCP and before doing this I set the IP to 192.168.1.2. My router, an Asus AC68U, has the IP 192.168.1.1 and the DHCP server uses the range from 192.168.1.5 to 192.168.1.254.
At the moment it is connected fine and seems to be working well but I am struggling a bit to get stats from the modem as it only has the one network port and I am a bit unsure whether the AC68U has the ability to setup a subnet on the WAN side like G.DMT did above. My knowledge of networking is pretty basic (read almost non-existant)
Can anyone give me a few hints on the easiest way to get the stats from my setup?
Thanks!
Chunks
Few points to note here.
In the general case there are two obvious solutions here.
The problem here is that you have only one physical network port on the modem, but desire to utilise it for 2 distinct use cases.
1) internet connection
2) connection for monitoring.
You could solve this by either
1) Multiplying the number of physical ports you have available i.e. plug it into a switch.
or
2) Ensure that the device it is connected to is sufficiently flexible to handle both Internet/Firewall/Router duties AND monitoring.
The _easiest_ solution is to just plug the modem port into a little dedicated switch, then use a low power device with 2 ethernet ports (like a raspberry Pi with a USB network dongle) as a proxy for monitoring.
I have been happily using 1) to give me a single point of access to multiple devices for years now.
But this does require that you have the additional kit running.
I do not have an Asus AC68U so I did a quick google for your router.
It seems you have a choice of options for solution 2.
http://www.asus.com/us/site/routers/DD-WRT/http://www.dd-wrt.com/wiki/index.php/Asus_RT-AC68UI did a quick check on one of my DD-WRT devices-
If you have installed DD-WRT you can go to web GUI / Setup / Advanced Routing / Static routing
and add a new route (out the WAN interface) there.
I personally have stopped installing DD-WRT as I find OpenWRT preferable.
It would appear there has been an openWRT build available for the Asus AC68U for some time:
https://wiki.openwrt.org/toh/asus/rt-ac68uWhichever route you choose to go- I would suggest that you put the modem on a subnet (i.e. IP address range) of its own.
I chose a /29 to suit my particular setup here- there is no actual _need_ for a full /24
I would advize _not_ to try to have it in the same IP range as the rest of your LAN.
i.e. in your case where the LAN had network address 192.168.1.0/24
I would prefer _not_ to try and subnet the 192.168.1.0 subnet as this provides scope for getting it wrong later if you are not fully comfortable with routing and subnetting.
Why not just put it on e.g. 192.168.2.0/30 or similar?
The packet routing algorithm picks the 'Longest Match First'- so avoid ambiguity by selecting the network prefix for your monitoring subnet ( the /30 ) that is a better (more specific) match than your LAN ( the /24 )
Apologies if this is a granny / eggs situation!
Cheers.