How to Add a Second IP to an Interface on Zyxel Devices via CLI?
![Zyxel_Cooldia](https://us.v-cdn.net/6029482/uploads/defaultavatar/nN4PAQRO7TCNP.jpg)
Zyxel_Cooldia
Posts: 1,518
Zyxel Employee
![](https://us.v-cdn.net/6029482/uploads/userpics/FN0BI9T10CTX/n6O940IZ5DEW6.png)
![Zyxel Certified Network Administrator - Security](https://us.v-cdn.net/6029482/uploads/badges/0UGRVP1NAF1U.png)
![Zyxel Certified Sales Associate](https://us.v-cdn.net/6029482/uploads/badges/T8OIUCS56TCY.png)
![100 Answers](https://us.v-cdn.net/6029482/uploads/badges/64OW7WFEOGRW.png)
![1000 Comments](https://us.v-cdn.net/6029482/uploads/badges/50AUPOMRSR6S.png)
Question:
Is it possible to add a second IP to the same port on Zyxel devices?
Answer:
While adding a second IP to the same port is not currently supported in the Zyxel web GUI, you can achieve this through the Command Line Interface (CLI). Here is how you can do it:
- Open the CLI on your Zyxel device.
- Run the following commands:
edit running vrf main interface ethernet [interface name] ipv4 address [second IP address] commit copy running startup
Note: The second IP will not be displayed in the web GUI, but you can verify it via CLI using show commands.
Tagged:
0
Categories
- All Categories
- 415 Beta Program
- 2.5K Nebula
- 152 Nebula Ideas
- 101 Nebula Status and Incidents
- 5.8K Security
- 296 USG FLEX H Series
- 281 Security Ideas
- 1.5K Switch
- 77 Switch Ideas
- 1.1K Wireless
- 42 Wireless Ideas
- 6.5K Consumer Product
- 254 Service & License
- 396 News and Release
- 85 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.6K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 87 About Community
- 76 Security Highlight