no connection to lan port
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2011 11:11 AM - edited 03-07-2019 03:52 AM
Hello all,
I have a 1721 router installed with both an adsl wic and a 4 port switch wic card. My setup is as follows:
pc connected to port 3 (mode access on vlan 20) on the 4 port switch wic (installed in 1721 router)
port 4 is configured as trunk (encap dot1q) and connected to fasethernet 0 (inbuild of 1721)
fastethernet 0 configured with no ip address
created sub-interface fastethernet 0.20 with encapsulation dot1q on vlan 20
ip address of sub interface 0.20 is 192.168.20.240
pc nic ip address is 192.168.20.245 however cannot ping 20.240 any ideas ?
I want to use only this router with its switch wic for vlans and internet
Thanks
- Labels:
-
Other Switching
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2011 11:36 AM
The pc is connected to a switch? The port of pc i suppose sent frame untagged so doesn't go on sub if 0.20. What does it mean port 4 is connected on to fast 0? do you have connected a port of switch module on the same router?
Correct me if i'm wrong.. you have configured a port of 4 port module as trunk connected this to fa0 of the same router with sub interface 0.20... and you want that your pc connected to a port in access in vlan 20 of switch module go inside trunk and terminate on subinterface 0.20?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2011 11:57 AM
The pc is connected to a switch?
the pc is connected to a 4 port wic module of router 1721
do you have connected a port of switch module on the same router?
yes I tried to connect from port 4 of the switch on the same 1721 router to the fastethernet 0 port
Correct me if i'm wrong.. you have configured a port of 4 port module as trunk connected this to fa0 of the same router with sub interface 0.20..
Exactly
and you want that your pc connected to a port in access in vlan 20 of switch module go inside trunk and terminate on subinterface 0.20?
Exactly
is it possible ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2011 12:08 PM
Ok... for first things... your router doesn't support switched virtual interface (svi)? The cable used are straight or cross?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2011 12:09 PM
I am using straight cables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2011 12:09 PM
Hi,
Why did you do this? just configure a vlan 20 interface and all hosts in L2 ports belonging to VLAN 20 will use this SVI to route traffic to another VLAN or the internet( via the native routed port of the router).
Regards.
Alain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2011 12:12 PM
would you be so kind to write a quick example thanks
also will this work if I need more vlans ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2011 12:14 PM
Cadet.. don't you like cretive user :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2011 12:16 PM
conf t
interface vlan 20
ip addres 10...... 255.....
no sh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2011 12:17 PM
ok so that will be configured on the router and all switch ports just set to access ports on vlan 20
pc gateway will be the vlan 20 ip address correct ?
what ip address will fastethernet 0 have then and do I still need sub-interfaces ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2011 12:25 PM
Yes see if you can configure this svi, with ip address you have configured on sub if... before remove this from it. When the svi is in up up state you must ping the virtual interface and all will be works correctly and properly configured.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2011 12:53 PM
vlan 20 interface did not came up:
Vlan20 192.168.20.240 YES manual up down
remember also that on interface fastethernet 0.20 I had the command:
ip nat inside
to work back I have configured int fast eth 0.20 with ip, ip nat inside command and encap dot1q
what do you think pls ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2011 12:54 PM
Connect the pc to a port in access for vlan 20.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2011 12:57 PM
great Fabio it works, very fast excellent troubleshooting !
can you explain why it did not work with the previous configuration ?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2011 01:01 PM
Remember for your knowledge, if there is no port up in that vlan or that vlan is not configured on up trunk links the state of that svi is up down. The second down is phisical link, the up is the state of the virtual interface. Have a nyce Christmas.
