It is currently Mon Oct 26, 2020 1:02 pm

All times are UTC

Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: ip default-gateway command
PostPosted: Sat Feb 22, 2014 1:00 pm 

Joined: Wed Dec 18, 2013 5:02 am
Posts: 4
I took some very good advice & signed up for the Cisco Learning Lab. The wording on the intial switch setup instructions & the default gateway is a little confusing.

For a switch the ip default-gateway command should be run in the global config mode, correct? The DG value should be for entire switch (any interface), not just vlan1, right?

Using Cisco labs I tried it both ways. Configuring it on vlan1 specifically displays it in the show running-config. Doing it in the global mode (not interface specific) results in no default gateway value displayed. This may be normal for the running-config, or just the way the lab works.

It wouldn't make sense to specify a DG value just for vlan1, would it? You can just relply me or send me an E-mail:[email protected]

Last edited by dellpe on Sat Mar 08, 2014 9:05 am, edited 1 time in total.

 Post subject: Re: ip default-gateway command
PostPosted: Tue Mar 04, 2014 4:58 am 

Joined: Tue Mar 04, 2014 4:41 am
Posts: 5
Well, the default gateway is where packets go to get out of your LAN out to the internet, and this would the address of the router. VLAN 1 is the default
vlan that all switchports belong to when you first fire up the switch. It cannot be deleted. It can be your management vlan that you use to remotely configure your switches
The default gateway IP address does not have to be in the same subnet as your managment vlan ip address(es), but the port that is connected to the router has to be
in trunking mode

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC

Who is online

Users browsing this forum: No registered users and 0 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group