CHaynes112
Occasional Visitor
ASUS GT-AC5300
My ASUS router is on one subnet and my ISP gateway is on another subnet (when it's in bridge mode, it won't allow you to customize the subnet or IP address). My network works fine, but if I want to be able to get to my ISP gateway from a PC behind my ASUS router, then I need to add the following command to the router.
ifconfig eth0:0 192.168.1.2 netmask 255.255.255.0
The problem is that this command gets removed during a reboot. I am trying to determine how to add this to the router (nvram, script, etc.) so that it stays or gets automatically added after a reboot.
My ASUS router is on one subnet and my ISP gateway is on another subnet (when it's in bridge mode, it won't allow you to customize the subnet or IP address). My network works fine, but if I want to be able to get to my ISP gateway from a PC behind my ASUS router, then I need to add the following command to the router.
ifconfig eth0:0 192.168.1.2 netmask 255.255.255.0
The problem is that this command gets removed during a reboot. I am trying to determine how to add this to the router (nvram, script, etc.) so that it stays or gets automatically added after a reboot.