cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
9180
Views
0
Helpful
8
Replies

interface vlan1

iamtheone12345
Level 1
Level 1

Hi guys,

I am preparing for CCNA and is using packet tracer 5.3 for labs.

i have a simple network of 2 computers connected to a switch .The switch is connected to a gateway router.

i have connected  switch ineteface fa0/3 to the router interface fa0/0.Connectivity is fine.

However i have one question.I use switch VLAN1  interface for telneting into the switch.

I also see a router Vlan interface.What is that interface used for? As for telneting into the router i can use the fa0/0 port of the router.

Your answer would be really helpfull.

Arjun

8 Replies 8

ankugarg
Level 3
Level 3

Hi Arjun,

Even to telnet into the switch,you can use ip address of the interface of the switch...If you have multilayer switch,then you can assign the ip address to the the interfaces of that switch,and use them as L3 ports.

It was just for your info..Multilayer switches are not relevant for CCNA.

iamtheone12345
Level 1
Level 1

what i meant was in switches we have vlan1 interface which we can use for remote management(telnet).

In routers too we have  vlan1 interface.In jeremie's CCENT videos i watched him configuring interface vlan1 of the gateway router as the lan facing port.My question is he could have done it on the fa0/0 port of the router.So why did he choose the interface vlan1?

ameya_oke
Level 1
Level 1

Dear Arjun,

I believe your selected a router with ether switch module in packet tracer.

For example 1812W router has a 8 port ethernet switch module connected to the router.

In lay man language an ethernet switch is spliced into the router.

You can configure most of switching command on this module like VLAN configuration in this case.

Please rate if this helps!

Ameya

Hi Ameya,

That could be possibble.i selected a 2811 router.But in that case how do you connect a switch to the router physically in a real world situation where an interface vlan1 on a router will not exist physically as its is a logical interface?i tried designating the lan port as vlan1 interface in packet tracer.But the problem is i cant ping the router lan port(vlan1 interface)

from the switch or the 2 PC's as vlan interface doesnot exist physically.I can only connect the switch to the fa0/0 or fa0/1 interface of the router to the switch as designate one of them as lan port.I do not have an option to drag the cable from the switch interface fa0/3 to the vlan1 inteface of the router in packet tracer.

Dear Arjun,

There are 2 ways to achieve this.

Path 1)

Configure all switch ports as access port and put them in a vlan.

config on router 2811

int range f2 - 9

switchport access vlan 10

int vlan 10

ip address

Now you can connect a switch to any of the ethernet switchports on 2811 and your LAn would be active.

Path 2)

There is a concept of BVI interface by which we can do this.

Please find the config below.

1) configure BVI interface and provide LAN gateway ip to this bvi interface

interface BVI20

description ## Allahabad ## LAN ##

ip address secondary

2)Golbal config:

bridge irb

bridge 20 protocol ieee

bridge 20 route ip

3) VLAN config

interface Vlan2

no ip address

bridge-group 20

4) int fa1

bridge-group 20

This is a better path becauls along with the router switchports ,you can connect the switch to fas1 port  also.

please rate if this helps.

Ameya

Hi Arjun,

Yes, your question is right.
We can use fa0/0 interface IP for remote management.


But think where if you have Cisco 871 router, say it have only one routed ports and remaining all L2 ports on which you may not assign IP and cant sub interfaces.

So here I will use the one routed port (fa0/4) for WAN connectivity and you can not do sub interface on this as it is not good idea.


So you need to use Vlan1 for LAN gateway and remote management.

Hope I make understand you.


Please rate the helpful posts.
Regards,
Naidu.

Hi Latchum,

I think i sort of understood what you are saying.This 871 router has a switch embedded on it right?

Hi Arjun,

Yes, it have 4 ports ether switch, in that FastEthernet4 is the WAN port.

Please rate the helpful posts.
Regards,
Naidu.