01-21-2021 02:13 PM
Hi,
Trying to setup a L3 switch with DHCP server running and handing out addresses on all ports.
I have a very simple PT file with PC connected to 3650 in GigEth1/0/1, pool configured.
Still doesn't work... Please help me find the problem.
Attached is the PT file.
Thanks!
Solved! Go to Solution.
01-21-2021 02:51 PM
Hello,
here is one way to make it work:
ip routing
!
ip dhcp excluded-address 192.168.10.1
!
ip dhcp pool LAN
network 192.168.10.0 255.255.255.0
default-router 192.168.10.1
!
ip cef
no ipv6 cef
!
interface GigabitEthernet1/0/1
switchport access vlan 10
switchport mode access
switchport nonegotiate
!
interface Vlan10
mac-address 00d0.ff3e.7301
ip address 192.168.10.1 255.255.255.0
01-21-2021 02:29 PM
What is the password for the L3 switch ?
01-21-2021 02:45 PM
The password is aderet
01-21-2021 02:51 PM
Hello,
here is one way to make it work:
ip routing
!
ip dhcp excluded-address 192.168.10.1
!
ip dhcp pool LAN
network 192.168.10.0 255.255.255.0
default-router 192.168.10.1
!
ip cef
no ipv6 cef
!
interface GigabitEthernet1/0/1
switchport access vlan 10
switchport mode access
switchport nonegotiate
!
interface Vlan10
mac-address 00d0.ff3e.7301
ip address 192.168.10.1 255.255.255.0
01-21-2021 02:55 PM
Thanks!
will try that on real hardware when I have access to it.
Would the same and exact syntax work on the 3750 as well? (That’s the model I have in the lab).
01-21-2021 03:43 PM
Hello,
the syntax on the 3750 is the same.
The MAC address on the Vlan interface is something Packet Tracer automatically configures, it is not needed on a real device.
01-21-2021 02:56 PM
01-21-2021 02:59 PM
Another beginner question
why is the need to specify a MAC address when setting up the VLAN? (The last part of the config)
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