NAS542 static route
Accepted Solution
-
The other thing I thought of is to change the netmask to 255.255.0.0 on the "egiga1" (LAN2) interface
That won't work. When the NAS tries to send data to one of the other subnet's, it should send it to it's gateway. By changing the netmask the NAS will assume the target device is in the same subnet, and try an ARP request to get it's MAC address. If that fails (and it will) there is no route.
There are several ways to get your script executed at boot, but none of them is supported by ZyXEL. The Tweaks package has a way to add a cronjob, including an @startup timestamp. The RandomTools package offers you a directory where you can put your own scripts which will be executed at bootup and shutdown.
If you don't want to use 3th party software, you can use the /i-data/.system/zy-pkgs/USRPKG_DEPS_START file, as described here, and onwards.
0
All Replies
-
The other thing I thought of is to change the netmask to 255.255.0.0 on the "egiga1" (LAN2) interface
That won't work. When the NAS tries to send data to one of the other subnet's, it should send it to it's gateway. By changing the netmask the NAS will assume the target device is in the same subnet, and try an ARP request to get it's MAC address. If that fails (and it will) there is no route.
There are several ways to get your script executed at boot, but none of them is supported by ZyXEL. The Tweaks package has a way to add a cronjob, including an @startup timestamp. The RandomTools package offers you a directory where you can put your own scripts which will be executed at bootup and shutdown.
If you don't want to use 3th party software, you can use the /i-data/.system/zy-pkgs/USRPKG_DEPS_START file, as described here, and onwards.
0
Categories
- All Categories
- 415 Beta Program
- 2.4K Nebula
- 145 Nebula Ideas
- 94 Nebula Status and Incidents
- 5.6K Security
- 239 USG FLEX H Series
- 267 Security Ideas
- 1.4K Switch
- 71 Switch Ideas
- 1.1K Wireless
- 40 Wireless Ideas
- 6.3K Consumer Product
- 247 Service & License
- 384 News and Release
- 83 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.2K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 83 About Community
- 71 Security Highlight