- Posts: 5
- Thank you received: 0
Assigning an IP address to switches
18 years 9 months ago #13428
by mike_mad
Assigning an IP address to switches was created by mike_mad
Hi, i'm new to networking... I'm just getting confused. Why is there a need to assign an ip address and default gateway to a switch? I just thought that when you connect the hosts to the switch, everything would already be ok and no more additional configuration is needed. Please help me out.
18 years 9 months ago #13431
by d_jabsd
Replied by d_jabsd on topic Re: Assigning an IP address to switches
The IP is used mainly for management. Syslog, SNMP, remote management, etc.
You don't have to assign an address to it if you don't want, but it will make your job a lot harder if you need to move a port from one vlan to another or you need to find which mac address is plugged into which port.
The whole point of managed switches is configurability.
For now, just give it an address on the primary network you are connecting to. Once you realize what all you can do, you will be glad you did it.
You don't have to assign an address to it if you don't want, but it will make your job a lot harder if you need to move a port from one vlan to another or you need to find which mac address is plugged into which port.
The whole point of managed switches is configurability.
For now, just give it an address on the primary network you are connecting to. Once you realize what all you can do, you will be glad you did it.
18 years 9 months ago #13432
by TheBishop
Replied by TheBishop on topic Switch Setup
Welcome to Firewall.cx mike_mad
You're right really - a switch is basically a layer 2 device that acts at at a packet level based on source and destination MAC address. So for it basically to work and switch packets between things it doesn't need either an IP address or a default gateway.
However, with that said, most switches are manageable and for you to manage the thing remotely you need both an IP address for the switch and a default gateway so you can access the management facilty from remote networks.
Also with VLAN-aware switches you might find that setting up the management in this way also sets up an IP network for the default VLAN whether you need this or not
You're right really - a switch is basically a layer 2 device that acts at at a packet level based on source and destination MAC address. So for it basically to work and switch packets between things it doesn't need either an IP address or a default gateway.
However, with that said, most switches are manageable and for you to manage the thing remotely you need both an IP address for the switch and a default gateway so you can access the management facilty from remote networks.
Also with VLAN-aware switches you might find that setting up the management in this way also sets up an IP network for the default VLAN whether you need this or not
18 years 9 months ago #13437
by mike_mad
Replied by mike_mad on topic Re: Assigning an IP address to switches
wow... thanks a lot... it helped me a lot in finishing a program in network simulation...
18 years 9 months ago #13463
by Tarun
Next would be SP (Service Provider)
CCNA, CCNP (Switching), CCIE#20640
Replied by Tarun on topic Re: Assigning an IP address to switches
Glad to see the kind of activity we have here these days at firewall.cx...
Awesome community...I am loving it
Awesome community...I am loving it
Next would be SP (Service Provider)
CCNA, CCNP (Switching), CCIE#20640
- kunaltyagi
- Offline
- Junior Member
Less
More
- Posts: 40
- Thank you received: 0
18 years 8 months ago #14106
by kunaltyagi
I'm an artist by living --- my art is my life
Replied by kunaltyagi on topic Re: Assigning an IP address to switches
yes ... i joined the community few days before and what i feel it's a good place to polish ur knowledge and get the right kind of answers that are required
I'm an artist by living --- my art is my life
Time to create page: 0.140 seconds