How do I set the default gateway on a Cisco switch?
To configure the default gateway for the switch, use the ip default-gateway command. Enter the IP address of the default gateway. The default gateway is the IP address of the router interface to which the switch connects.
- Go to Control Panel > System > Network > IPv4 > Default Gateway.
- Under Use the settings from, select an interface that QES will use as the default route.
- Add a static route. Click Static Route. The Static Route window opens. Specify an IP or subnet address. ...
- Click Apply.
The default gateway is the router the switch is connected to. The switch will forward its IP packets with destination IP addresses outside the local network to the default gateway.
In the Command Prompt window, type “ipconfig” and press “Enter/Return” on your keyboard. You will see a lot of information generated in this window. If you scroll up you should see “Default Gateway” with the device's IP address listed to the right of it.
The default gateway is a device such as a router that serves as the edge devices providing an access point to other networks and is used to forward IP packets which does not match any routes in the routing table.
What is a default gateway address? Your default gateway address will usually be your router's IP address. That's right: your Wi-fi router has its own unique IP tag. This identifying code allows information to reach your network, and it's worth knowing how to find it for yourself.
Examples of default gateways
An example of a default gateway exists in your home if you have a wireless internet connection. A router allows your devices to connect to the internet. When you send a request for information on the internet, the request travels through your router.
A default gateway makes it possible for devices in one network to communicate with devices in another network. If a computer, for example, requests a web page, the request goes through the default gateway before exiting the local network (LAN) to reach the internet.
You have multiple vlans/IP subnets so you need default gateways. Presumably at least one of the switches is a L3 switch ie. it is not just routers that you need to think about.
The "default gateway" is simply the IP of the next hop for traffic that is not explicitly routed anywhere else. This will, almost certainly, be an IP address on an interface of a local router. However, it may not be an address on which you can manage the router.
What is the difference between default gateway and IP address?
"Broadband IPv4 address" is your router's own address, while "Gateway IPv4 address" is... another router that your router sends traffic to. In other words, the latter describes the "default route" aka "default gateway" that is configured in the router itself.
In the Managed Network node hierarchy, navigate to the Configuration > Interfaces > IP Routes tab. Click + under the Static Default Gateway accordion. Select IPv6 from the IP version drop-down list, and enter the IPv6 address in the IP address field. Click Submit to add the address to the IPv6 default gateway.

The default gateway is required when a router is needed for tasks such as reaching off-subnet destinations or forwarding traffic across multiple VLANs. The gateway value is the IP address of the next-hop gateway node for the switch, which is used if the requested destination address is not on a local subnet/VLAN.
- Navigate to the Distribution Switch's details page from Monitor > Switches.
- Click Initialize layer 3 under the Status section.
- Enter the following settings: Name: Uplink. Subnet: 192.168. 128.0/24. Interface IP: 192.168. 128.1. VLAN: 20. Default Gateway: 192.168. 128.254.
- Click Save.