08-29-2016 01:14 AM - edited 03-08-2019 07:11 AM
hello there ... im new here and im already done from CCNAR&S and im testing my self by doing routing between some bank branches ...
okay my problem when i try i try to use ip subnetting on intr-vlan and give all pc's ip via DHCP some of them got it successful and the others got APIPA !!!!
im using packet tracer last version
this is my configuration settings on router :
and this is my configuration settings on SW :
this is the method i use for doing ip subnetting :
error screenshot :
Solved! Go to Solution.
08-29-2016 03:29 AM
Hi,
Your default-router is wrong. It should be
ip dhcp excluded-address 10.0.0.46
!
ip dhcp pool 40
network 10.0.0.32 255.255.255.240
default-router 10.0.0.46
!
int fa0/0.40
encap dot1q 40
ip add 10.0.0.46 255.255.255.240
HTH.
Regards,
Terence
08-29-2016 02:01 AM
Hi,
Your DHCP pools are wrong. Kindly see below correct config:
ip dhp excluded-address 10.0.0.14
ip dhp excluded-address 10.0.0.29
!
ip dhcp pool 10
network 10.0.0.0 255.255.255.240
default-router 10.0.0.14
!
ip dhcp pool 20
network 10.0.0.16 255.255.255.240
default-router 10.0.0.29
HTH.
Please rate helpful post.
Regards,
Terence
08-29-2016 02:46 AM
it's working for vlan ( 10,20,30 )
but not working for vlan 40 i dont why ???
this is my config :
ip dhcp excluded-address 10.0.0.14
ip dhcp excluded-address 10.0.0.29
ip dhcp excluded-address 10.0.0.44
ip dhcp excluded-address 10.0.0.59
!
ip dhcp pool 10
network 10.0.0.0 255.255.255.240
default-router 10.0.0.14
ip dhcp pool 20
network 10.0.0.16 255.255.255.240
default-router 10.0.0.29
ip dhcp pool 30
network 10.0.0.16 255.255.255.240
default-router 10.0.0.44
ip dhcp pool 40
network 10.0.0.32 255.255.255.240
default-router 10.0.0.59
08-29-2016 03:29 AM
Hi,
Your default-router is wrong. It should be
ip dhcp excluded-address 10.0.0.46
!
ip dhcp pool 40
network 10.0.0.32 255.255.255.240
default-router 10.0.0.46
!
int fa0/0.40
encap dot1q 40
ip add 10.0.0.46 255.255.255.240
HTH.
Regards,
Terence
08-29-2016 02:31 AM
DHCP Scope ranges must be checked again
What about other sub interfaces?
Switch will tag frames with specific VLAN ID and throw it out of Trunk port . In other side, router will receive packet and direct it to its related sub interface. So if your switch tags a packet with VLAN ID 10, your router must direct it to the sub interface tagged using .1q with vlan id 10 .
So, define a sub interface for each vlan on your router. Otherwise , Your router can't handle it and select right scope to pick an ip and it also can't answer request without tagging them ,
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