Configuring default gateway on a Switch
[Deleted User]
Posts: 190 Zyxel Employee
How do I set the default gateway on a switch with Management VLAN 1 and IP address 192.168.1.1/24, when the gateway is 192.168.1.254?
There are two methods to set the default gateway in this scenario:
1.Setting the default gateway in management VLAN 1
- Configure via web GUI
- Configure via CLI
Switch# config Switch(config)# VLAN 1 Switch(config-vlan)# ip address default-gateway 192.168.1.254
2.Using a Static Route to set the default gateway
- Configure via web GUI
- Configure via CLI
Switch# config Switch(config)# IP route 0.0.0.0 0.0.0.0 192.168.1.254
*Remember to save the configuration after you finish.
0
Categories
- All Categories
- 415 Beta Program
- 2.4K Nebula
- 151 Nebula Ideas
- 98 Nebula Status and Incidents
- 5.7K Security
- 272 USG FLEX H Series
- 274 Security Ideas
- 1.4K Switch
- 74 Switch Ideas
- 1.1K Wireless
- 42 Wireless Ideas
- 6.4K Consumer Product
- 250 Service & License
- 389 News and Release
- 84 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.6K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 85 About Community
- 74 Security Highlight