10-23-2020 01:00 PM
Hello,
why PC-A PC-B and PC-C in packet tracer are not receiving IP from router on a stick Perth.
https://drive.google.com/file/d/1NkxXqM1dIdylQ4lN4MiBP74-LEIMBnlg/view?usp=sharing
10-23-2020 02:04 PM - edited 10-23-2020 04:45 PM
So far I see following issues (* are critical):
* S1 is connected to wrong port on Router; it should be Fa0/0, not Fa0/1/0
you should have dhcp address exclusion on router to exclude IPs of router from dhcp pool
missing vlans on l2 switches - switch to trunk vlans must have vlan x in database,
something wrong with etherchannels - missing some of configs for etherchannels ? only 2 switches doing it or all 3 ?
* Native vlan mismatch between router and a switch
Regards, ML
**Please Rate All Helpful Responses **
10-23-2020 07:32 PM
as @Martin L says you need to provide you routers address in DHCP and exclude this address from pool.
As to you Ether Channel well they are non existent.
Here is a lab from Packet tracer people on how to set them up
https://www.packettracernetwork.com/labs/packettracerlabs.html
10-24-2020 09:11 AM
Here is modified cfg. I connected on a correct port f0/0, excluded router addresses from DHCP, set default gateway in DHCP, added vlan 20, 30, 40 to database, did not touched etherchannel yet, native vlan is 1 by default (I did not changed):
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/1/0, Fa0/1/1, Fa0/1/2, Fa0/1/3
But computers did not get Address from DHCP
Perth#sh run Building configuration... Current configuration : 2027 bytes ! version 12.4 no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption ! hostname Perth ! ! ! enable secret 5 $1$mERr$/jJFQNiaJSPg5O/2VYM/n0 enable password ! ! ip dhcp excluded-address 192.160.50.1 ip dhcp excluded-address 192.160.50.129 ip dhcp excluded-address 192.160.50.65 ip dhcp excluded-address 192.160.50.193 ! ip dhcp pool 10 network 192.160.50.0 255.255.255.192 default-router 192.160.50.1 ip dhcp pool 20 network 192.160.50.64 255.255.255.192 default-router 192.160.50.65 ip dhcp pool 30 network 192.160.50.128 255.255.255.192 default-router 192.160.50.129 ip dhcp pool 40 network 192.160.50.192 255.255.255.192 default-router 192.160.50.193 ! ! ! no ip cef no ipv6 cef ! ! ! ! ! ! ! ! ! ! ip name-server 192.160.50.100 ! ! spanning-tree mode pvst ! ! ! ! ! ! interface FastEthernet0/0 no ip address duplex auto speed auto ! interface FastEthernet0/0.1 encapsulation dot1Q 10 native ip address 192.160.50.1 255.255.255.192 ! interface FastEthernet0/0.2 encapsulation dot1Q 20 ip address 192.160.50.65 255.255.255.192 ! interface FastEthernet0/0.3 encapsulation dot1Q 30 ip address 192.160.50.129 255.255.255.192 ! interface FastEthernet0/0.4 encapsulation dot1Q 40 ip address 192.160.50.193 255.255.255.192 ! interface FastEthernet0/1 no ip address duplex auto speed auto shutdown ! interface FastEthernet0/1/0 switchport mode access ! interface FastEthernet0/1/1 switchport mode access ! interface FastEthernet0/1/2 switchport mode access ! interface FastEthernet0/1/3 switchport mode access ! interface Serial1/0 no ip address shutdown ! interface Serial1/1 no ip address clock rate 2000000 shutdown ! interface Serial1/2 no ip address clock rate 2000000 shutdown ! interface Serial1/3 no ip address clock rate 2000000 shutdown ! interface Vlan1 no ip address shutdown ! ip classless ! ip flow-export version 9 ! ! ! ! ! ! ! ! line con 0 ! line aux 0 ! line vty 0 4 password 33 login ! ! ! end Perth#
10-24-2020 03:30 PM
Sorry I forgot a step that I added.
Your native vlan is not 1 you changed it to 10
So you need to change trunk link to native vlan 10 as well
10-25-2020 12:19 PM
Thanks very helpful information.
10-27-2020 01:58 PM
glad to be of help.
Quick question was this the solution?
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