cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2487
Views
8
Helpful
26
Replies

Vlan using Catalyst 3560

tan.joseph
Level 1
Level 1

Hi,

I am trying to create VLANs to segment the company network to cater for grow. I have found this document (id: 41860) “How to configure intervlan routing on layer 3 switches” and found it is close to my requirement. I have follow the steps and tried on a catalyst 3560. But I am not able to get the desired result. I can't ping between the VLANs. At the VLANs I can't connect to internet. What have I done and what have I not done? Attached are the running-config and ip routing.

help would be appreciated

thanks

26 Replies 26

thanks ankur,

i can't get he switchport acces vlan1 into interface gig0/1. anyway the switch is working the way i want. i have any question, how do i configure the switch as dhcp server and issue ip address to clients according to the vlan. e.g. a clients connected to vlan 10 it will get the ip 10.1.10.88, a client connected to vlan 1 it will get the ip 10.1.1.99.

thanks in adv

Joseph

Hi Joseph,

You have to create seperate DHCP pools for different subnets. Something liket

Switch(config)#service dhcp

Switch(config)#ip dhcp pool

Switch(dhcp-config)#network

Switch(dhcp-config)#default-router

This way you have to create pool for each and every subnet you want and then later exclude the address which you have used for gatway for that subnet.

Switch(config)#ip dhcp excluded-address

HTH

Ankur

*Pls rate all helpfull post

Hi Ankur,

thank you dhcp work for subnet. going further, how do i assigning ip base on client mac address with the subnet.

thanks in adv

Joseph

Hi,

I can't ping any ip at the other side of the wan link e.g. 192.168.22.0 from my vlan e.g. vlan46. i'm in 192.168.23.0 with switch 3560 configured with vlan46 with ip 10.1.46.0. the wan link is connected with lease line and routers.

thanks in adv

ahmad.mobadder
Level 1
Level 1

i'm having the same problem if u solve it tell me plz

hi,

hi

An address binding is a mapping between the IP address and MAC address of a client. The IP address of a client can be assigned manually by an administrator or assigned automatically from a pool by a DHCP server.

Manual bindings are IP addresses that have been manually mapped to the MAC addresses of hosts that are found in the DHCP database. Manual bindings are stored in NVRAM on the DHCP server. Manual bindings are just special address pools. There is no limit on the number of manual bindings, but you can only configure one manual binding per host pool.

reffer following link for IOS 12.2 mailline:

http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/products_configuration_guide_chapter09186a00800ca75c.html#wp1001108

HTH

regards,

shri :)

Hi,

thanks!

tried but with this error after entering host .

"This command may not be used with network pools."

search cisco with the error but can't find any related doc. any help?

thanks in adv

Joseph

hi,

have you craeted the host pool? To configure a manual binding, first create a host pool, then specify the IP address of the client and client identifier or hardware address.

example:

The following example creates a manual binding for a client named Mars.cisco.com. The MAC address of the client is 02c7.f800.0422 and the IP address of the client is 172.16.2.254.

ip dhcp pool Mars

host 172.16.2.254

hardware-address 02c7.f800.0422 ieee802

client-name Mars

Cisco IOS DHCP Client Example

On the DHCP Server, the configuration is as follows:

ip dhcp pool 1

network 10.1.1.0 255.255.255.0

lease 1 6

On the DHCP client, the configuration is as follows on interface E2:

interface Ethernet2

ip address dhcp

This configuration allows the DHCP client to aquire an IP address from the DHCP Server through an Ethernet interface.

this from the same document i have posted previously.

HTH,

regards,

shri :)

hi,

i'm still having the same problem! below are the command used:

no aaa new-model

clock timezone UTC 8

system mtu routing 1500

ip subnet-zero

ip routing

ip dhcp excluded-address 10.1.46.1

ip dhcp excluded-address 10.1.47.1

!

ip dhcp pool pool46

network 10.1.46.0 255.255.255.0

default-router 10.1.46.1

dns-server 192.168.23.228 192.168.23.205

!

sw3560-253#configure t

Enter configuration commands, one per line. End with CNTL/Z.

sw3560-253(config)#ip dhcp pool pool46

sw3560-253(dhcp-config)#host 10.1.46.113

% This command may not be used with network pools.

thanks

Joseph

hi,

You can not configure manual bindings within the same pool that is configured with the network command.In your case you have created the pool46 with the network command hence you can not used it for manual binding.

For manual binding you have to create a different host pool per host.

try again with the differnt host pool :

example:

ip dhcp pool Mars

host 172.16.2.254 mask 255.255.255.0 (this mask is used by the dhcp cleint(host))

hardware-address 02c7.f800.0422 ieee802(mac address)

client-name Mars

default-router 172.16.2.100 172.16.2.101

domain-name cisco.com

dns-server 172.16.1.102 172.16.2.102

HTH,

regards,

shri :)

Hi,

How many settings I can make a manual bindings in the DHCP configurations using Switch Catalyst 3560G with IOS 12.2(50) ?

Thanks,

Sergio.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card