Help configuring a VLAN on a Cisco Router (GNS3)

Good Morning Cisco Experts,
I’m trying to setup a simple Cisco lab in GNS3.  I have three devices (all of them are C2600 routers with an NM-16ESW module in them).  The first two routers are configured as endpoints.  The commands I input to do this are:

!WS1 CONFIGS
Config t
No ip routing
Ip default-gateway 192.168.100.254
Interface fa1/0
No switchport
Ip address 192.168.100.196 255.255.255.0
Description WS1
No shut

! !WS2 CONFIGS
Config t
No ip routing
Ip default-gateway 192.168.100.254
Interface fa1/0
No switchport
Ip address 192.168.100.197 255.255.255.0
Description WS2
No shut

The third device is the router.  The commands I have used to configure this device are as follows:

!R1 CONFIGS
Config t
Interface fa1/0
Switchport
Switchport access vlan2
Description CONNECTS WS1
No shut

Config t
Interface fa1/1
Switchport
Switchport access vlan2
Description CONNECTS WS1
No shut

When I do a show vlan-switch on R1, I can see that VLAN2 has been created on the router.  I can also see that fa1/0 and Fa1/1 have been assigned to VLAN2.

When I do a show ip interface brief Fa1/0 and fa1/1 shows line status = up and protocol = down.

It’s almost like the VLAN isn’t up.  I thought that the VLAN would come up when I added ports to it.

I’m just not sure what I’m missing.  Any help you could provide would be greatly appreciated.

Regards,
Nick
LVL 1
ndalmolin_13Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

AkinsdNetwork AdministratorCommented:
You still need to create SVIs or assign IP address to a routed interface or use subinterfaces
Which ever one you choose, the vlan configuration is the same
interface vlan 2
ip address 192.168.100.197 255.255.255.0

If possible, post a diagram to depict your setup. (A screen shot of the GNS 3 topology would suffice)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ndalmolin_13Author Commented:
You were right, I did not have an SVI configured.  Thanks.
0
Rakesh Madupu JNCIE-SP #02079 CCIE-SP#47613Network Development EngineerCommented:
Hi,

I am not sure why you would want to create an SVI in this case, you are doing routing and creating a layer-3 port by the command "no switchport". Vlan would automatically be created if you have the command "switchport access vlan x " and it shall create vlan x.

May be you should trying looking into trunkport if you have any or interface status. can you display "show vlan" from your device ?

Thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Routers

From novice to tech pro — start learning today.