09-25-2012 02:35 AM - edited 03-04-2019 05:39 PM
Hi,
what I`m doing wrong? When I try to set an IP Adress to the Interface ethernet 0/0 I get
the following:
ERROR: This command can only be configured on VLAN interfaces
This Error also come on the Interface Ethernet 0/1. Do I have to set first 2 VLAN and
assign the Interfaces to the VLAN so that I can set IP Adresses to the Ethernet Interfaces?
I hope someone can tell me what I have to do so I can configure the ASA 5505.
sincirley yours
H.-J. Guenter
09-25-2012 02:42 AM
Hi,
the ethernet ports on ASA 5505 are L2 switchports so you can't assign an IP address to these.
What you must do is put these ports in a particular vlan with the switchport access vlan command then create L3
Vlan interfaces where you can put IP addresses.These SVIs will then be assigned to inside or outside and given the proper security-level.
Regards.
Alain
Don't forget to rate helpful posts.
09-26-2012 07:59 PM
Hello,
like Aliain said you cant assign ip to it but you can use this example
Create vlan interface.
!
interface Vlan100
description inside
nameif inside
security-level 100
ip address XXXXXX
!
interface Vlan101
description Public outside
nameif outside
security-level 0
ip address XXXXXX
then you can apply it to your Ethernet interface
interface Ethernet0/0
description inside
switchport access vlan 100
speed 100
duplex full
!
interface Ethernet0/1
description public outside
switchport access vlan 101
speed 100
duplex full
!
Hope this will help.
thanks
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