04-04-2013 11:25 PM - edited 03-07-2019 12:39 PM
Hi all,
Recently my company buy a EHWIC4ESG card and put into the cisco 1941. The reason we buy this card is because the in built two network ports of cisco 1941 are being used up. g0/1 is being connected to the internet and g0/0 is being connected to the office switch (192.168.5.x)
We have two servers (192.168.6.x and 158.55.33.x) that required to be connected to this router 1941 where the router will be configured as VPN for external user to access this server.
Tthe EHWIC4ESG card is put into the router 1941 and after typing the "running-config" command, i could see it create a vlan 1 interface and
interface GigabitEthernet0/1/0
interface GigabitEthernet0/1/1
interface GigabitEthernet0/1/2
interface GigabitEthernet0/1/3
I enter the following command:
router# conf t
router(config)# interface g0/1/0
router(config-if)# ip address 192.168.6.x 255.255.255.0
It gives me the following error:
"IP addresses may not be configured on L2 links"
What happened? Is it that our side purchase the wrong item?
Could anyone enlighten me what should i configure inside my router?
Thank and Regards,
Raymond
Solved! Go to Solution.
04-05-2013 03:37 AM
Tan,
From the data sheet
http://www.cisco.com/en/US/prod/collateral/routers/ps10536/data_sheet_c78-612808.html
it looks like these are layer 2 pots
4 or 8 10/100/1000BASE-TX ports | • The switches offer line-rate forwarding for Layer 2 traffic on each port. |
You could try something like this:-
!
int vlan 100
desc *** ROUTED PORT FOR G0/1/0 ***
ip address 192.168.6.1 255.255.255.0
no shut
!
int g0/1/0
switchport access vlan 100
no shut
!
!
int vlan 101
desc *** ROUTED PORT FOR G0/1/1 ***
ip address 192.168.7.1 255.255.255.0
no shut
!
int g0/1/1
switchport access vlan 101
no shut
!
etc etc
Regards,
Alex.
Please rate useful posts.
04-05-2013 05:42 AM
For those small 4 port hwic you must use an SVI and then assign the port on the hwic into that vlan to use L3 . Also you cannot say create vlan 2 for the hwic and then assign it to a in built gig port. The SVI is for the hwic to use only. You cannot use the hwic ports as routed ports where you assign the ip address directly to the interface.
04-05-2013 03:37 AM
Tan,
From the data sheet
http://www.cisco.com/en/US/prod/collateral/routers/ps10536/data_sheet_c78-612808.html
it looks like these are layer 2 pots
4 or 8 10/100/1000BASE-TX ports | • The switches offer line-rate forwarding for Layer 2 traffic on each port. |
You could try something like this:-
!
int vlan 100
desc *** ROUTED PORT FOR G0/1/0 ***
ip address 192.168.6.1 255.255.255.0
no shut
!
int g0/1/0
switchport access vlan 100
no shut
!
!
int vlan 101
desc *** ROUTED PORT FOR G0/1/1 ***
ip address 192.168.7.1 255.255.255.0
no shut
!
int g0/1/1
switchport access vlan 101
no shut
!
etc etc
Regards,
Alex.
Please rate useful posts.
04-05-2013 05:42 AM
For those small 4 port hwic you must use an SVI and then assign the port on the hwic into that vlan to use L3 . Also you cannot say create vlan 2 for the hwic and then assign it to a in built gig port. The SVI is for the hwic to use only. You cannot use the hwic ports as routed ports where you assign the ip address directly to the interface.
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