Question about Cisco Catalyst 2950 24x10/100 Mbps Networking Switch

2 Answers

IP Addressing by dhcp for vlans

I want configure the DHCP server intalled on linux DEBIAN (gateway of the LAN) for having addressing for each of the 4 vlans of the netwok (managed by switchs catalyst2950), where the vlans are linked to the gateway interface by a trunk link, and each vlan has its own virtual interface on the gateway, so How can I configure the DHCP server (running on the gw) to get addressing for each vlan and each vlan will be in its own subnet?

Posted by on

2 Answers

  • Level 1:

    An expert who has achieved level 1.

    Hot-Shot:

    An expert who has answered 20 questions.

    Corporal:

    An expert that hasĀ over 10 points.

    Mayor:

    An expert whose answer gotĀ voted for 2 times.

  • Contributor
  • 30 Answers

Just configure your 4 scopes on your DHCP server, and as long as your server is VLAN tagging and the trunk between the gateway and the switch is dot1q then it will work.

Posted on May 12, 2009

  • Level 1:

    An expert who has achieved level 1.

  • Contributor
  • 4 Answers

Tell each vlan about DHCP server using

ip helper <DHCP servers ip adddress>.

in config mode.

Posted on Apr 28, 2009

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

How to stop user privately setting up a static IP address?


Huawei S2300/3300/5300 series switch although no H3C switches am user-bind command, but through the DHCP Snooping function can also be realized IP+MAC+ port binding to prevent users set up a static IP address. For example, if the request port Ethernet0/0/1 in addition to the static IP address for the 1.1.1.2, MAC address for the 001c-2309-9aa7 corresponding to the user, all other static IP users can not access the internet. Configuration is as follows:
Configure the device DHCP Snooping
# enable the global DHCP Snooping function.
[Quidway] DHCP snooping enable
# configure user side interface of VLAN.
[Quidway] VLAN 100
[Quidway-vlan100] quit
[Quidway] interface Ethernet 0/0/1
[Quidway-Ethernet0/0/1] port default VLAN 100
[Quidway-Ethernet0/0/1] quit
# enable VLAN DHCP Snooping function.
[Quidway] VLAN 100
[Quidway-vlan100] DHCP snooping enable
# configuration interface for packet inspection at the user side
[Quidway] interface Ethernet 0/0/1
[Quidway-Ethernet0/0/1] DHCP snooping check ARP enable
[Quidway-Ethernet0/0/1] DHCP snooping check IP enable
[Quidway-Ethernet0/0/1] quit
# configuration static binding table entry
[Quidway] VLAN 100
[Quidway-vlan100] DHCP snooping bind-table static IP-address 1.1.1.2 mac-address 001c-2309-9aa7 interface Ethernet 0/0/1

Aug 06, 2015 | Huawei Boxed Ls-s2318tp-ei-ac Quidway...

1 Answer

What is the default ip address for powerconnect 5212


You must assign an IP address to the switch to gain management access over the network. You may also need to a establish a default gateway between the switch and management stations that exist on another network segment. You can statically configure a specific IP address or direct the switch to obtain an address from a Boot Protocol (BOOTP) or Dynamic Host Configuration Protocol (DHCP) server when it is powered on. Valid IP addresses consist of four decimal numbers, 0 to 255, separated by periods. Anything outside this format is not accepted by the CLI program. notice.gif NOTICE: By default, the IP address is assigned to VLAN 1 through DHCP. If you select the bootp or dhcp option, IP is enabled but does not function until a BOOTP or DHCP reply has been received. Requests are broadcast periodically by the switch in an effort to learn its IP address. (BOOTP and DHCP values can include the IP address, default gateway, and subnet mask).
To display assigned IP settings using the CLI:
  1. From the Privileged Exec or Normal Exec level mode, type show ip interface and press <Enter>.

The assigned IP address and subnet mask displays.

  1. From the Privileged Exec mode, type show ip redirects to display the assigned gateway IP address. Press <Enter>.

The following example displays IP settings assigned by bootp or dhcp using the CLI.

Console#show ip interface

IP address and netmask: 10.1.0.1 255.255.252.0 on VLAN 1,

and address mode: User specified.

Console# show ip redirects

ip default gateway 10.1.0.254

Console#
Before you can assign a static IP address to the switch, you must obtain the following information from your network administrator:

  • IP address for the switch

  • Default gateway for the network

  • Network mask for the network

To assign a static IP address to the switch:
  1. From the Privileged Exec level global configuration mode prompt, type interface vlan 1 to access the interface-configuration mode. Press <Enter>.

  2. Type ip address ip-address netmask, where ip-address is the switch IP address and netmask is the network mask for the network.

  3. Type exit to return to the global configuration mode prompt. Press <Enter>.

  4. To set the IP address of the default gateway for the network to which the switch belongs, type ip default-gateway gateway, where gateway is the IP address of the default gateway. Press <Enter>.

  5. To save your configuration changes, type copy running-config startup-config and then press <Enter>.

notice.gif NOTICE: Only one VLAN can be assigned an IP address. If you assign an address to any other VLAN, the new address overrides the original IP address. The following example shows how to set a static IP address using the CLI.

Console(config)# interface vlan 1

Console(config-if)# ip address 192.168.1.5 255.255.255.0

