01-13-2008 08:07 PM - edited 03-05-2019 08:27 PM
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
01-17-2008 01:44 AM
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
01-17-2008 01:48 AM
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
01-18-2008 01:31 AM
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
02-19-2008 02:08 AM
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
01-18-2008 11:51 AM
i'm having the same problem if u solve it tell me plz
01-18-2008 01:02 PM
See this link for how to setup dhcp server and static ip ..
hieu
01-20-2008 08:55 PM
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:
HTH
regards,
shri :)
01-22-2008 02:02 AM
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
01-22-2008 02:34 AM
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 :)
01-22-2008 04:59 PM
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
01-22-2008 08:07 PM
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 :)
11-04-2015 05:11 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide