07-08-2017 11:09 AM - edited 03-05-2019 08:49 AM
hello
i was doing this lab http://danscourses.com/switch-vlan-packet-tracer-challenge/ and i fot everything right until a got stuck at a certain point without understand why i can't get the full mark , the thing is that at grade assessment it says that i didn't give a default getaway to the routers
i don't understand why would i give them a default gateway , i'm using vlans can someone pls check this lab
http://danscourses.com/switch-vlan-packet-tracer-challenge/ thanks
07-08-2017 06:40 PM
Hi
If you do not configure a default gateway on the PCs, they will be able to communicate between the computers over the same network only in few words no gateway is required to enable communication between computers over the same network. The default gateway is configured to enable the communication between different networks otherwise it will not possible.
Now the default gateways are configured on layer 3 devices only, they have the capacity to create routing. The routers don't need default gateways they can be reachable via routing. I don't see any router on the topology, it is a layer 2 lab only. The switches 2960 are not able to run routing.
:-)
07-09-2017 05:02 PM
it's my bad i don't mean router i meant switch , it's asking the default gateway on a switch not a router , sorry for misleading you , what i don't understand is how can it wait for me to write a default gateway when i'm using multiple vlans ?
07-09-2017 10:39 PM
Try with:
Switch(config)# ip default-gateway <IP_address>
Since Layer 2 Switches does not have a Routing Table, they need a Default Gateway mainly to be able to get remote access to them.
07-10-2017 05:13 AM
Hi
Hector has provided the command to configure the default gateway on a switch, it is basically used for the administrative vlan in order to manage the switch and be able to reach it remotely. You can configure 1 default gateway on the switch only.
Multilayer switches are able execute routing to create inter vlan routing but a switch 2960 has no the capability, it works on layer 2 only.
07-10-2017 05:50 AM
ahh ok i get it now , the exercise was waiting that i add the default gateway for the management vlan for remote management it said at the start that the default gateway is the first address on the network so i should had done ip default gateway 192.168.88.1 as my default gateway , it's clear now thanks guys
07-10-2017 05:55 AM
Yeap, that is correct, the default gateway can be any valid IP address, but in my personal opinion I use the first (.1), there are other network administrators who use the last valid IP of a the network. The idea is always keep an order or standard.
:-)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide