PDA

View Full Version : % IP addresses may not be configured on L2 links


philexam
01-20-2011, 02:34 PM
I getting the message below and get passed it can you help
phillip#show
phillip#show ip int
phillip#show ip interface brief
Interface IP-Address OK? Method Status Protocol
Ethernet0 unassigned YES unset administratively down down
Ethernet1 unassigned YES unset administratively down down
FastEthernet1 unassigned YES unset down down
FastEthernet2 unassigned YES unset down down
FastEthernet3 unassigned YES unset down down
FastEthernet4 unassigned YES unset down down
phillip#conf t
phillip#conf terminal fa
phillip#conf terminal
Enter configuration commands, one per line. End with CNTL/Z.
phillip(config)#int
phillip(config)#interface fa
phillip(config)#interface fastEthernet 4
phillip(config-if)#desc
phillip(config-if)#description INTERNET WAN PORT
phillip(config-if)#ip address 172.16.10.2 255.255.255.0 ?
secondary Make this IP address a secondary address
<cr>

phillip(config-if)#ip address 172.16.10.2 255.255.255.0 ?

% IP addresses may not be configured on L2 links.
----------------------------------------------------------------------------------------------------------

I can get the ports to come up after this message above Is it correct to assign the wan ip address to the Fa port 4 of the c831 router, or to the ethernet port? once i get that right how do it configure the fa ports.
is this correct
create a vlan and place the ports into the vlan so they all have the same ip....

config t
config)# interface vlan2
config-if)#ip address 192.168.45.1
exit
(config-if)#int gi3/23
(config-if)#switchport access vlan 2
(config-if)#int gi3/24

(config-if)#switchport access vlan 2
(config-if)#int gi3/25

(config-if)#switchport access vlan 2
(config-if)#int gi3/26

(config-if)#switchport access vlan 2
(config-if)#exit
(config)#exit
#show vlan
not sure if that will create the vlan, and should it be create on vlan 1 or 2 to elimanate % IP addresses may not be configured on L2 links
message below. really need help getting started, I have the books but this doesn't address that message specifically. Thanks







% IP addresses may not be configured on L2 links


0

Please Sign-in (http://it.toolbox.com/home/signin?r=http%3a%2f%2fit.toolbox.com%2fapi%2fConte ntVote%2f2005471%2f1%2f1%2f) or Register (http://it.toolbox.com/home/register) to vote


Like this simple config below:
create a vlan and place the ports into the vlan so they all have the same ip....

config t
config)# interface vlan2
config-if)#ip address 192.168.45.1
exit
(config-if)#int gi3/23
(config-if)#switchport access vlan 2
(config-if)#int gi3/24

(config-if)#switchport access vlan 2
(config-if)#int gi3/25

(config-if)#switchport access vlan 2
(config-if)#int gi3/26

(config-if)#switchport access vlan 2
(config-if)#exit
(config)#exit
#show vlan