Saturday, June 1, 2019

Router on a stick (ASA) with dhcp pools on 3750 L3 Switch?

Happy that I have things running as far as I do...

ASA

interface gig 0/1

desc TRUNK

no nameif

no sec-level

no ip address

interface gig 0/1.10

vlan 10

nameif LOCAL

sec-lev 99

ip address 172.20.10.250 255.255.255.0

interface gig 0/1.20

vlan 20

nameif MGMT

sec-lev 100

ip address 172.20.20.250 255.255.255.0

interface gig 0/1.40

vlan 40

nameif Printer

sec-lev 99

ip address 172.20.40.250 255.255.255.0

Switch 3750

ip dhcp excluded-address 172.20.10.200 172.20.10.254

ip dhcp excluded-address 172.20.20.200 172.20.20.254

ip dhcp excluded-address 172.20.40.200 172.20.40.254

ip dhcp pool VLAN10

network 172.20.10.0 255.255.255.0

default-router 172.20.10.250

dns-server 1.1.1.1

domain-name Local.com

lease 30

ip dhcp pool VLAN20

network 172.20.20.0 255.255.255.0

default-router 172.20.20.250

dns-server 1.1.1.1

domain-name Local.com

lease 30

ip dhcp pool VLAN40

network 172.20.40.0 255.255.255.0

default-router 172.20.40.250

dns-server 1.1.1.1

domain-name Local.com

lease 30

I set up gig 1/0/1 as

switchport access vlan 10

switchport mode access

spanning-tree bpduguard enable

The connection between laptop & g1/0/1 is green.

the dhcp server is on, I have debugging on and not seeing anything.

The laptop connected to 1/0/1 is giving me an 169.254.x.x address

I know its a bad idea to set up an ASA as a dhcp server which is why I'm attempting this.

I'm wondering if I'm doing this all incorrectly. I'd rather not have to set up everything as static IP's. I do have an old server running 2008 but I don't want to fight it and get it running again, and there are not many devices to be concerned with.



No comments:

Post a Comment