04-24-2022 01:40 PM
Hi All,
I am currently stuck trying to configure DCHP over a trunk port.
I have completed the DHCP procedure but I'm unsure how to assign an IP address to a trunk port?
Any help appreciated.
04-24-2022 01:49 PM
Add the zipped .pkt and devices password. I can help you.
But, antecipating, you can assign IP to a trunk. In order to assign IP address to an Interface, you need to run the command:
no switchport
The interface need to be in Layer 3 mode. Trunk is essencially, a Layer 2 mode interface
What you can do is assign IP address to a port-channel.
04-24-2022 02:13 PM
Thank you Falvio for your response.
Correct me if I'm wrong but am i typing the incorrect subnet mask here to encapsulate my router to access VLAN 4 addresses? I have used the VLAN 4 subnet I.D but says it is overlapping? Thoughts please?
04-24-2022 05:43 PM
For some reason I did not see any file. Can you attach here please.
04-25-2022 06:31 AM
04-25-2022 06:50 AM
The IPs you are entering are the subnet addresses ie. 172.16.64.0 and 172.16.128.0 which is why it is showing an error.
Use the first IP address available ie. 172.16.64.1 and 172.16.128.1 (or any other IP from the subnet if you want).
Jon
04-25-2022 06:59 AM
04-25-2022 07:13 AM
You seem to have posted the same as before ie. you have not updated the IPs you are using.
What is the IP and subnet mask on gi0/0 ?
Also that is a very large topology you have, if you are learning networking best to start small and then build up.
Jon
04-25-2022 09:00 AM
Hi Jon,
For example i used a different ip address but same subnet as VLAN public address /20 but states it overlaps with 172.16.64.0 /16 gigabitethernet 0.0. However that IP address is 172.16.44.9 /16.
This topology is for an assignment annoyingly.
Thoughts?
04-25-2022 09:34 AM
Can you just post the IPs you are trying to use with the subnet masks where it is saying they are overlapping.
Jon
04-25-2022 09:46 AM
IP addresses
Network IP 172. 16. 0.0 /16
Vlan 2 172.16.128.0/20
Vlan 3 172.16.64.0/19
Router Interface g0/0 IP 172.16.144.9 255.255.0.0
Router interface g0/1- Trunk port-Subnet I.D's Vlan2:128.1 Vlan3: 64.1
I have coded the following:
interface go/1.2
encapsulation dot1q 2
ip address 172.16.128.3 255.255.240.0
then says....
172.16.64.0 overlaps with gigabitethernet 0/0
Thoughts please
04-25-2022 09:53 AM - edited 04-25-2022 09:53 AM
Yes because gi0/0 is 172.16.0.0/16 which covers both 172.16.64.0/19 and 172.16.128.0/20.
So you need to change the subnet mask of gi0/0 if you want to use 172.16.x.x IPs on all the interfaces eg. /24 would be fine but there are a lot of options you could choose.
Jon
04-25-2022 02:48 PM
Thank you for your help. Problem solved.
04-24-2022 02:13 PM
Hello,
what they most likely want you to do is configure the link between R8 and S8 as a trunk with subinterfaces on R8. The configuration of R8 would look something like below:
R8
interface GigabitEthernet0/0
description Trunk to S8
!
interface GigabitEthernet0/0.3
description Vlan3 Subinterface
encapsulation dot1q 3
ip address 192.168.3.1
!
interface GigabitEthernet0/0.4
description Vlan4 Subinterface
encapsulation dot1q 4
ip address 192.168.4.1
04-24-2022 02:28 PM
Thank you Georg for your response.
Following your guidance I still failed to complete a DHCP.
I used the default VLAN 4 address 172.16.0.0 255.255.192.0
Any suggestions welcome please?
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