NAS542 static route
Freshman Member
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
- 442 Beta Program
- 2.9K Nebula
- 220 Nebula Ideas
- 128 Nebula Status and Incidents
- 6.5K Security
- 608 USG FLEX H Series
- 347 Security Ideas
- 1.7K Switch
- 84 Switch Ideas
- 1.4K Wireless
- 52 Wireless Ideas
- 7K Consumer Product
- 299 Service & License
- 482 News and Release
- 92 Security Advisories
- 31 Education Center
- 10 [Campaign] Zyxel Network Detective
- 4.8K FAQ
- 34 Documents
- 87 About Community
- 105 Security Highlight
Guru Member