10-14-2017 03:51 PM - edited 03-08-2019 12:22 PM
Hello,
I am new to Packet Tracer and I cannot figure out an issue I have. I have a very basic network with a L3 switch. I have only two VLANs (Admin VLAN 100 & Public VLAN 200).
Admin VLAN 100 = 172.16.1.0/24
Public VLAN 200 = 192.168.1.0/24
VLAN 100 SVI = 172.16.1.254
VLAN 200 SVI = 192.168.1.254
Fast Ethernet on the DHCP server is statically set to 172.16.1.10
DHCP Default Gateway is set to the corresponding SVI of each scope.
IP helper-address on VLAN 200 is set to 172.16.1.10
On the switch FE0/1 is connected to the DHCP server and is switchport access vlan 100
FE0/23 is desktop client switchport access vlan 100 (with DHCP enabled on the client) *This client gets DHCP*
FE0/24 is desktop client switchport access vlan 200 (with DHCP enabled on the client) *This client does not*
DHCP server pools are both /24 masks with pools starting at:
172.16.1.100 (100 max users) - default gateway - 172.16.1.254
192.168.1.100 (100 max users) - default gateway - 192.168.1.254
I thought I have set them up correctly in the L3 switch, I have added two scopes to the DHCP server, however the only IPs getting handed out are from VLAN 100 which is the same VLAN as the DHCP's FE card.
I have used ip helper for VLAN 200, given the IP addresses to the SVIs, and enabled IP routing on the L3 switch.
Anyone mind showing me where I am messing this up? First time using a L3 switch. Thanks!
Switch>en
Switch#show run
Building configuration...
Current configuration : 1505 bytes
!
version 12.2(37)SE1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Switch
!
!
!
!
!
!
ip routing
!
!
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface FastEthernet0/1
switchport access vlan 100
switchport mode access
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
switchport access vlan 100
switchport mode access
!
interface FastEthernet0/24
switchport access vlan 200
switchport mode access
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
no ip address
shutdown
!
interface Vlan100
mac-address 00e0.b0b0.7c01
ip address 172.16.1.254 255.255.255.0
!
interface Vlan200
mac-address 00e0.b0b0.7c02
ip address 192.168.1.254 255.255.255.0
ip helper-address 172.16.1.10
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
Switch#
Solved! Go to Solution.
10-15-2017 07:17 AM
Which version are you running (Help --> About) ?
10-15-2017 07:32 AM
Hello,
don't laugh when I tell you what the problem is in your config: your DHCP server does not have a default gateway configured. Add 172.16.1.254 in the Config tab (Settings)...
10-15-2017 01:19 PM
Ok! I will add that, I figured there was something with the DHCP server setup since it is so different than a Windows Server.
That seems like it is the fix by the way! Major thanks
I am running Version : 7.1.0.0222 by the way
10-15-2017 09:05 AM
We are all learning here!
Take your time. The setup worked for me, which means, you have the knowledge, maybe you are having trouble with software.
Try again and again, as many times as necessary and let me know if you need assistance
-If I helped you somehow, please, rate it as useful.-.
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