03-27-2024 05:14 AM
I have a DHCP server in my project which gives all ip, also I need to make 4 pc which will have static ip, and I need to ping them with pc which has dhpc setting on pc with static ip how can I do it? I have one router.
for example
PC59 > PC30
PC30 ping webserver
cisco file - https://ufile.io/oc4e268e
03-27-2024 06:22 AM
@Hokageqqw hi,
1. you need different VLANs for different network ranges (ex. VLAN 10 for 192.168.1.0/24 range and VLAN 20 for 192.168.2.0/24) since you have only one router.
2. then configure all inter-switch connections as trunk and allow the selected VLANs configured in step 1
3. configure sub interfaces in router with correct vlan encapsulation
4. configure DHCP server in correct VLAN where you need to distribute IPs
router configurations - https://www.grandmetric.com/knowledge-base/design_and_configure/router-on-a-stick-approach-cisco-configuration/
switch configurations - https://www.practicalnetworking.net/stand-alone/configuring-vlans/
04-03-2024 02:24 AM
how to configure a vlan correctly ? is there a manual?
04-03-2024 02:39 AM
Hello,
post your zipped Packet Tracer project (.pkt) file, and indicate what you are having trouble with...
The link you posted earlier downloads some sort of .exe file, which looks like malware...
04-03-2024 02:42 AM
04-03-2024 02:44 AM
I have a DHCP server in my project which gives all ip, also I need to make 4 pc which will have static ip, and I need to ping them with pc which has dhpc setting on pc with static ip how can I do it? I have one router.
04-03-2024 02:53 AM
Which PCs have a static IP address, and what IP addresses do these PCs have ?
04-03-2024 03:00 AM
192.168.2.1 192.168.2.2 192.168.2.3 192.168.2.4
04-03-2024 03:01 AM
I need to ping PCs with dhcp setting
04-03-2024 03:24 AM - edited 04-03-2024 03:35 AM
Hello,
you need to use a subinterface on the router. Also, you need to put the PCs with static IPs in a different Vlan. The links between the switches need to be converted to trunk links. Also you need to manually create Vlan 2 on all intermediate switches. The default gateway of the PCs in the 192.168.2.0/24 address space needs to be 192.168.2.1. One of the PCs had been assigned this address, you need to change it to something else (such as .5)
Attached the revised file with the above mentioned changes implemented.
04-03-2024 03:33 AM
I also have a question why the dhcp server does not assign a dns server?
04-03-2024 04:01 AM
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