cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4814
Views
10
Helpful
2
Replies

Assign an IP to ethernet 0/0 on ASA 5505

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

2 Replies 2

cadet alain
VIP Alumni
VIP Alumni

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.

Don't forget to rate helpful posts.

singhaam007
Level 3
Level 3

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

Review Cisco Networking for a $25 gift card