Console(config-if)# exit

Console(config)# ip default-gateway 192.168.1.254

Console(config)#
To configure the switch for DHCP or BOOTP:

  1. From the Privileged Exec level global configuration mode prompt, type interface vlan 1 to access the interface-configuration mode. Press <Enter>.

  2. At the next prompt, use one of the following commands:

    • To obtain IP settings through DHCP, type ip address dhcp

    • To obtain IP setting through BOOTP, type ip address bootp

  3. Press <Enter>.

  4. To save your configuration changes, type copy running-config startup-config, and then press <Enter>.

Nov 26, 2012 | Computers & Internet

1 Answer

How do i manually configure and ip address for the mitel 5224 ip phone?


Press and hold the up arrow.
Configure Phone - Yes
network parameters - yes
press no until you see "change" and press yes.
You will need to set the following appropriately.
IP address, Subnet address, default gateway, ICP controller address, TFTP address, VLAN ID, VLAN priority, DiffServe Value, DNS address.

Normally it is not necessary to set the phone static except for testing. If your network and DHCP server is set up properly, you are not gaining any benefit for setting it static.

Also, you should find out what the other IP addressess are that are static on the Voice subnet. Along with that, you will need to know the DHCP range. These are needed so you don't assign a duplicate IP address to your network. Assign the phone to the wrong device could do great harm to your network. Assign it to use the same IP address as the phone system and none of your phones will operate.

Use with caution,
Mark

Feb 10, 2011 | Mitel 5224 IP Phone

1 Answer

HI, I have D-link DES 3026 manageable switch. i want to configure this switch.........In that we have to assign our IP....... I dont know how to assign the IP........ I have WAN IP, Subnet Mask, Gateway...


Normally most internal LAN addressing is carried out by a DHCP server which issues IP addresses to anything that is connected to the network.
IE your computer. most switches are set to obtain an IP address from them as a default. to find the IP address of youe switch you need to look at your DHCP server ( possibly your router/modem) and see what addresses have been issued. Once you have found the address it is a simple task to open your internet browser and type in the ip address of your switch. once there you should be able to configure your switch as per your requirements.

Jul 17, 2010 | D-Link Computers & Internet

1 Answer

3 vlans, data,1; data 2,;voip,5. Ports carry voice tagged, and data. currently Windows 2000 DHCP server lives on Vlan 1 (AND WORKS). Need to upgrade. When we test the new servers we are unable to make both...


Here's what you need to do:

First, be sure to assign an ip address(in the proper subnet) to each VLAN.

Second, use the ip helper-address command in the context of each VLAN, the address used should be the address of the DHCP server

Third, Add a scope for each additional VLAN on the DHCP server.

The switch will route the DHCP request to the proper server based on the ip helper-address command parameter and based on the ip address of the VLAN that is passed tot he server, a DHCP address in the proper subnet is automatically configured.

Here is a sample:

ProCurve Switch 3500yl-24G-PWR# configure
ProCurve Switch 3500yl-24G-PWR(config)# vlan 33
ProCurve Switch 3500yl-24G-PWR (vlan-33)#ip address 192.168.33.254/24
ProCurve Switch 3500yl-24G-PWR (vlan-33)# ip helper-address 10.1.2.250

Aug 06, 2009 | HP ProCurve 4104gl Networking Switch

2 Answers

Sending DHCP request across diffrent vlans


Hmm... on your DHCP server, try setting the "default router" IP for each pool to be the VLAN ID on the switch.

scope 172.16.0.0 /24
router 172.16.0.1

scope 10.20.8.0 /22
router 10.20.8.1

I think the DHCP replies aren't going back where they should. I've never done this without a router doing all the DHCP, but it does work and i've done it many times. Your config looks spot on for the switch.

Feb 01, 2009 | Cisco Catalyst 3750E-48PD

3 Answers

PS3 can't obtain IP address through LAN switch


wonderful! that's always a good thing to hear - sometimes it is the "make sure you're power cord is plugged in" problem, eh :)

Jan 31, 2008 | Sony Playstation 3 (PS3) Console

1 Answer

No access to set up modem or router


you might have configured your lan settings wrongly.

If your modem was setup for DHCP then you configure your lan to receive IP address automatically, DNS automatically.

If DHCP is disabled on the modem, you have to USE static IP Address for your lan ip and default gateway should be your modem default ip.

the default IP for modem is usually 192.168.1.1
if DHCP is disabled on the modem the sys ip is 192.168.1.3

So Configure your LAN setting as follow and Type http://192.168.1.1 in the address url.

Lan Settings:
IP Address: 192.168.1.3
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.1.1

click ok.
and type the above url, press enter the modem will ask you for username and password.

Good Luck.

Dec 27, 2007 | D-Link DSL 300G+ (DSL-300G+) Modem

Not finding what you are looking for?
Cisco Catalyst 2950 24x10/100 Mbps Networking Switch Logo

1,130 people viewed this question

Ask a Question

Usually answered in minutes!

Top Cisco Computers & Internet Experts

Prashant M
Prashant M

Level 3 Expert

2259 Answers

brian soufane

Level 3 Expert

693 Answers

Les Dickinson
Les Dickinson

Level 3 Expert

18334 Answers

Are you a Cisco Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...