11-23-2017 04:10 AM - edited 02-21-2020 06:49 AM
Hallo,
I am struggling with a setup and I would be glad if I find help here.
The ASA is not capable of creating sub interfaces.
Still I would like to use different dhcp pools for different VLANS over trunks.
Please have a look at my config. So far no ip adresses are assigned to the clients.
Behind Ethernet 0/1 a managed cisco switch sg300 is connected.
interface Ethernet0/0 switchport access vlan 2 ! interface Ethernet0/1 switchport trunk allowed vlan 1,10,20,30,40 switchport mode trunk !
vlan interfaces
interface Vlan1 nameif managed security-level 100 ip address 192.168.0.193 255.255.255.224 ! interface Vlan2 nameif outside security-level 0 ip address dhcp setroute ! interface Vlan10 nameif work security-level 100 ip address 192.168.0.14 255.255.255.240 ! interface Vlan20 nameif home security-level 80 ip address 192.168.0.30 255.255.255.240 ! interface Vlan30 nameif restricted security-level 50 ip address 192.168.0.44 255.255.255.240 ! interface Vlan40 nameif inside security-level 20 ip address 192.168.0.254 255.255.255.224
dhcp pools
dhcpd dns 8.8.8.8 dhcpd auto_config outside dhcpd option 3 ip 192.168.0.254 ! dhcpd address 192.168.0.1-192.168.0.13 work dhcpd enable work ! dhcpd address 192.168.0.17-192.168.0.29 home dhcpd enable home ! dhcpd address 192.168.0.33-192.168.0.43 restricted dhcpd enable restricted
Thank you in advance for your time