Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VLAN trunking between cisco switch and router

Status
Not open for further replies.

gargamel100

Technical User
Oct 25, 2006
31
CZ
Hi all,

I need your help, really I do not know what I am doing wrong.
I use The Boson Netsim v.6 as tool while prepare my CCNA exam.
I connected network like

;;;;;;Router;;;;;
/e0
/
/
/ 0/1
;;;;;;switch;;;;;
0/2 / / 0/3
/ \
/ \
pc1 pc2

pc1 and pc2 are in different VLANs.
I want to test vlan trunking and I did like this:

On switch: created vlans: vlan database,vtp server, vtp domain TEST, vlan 10 , vlan 20,
int fa0/2
switchport access vlan 10
exit
int fa0/3
switchport access vlan 20
exit
int fa0/1
switchport mode trunk
switchport trunk encapsulation dot1q
exit

on router:
int e0, no ip address, no shut
exit
int e0/0.10
encapsulation dot1q 10
ip address 11.1.1.1 255.255.255.255.0
exit
int e0/0.20
encapsulation dot1q 20
ip address 12.1.1.1 255.255.255.0
exit

on pc1 and pc2:

pc1 : ipconfing /ip 11.1.1.2 255.255.255.0
ipconfing /dg 11.1.1.1

pc2: ipconfig /ip 12.1.1.2 255.255.255.0
ipconfing /dg 12.1.1.1

and I suppose after all this configuration I should be able to ping from pc1 to pc2 but I am not :(.

Please if someone can suggest me what I am doing wrong, I just want to test this issue.
Thank you in advance.
 
You may need
int fa0/2
switchport mode access

On all access ports before they are able to access VLNANs. Also, why not use 2950's in Boson?

Burt
 
Also, you're going to find MANY things on a sim that do NOT work the way it does in the real world---you need real routers and switches from Ebay, for SDM on the new exams, and for debugging outputs, to see how the equipment physically connects, etc.

Burt
 
Thanks. I tried everything but it does not works. I suppose it is not possible to "simulate" some things.

Thank you
 
You may want to check the vlan database with a "show vlan" on the switch and make certain the vlans are active.
 
Routing?

===

AJ - (Formerly FatmanSuperstar)
 
On switch: created vlans: vlan database,vtp server, vtp domain TEST, vlan 10 , vlan 20,"
Sure all parameters match (vtp version, domain, password)? Also, this does not really need to be set up...just the VLANs in your config.
Put pc1 and pc2 into the same VLAN---bet you STILL can't ping! Not with Boson!

Burt
 
Hi all,

I made it :

on switch :
vlan database, vlan 10, vlan 20,
int fa0/1, switchport mode trunk,
int fa0/2 switchport access vlan 10
int fa0/3 switchport access vlan 20

on router:
int fa0/0
no shut
int fa0/0.10, encapsulation dot1q 10, ip address 10.1.1.1 255.255.255.0
int fa0/0.20, encapsulation dot1q 20, ip address 11.1.1.1 255.255.255.0

on PCs: ipconfing /ip 10.1.1.2 255.255.255.0
ipconfig /dg 10.1.1.1

and

ipconfig /ip 11.1.1.2 255.255.255.0
ipconfig /ip 11.1.1.1


,,,,,

ping from one host to another works...I tried similar scenario for more VLANs and routers, and it works.

Thank you for your answers.

Regards

 
So you just changed the IP addresses/subnets??? Hope you didn't pay for Boson...lol

Burt
 
:) yep, but old ip addresses also works :). I do not know what was the reason why it did not works earlier. Maybe I am playing with simulator.

Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top