cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
590
Views
0
Helpful
2
Replies

Vlan Trunk from Switch to 3845 router with 3 vlans

pipsadmin
Level 1
Level 1

Hi,

I'm kinda confiused here...

I have a port on a switch configured as :

interface GigabitEthernet10/1

description TRUNK VLAN 227 228 238 switchport

switchport trunk encapsulation dot1q

switchport trunk allowed vlan 227,228,238

switchport mode trunk

no ip address

end

The vlan interfaces on the switch are setup and UP-UP.

Now i need to connect this trunk to the router on Fa3/0

Although, I am unsure how to configure the router's Fa3/0 port for all 3 vlans.

I tried setting up sub interfaces on the Fa3/0 as Fa3/0.1 .2 and .3 with encap dot1q and then created the vlans 227 228 and 238 with IP addresses.

The sh int vlan 227 on the router shows:

Vlan227 is up, line protocol is down

Hardware is EtherSVI, address is 0018.b9be.3630 (bia 0018.b9be.3630)

Description: VLAN227

Internet address is 216.24.227.3/24

Why is my vlan not up?

1 Accepted Solution

Accepted Solutions

shevchiksv
Level 1
Level 1

first of all add vlan to vlan database, if you haven't done this

second you must put on ip address on subintefaces like this:

interface fa3/0

no ip address

interface fa3/0.227

encapsulation dot1q 227

ip address 216.24.227.3 255.255.255.0

interface fa3/0.228

encapsulation dot1q 228

ip address xxx.xxx.xxx.xxx 255.255.255.xxx

and so on

and NEVER WRITE YOUR PUBLIC IP_ADDRESS!!! :))

View solution in original post

2 Replies 2

shevchiksv
Level 1
Level 1

first of all add vlan to vlan database, if you haven't done this

second you must put on ip address on subintefaces like this:

interface fa3/0

no ip address

interface fa3/0.227

encapsulation dot1q 227

ip address 216.24.227.3 255.255.255.0

interface fa3/0.228

encapsulation dot1q 228

ip address xxx.xxx.xxx.xxx 255.255.255.xxx

and so on

and NEVER WRITE YOUR PUBLIC IP_ADDRESS!!! :))

I got confused... with seting up trunks and switch ports on a router...

I had fergot about the vlan ID on the encapsulation dot1q...

OH ! fergot to remove them,////

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