Computing.Net > Forums > Networking > Default gateway

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Default gateway

Reply to Message Icon

Name: vinayckd
Date: March 5, 2007 at 06:51:57 Pacific
OS: win2000
CPU/Ram: 125 MM
Product: ACER
Comment:

Hi with me a D-link DES-3026 24 port manageable switch I know how to set the switch ip address command but I don't know the command how to set the default gateway of the switch. If someone knows please let me know.



Sponsored Link
Ads by Google

Response Number 1
Name: wanderer
Date: March 5, 2007 at 08:02:33 Pacific
Reply:

a switch doesn't need a default gateway. are you thinking a router?

Give a person a fish, they eat for a day. Suggest they internet search and they learn a skill for a lifetime.


0

Response Number 2
Name: Curt R
Date: March 5, 2007 at 08:33:30 Pacific
Reply:

Actually Wanderer, most managed switches have a DG setting. Whether it's required or not depends a lot on your network setup.

If the command set in your D-Link managed switch is anything like a Cisco then from the command line you would:

- go into privileged mode:
Command: enable (may require password)

- enter Globabl Configuration mode:
Command: configure terminal

- enter your DG as follows:
Command: ip default-gateway XXX.XXX.XXX.XXX


0

Response Number 3
Name: wanderer
Date: March 5, 2007 at 11:07:18 Pacific
Reply:

Yep I know that but unless you are going to admin from the internet there shouldn't be a reason for putting one it.

The question led me to believe the poster was expecting router functionality with a switch.

Give a person a fish, they eat for a day. Suggest they internet search and they learn a skill for a lifetime.


0

Response Number 4
Name: Curt R
Date: March 5, 2007 at 12:18:37 Pacific
Reply:

All our switches have DG's. We have an admin VLAN on which most switches reside with a default xxx.250 IP for the DG (this being our Core-A switch...we have two for redundancy with Core-B being xxx.251). Some switches however reside on a particular subnet (we're moving away from that structure to all switches being on the admin subnet) again with the same xxx.250 DG. Only in this case, the xxx reflects the subnet the switch is on, not the admin subnet.

You can't actually admin any of our switches from the internet as that would require crossing several routers/firewalls to get there and the rule sets in place don't allow for external access to our LAN. To admin any switch (regardless of subnet) one has to be logged in locally within the domain. Basically, physically in the building plugged into the hardwired network as our WLAN is not allowed access to any internal resources for security reasons.

I grabbed an old 2900XL to use at home. I have it setup as a single VLAN (the default VLAN1) with IP 192.168.0.250 and a DG of 192.168.0.1 (IP of my router). I had suspected from the original post that this was what they wished to accomplish....ie: no VLAN's just a switch with an IP and DG. I doubt the DG is necessary as the switch will not be attempting to connect to anything (same as in mine at home) but in my case, it's just habit to put a DG in.........LOL. In all likelyhood, they don't require it setup with a DG, just setup as a basic switch. But, I figured I'd answer the question as best as I could in case there was info that should have been added to the post but hadn't been.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Networking Forum Home


Sponsored links

Ads by Google


Results for: Default gateway

Default Gateway www.computing.net/answers/networking/default-gateway/21877.html

Change Windows XP default Gateway www.computing.net/answers/networking/change-windows-xp-default-gateway/29687.html

Problem with Default Gateway www.computing.net/answers/networking/problem-with-default-gateway/29341.html