cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1180
Views
0
Helpful
13
Replies

IP MAY NOT BE CONFIGURED IN L2 LINKS

razzakid
Level 1
Level 1

Hi guys.Need your help!!!Got a router for a day cisco , and was tasked to connect the router through a router that is Magenta Router and Cisco Router. I also connected a switch which comes from cisco. Tried to configure cisco router , 2 interfaces.INSIDE - OUTSIDE. When I try to configure INSIDE routing does not work. Writes Ip may not to be configured in L2 links.When I do it through a Vlan that is configured on the inside Routing in Vlan then works but can not go to Cisco router and also can ping Magenta router although in VLAN they are in different networks.What to do? My task from work is as follows:
1)Connect everything and configure 3 networks.
2)1 Network PC PHONE WIFI
3)2 WIFI NETWORK Work
4)3 WIFI network Guests

Help me please how to do it?
For example :
1) network 192.168.1.2 255.255.255.0
2) network 192.168.2.2 255.255.255.192
3)network 192.168.3.2 255.255.255.252


3 Networks should be on the Cisco Router.The Magenta Router is just WAN

13 Replies 13

balaji.bandi
Hall of Fame
Hall of Fame

You need to provide diagram how these connected.

Router--Switch--Devices ?

Then you need to configure Router in stick and NAT configuration to work.

Can you post show run from Switch and Router to understand.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Bildschirmfoto vom 2022-08-10 13-58-07.pngBildschirmfoto vom 2022-08-10 13-58-00.pngBildschirmfoto vom 2022-08-10 13-57-45.pngBildschirmfoto vom 2022-08-10 13-55-44.png

Switch Bildschirmfoto vom 2022-08-10 16-06-36.pngBildschirmfoto vom 2022-08-10 16-06-55.png

Based on the drawing what I would expect to see on your 1941 router would be a routed (layer 3) interface connecting to the WAN router and a routed (layer 3) interface with subinterfaces for 3 vlan connections connected to the switch. But the partial configs that I can see are quite different. They suggest that your 1941 has an Etherswitch module and that the connection from 1941 to the switch is on one of those ports. In that case what needs to be configured is that the router interface connecting to the switch is configured as a trunk and then to have vlan interfaces on the router for the 3 vlans/subnets on the switch. Also to have the switch interface connecting to the router to be configured as a trunk.

HTH

Rick

how do i do that? sorry im green in this stuff..

razzakid
Level 1
Level 1

Bildschirmfoto vom 2022-08-10 14-32-09.png

Hello
you mention subnets that differ to the topology being shown?
Below is based on the topology.

Magenta rtr
int x/x
description to Cisco rtr
ip address 192.168.1.1 255.255.255.252
no shut


Cisco router
int x/x
description connecting to Magenta rtr
IP address 192.16.1.2 255.255.255.252
ip nat outside
no shut

int x/x
no shut
int x/x.40
encapulation dot1 40
description Lan-Wired
192.168.40.1 255.255.255.0
ip nat inside

Int x/x.41
description Lan-Wi-Fi 
encapsulation dot1q 
ip address 192.168.41 255.255.255.128
ip nat inside

Access-list 100 permit 192.168.40.0 0.0.0.255 any
accces-list 100 permit 192.168.41.0 0.0.0.127 any
Ip nat inside source-list 100 interface fa0/0

ip route 0.0.0.0 0.0.0.0 interface (wan) 192.168.1.1

switch
Int x/x
description connection to Cisco rtr
switchport mode trunk
No shut

vlan 40,41
exit

int x/x
description hosts
switchport host
switchport access vlan 40


int x/x/
description link to Wi-Fi ap
switchport mode trunK


Wi-Fi switch
description link to cisco switch
switchport mode trunK

Int x/x
description Wi-Fi host
switchport host
switchport access vlan 41




Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

razzakid
Level 1
Level 1

the topology should be something like that .I put acces point like a new router with wifi becouse i cant enable wifi or i dont know how to do that.       

Hello,

is this actually a 1941 router you have (or have you just used this is an example in Packet Tracer) ? The easiest way to figure this out is for you to post the output of 'sh run' from both the router and the switch. Put the output in a text file, and post both text files here...

how do i copy the show run cfg?YEs that is my router that i have

Hello,

you are connected to the router with a console cable, or any other access to the command line ? Just issue the 'sh run' command, select the entire output and copy it to text file (using e.g. Notepad).

i am in command line , when i press ctrl c to copy that , he is going out from config mode....with mouse the same.I am on ubuntu system

Hello,

what if you just TFTP the running config from flash to a TFTP server ?