cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
613
Views
0
Helpful
5
Replies

vlan inside lan comunication help

daimk2020
Level 1
Level 1

dear 

i want some one can help me fixing this issue 

i have this 

one router  connect to multilayer switch that connect to 2 vlan

the tow vlan under multilayer communication but with 10.20.40.0/24 subnet are not

as you can see from file:-

my request this:

allow both 10.20.3.0/28,10.20.8.0/28 ,10.20.40.0/24 comunicat with each other

and allow out side request from others barcnch (10.20.60.0/24)reach this connection

route 1 confgratio

=================

Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int f0/0
Router(config-if)#ip address 10.20.40.1 255.255.255.0
Router(config-if)#ip route 10.20.40.0 255.255.255.0 f0/0
Router(config-if)#no shut

========

route 2

===============

Router>en

Router#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#int f0/0

Router(config-if)#ip address 10.20.60.1 255.255.255.0

Router(config-if)#ip route 10.20.60.0 255.255.255.0 f0/0

Router(config)#

Router#

%SYS-5-CONFIG_I: Configured from console by console

==================================

on multilayer switch i create tow lan

Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 3
Switch(config-vlan)#exit
Switch(config)#vlan 8

Switch(config)#int g0/1
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 3
Switch(config-if)#int g0/2
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 8
Switch(config)#int vlan 3
Switch(config-if)#
%LINK-5-CHANGED: Interface Vlan3, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan3, changed state to up
Switch(config-if)#ip address 10.20.3.1 255.255.255.240
Switch(config-if)#int vlan 8
Switch(config-if)#
%LINK-5-CHANGED: Interface Vlan8, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan8, changed state to up

Switch(config-if)#ip address 10.20.8.1 255.255.255.240
Switch(config-if)#no shut

Switch(config-if)#exit

Switch(config)#ip routing

===============================================

5 Replies 5

devils_advocate
Level 7
Level 7

Hi

You seem to have configured an ip address on f0/0 (on your Router) twice, see below:

Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int f0/0
Router(config-if)#ip address 10.20.40.1 255.255.255.0
Router(config-if)#ip route 10.20.40.0 255.255.255.0 f0/0
Router(config-if)#no shut

========

route 2

===============

Router>en

Router#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#int f0/0

Router(config-if)#ip address 10.20.60.1 255.255.255.0

Router(config-if)#ip route 10.20.60.0 255.255.255.0 f0/0

Router(config)#

Router#

What IP address are you trying to give the router, is it 10.20.40.1 or 10.20.60.1 as it can only have one?

The multilayer switch is also missing a default route towards the Router:

#ip route 0.0.0.0 0.0.0.0 10.20.x.1

I have put x because I am unsure on the exact IP address of your router.

The following line is also not needed as you are giving the router an IP address in the 10.20.40.x network so it will show a connected route:

Router(config-if)#ip route 10.20.40.0 255.255.255.0 f0/0

Basically, int fa0/0 on the router needs an IP address of some sort, it doesn't matter what as long as it doesn't overlap with any ranges on the multi layer switch.

The Router only needs 2 static routes, one for each subnet hostes on the Mutilayer switch.

The multilayer switch needs a default route (as explained above) towards the router.

How is the port configured on the multilayer switch which connects to the router?

Ta

no sire there is tow diffrent router  for the tow site should be connected 

Ganesh Hariharan
VIP Alumni
VIP Alumni

Hello ,

I belive you need to confgire a poin to point link between router and L3 for communication between L3 SVI.

So that you can have default route pointing towards router interface and in router a reverse route towards L3 interface for sucessful communication.

Hope it Helps..

-GI

Rate if it Helps..

thanks sire but i try to configure the poin to poin link without success if i do that how i can route between the vlan 3 and vlan 8 with subnet 10.20.40.0/24

thanks sire but i try to configure the poin to poin link without success if i do that how i can route between the vlan 3 and vlan 8 with subnet 10.20.40.0/24

Hello,

What i meant is from router F0/0 create a ptp subnet of 192.168.1.0/32 with 192.168.1.1 at router's end and 192.168.1.2 at Switch end.

As switch is L3 , so inter vlan communciation will automatically happen at switch level and for any traffic wants to communicate to these vlans behain router that woudl be routed based on static routing in router towards L3 interface.

Hope it Helps..

-GI

Rate if it helps..