cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1235
Views
0
Helpful
4
Replies

Inter VLAN Routing and Cisco 1711

niall-wilkins
Level 1
Level 1

Hi,

I am trying to get inter VLAN routing working on a Cisco 1711 switch with the 4 port switch WIC but it is not working. I think its something simple but I can figure it out. I cant ping from the computers to each sub interface. i.e. I cant ping FastEthernet 0.10 IP address of 10.1.10.1 from a laptop plugged into FastEthernet 3. The laptop has an ip of 10.1.10.2 and is using 10.1.10.1 as its default gateway. Below is a copy of my config.

Router#show conf

Using 1045 out of 29688 bytes

!

version 12.4

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname Router

!

boot-start-marker

boot-end-marker

!

!

no aaa new-model

mmi polling-interval 60

no mmi auto-configure

no mmi pvc

mmi snmp-timeout 180

!

!

!

!

ip cef

ip auth-proxy max-nodata-conns 3

ip admission max-nodata-conns 3

!

multilink bundle-name authenticated

!

!

!

archive

log config

hidekeys

!

!

!

!

!

!

!

interface FastEthernet0

no ip address

duplex auto

speed auto

!

interface FastEthernet0.10

encapsulation dot1Q 10

ip address 10.1.10.1 255.255.255.0

!

interface FastEthernet0.20

encapsulation dot1Q 20

ip address 10.1.20.1 255.255.255.0

!

interface FastEthernet1

switchport mode trunk

!

interface FastEthernet2

!

interface FastEthernet3

switchport access vlan 10

!

interface FastEthernet4

switchport access vlan 20

!

interface Vlan1

no ip address

!

ip forward-protocol nd

no ip http server

no ip http secure-server

!

!

!

!

!

!

!

!

control-plane

!

!

line con 0

line aux 0

line vty 0 4

!

end

1 Accepted Solution

Accepted Solutions

O, I assumed it would.

In that case, thank you for rating my post;-)

View solution in original post

4 Replies 4

Edison Ortiz
Hall of Fame
Hall of Fame

That setup won't work.

Try this:

Remove the interfaces

no interface FastEthernet0.10

no interface FastEthernet0.20

!

!

Verify the vlans are created in Layer2

sh vlan-switch

!

If they don't exist

vlan database

vlan 10

vlan 20

exit

!

Create the Layer3 interfaces

interface vlan 10

ip address 10.1.10.1 255.255.255.0

no shutdown

interface vlan 20

ip address 10.1.20.1 255.255.255.0

no shutdown

Try pinging now.

HTH,

__

Edison.

Please rate helpful posts

lgijssel
Level 9
Level 9

You likely have to define the vlans in the vtp database:

#vlan database

vlan 10 name vl10

vlan 20 name vl20

exit

#

If this has not been done, the vlans will not become active.

regards,

Leo

Thanks it works now

O, I assumed it would.

In that case, thank you for rating my post;-)

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card