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!

Router on a stick Help

Status
Not open for further replies.

RobG2001

MIS
Oct 5, 2001
89
US
I'm not sure what I'm doing wrong but I can't get my vlan routing to work with my subinterfaces on a 3550 switch. the port on the switch is configured like this:

interface FastEthernet0/21
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address

the Router is set up like this from memory since I had to remove it and do it on to physical interfaces:

interface ethernet 0/1.2
ip address 192.168.1.254 255.255.255.0
encapsulation dot1q vlan 1

interface ethernet 0/1.1
ip address 10.17.1.254 255.255.0.0
encapsulation dot1q vlan 75

The PCs are also conntecting to ports that are configured as trunks because they're hanging off IP Phones. I'm going crazy with this so help would be really appreciated.
 
I am guessing here, because it has been a while; but, have you specified which vlans are to be trunked across 0/21?


bob

I know what I know and that's all I know. What I don't know I will ask.
 
By setting it to trunk mode it should take all vlans. The other thing is that the PCs can ping each other but not their gateway.
 
What does a traceroute show?

I always thought you had to specify which vlans could go across a trunk. What does your config show for trunked vlans?

Just checking... Is routing turned on?



bob



I know what I know and that's all I know. What I don't know I will ask.
 
Been a while since I did this stuff too.. :(

Try assigning an IP to the switch. That might help.
 
Hope I can help..

This line I think we need to look at:

"The PCs are also conntecting to ports that are configured as trunks"

The PCs (hosts) shouldn't be connected to trunk links. They should be connected to a port assigned to a specific vlan.

The trunks should only be between switch to switch (or router). The PCs (hosts) should be on access links assigned to specific vlans.

As far as assigning an IP to the switch, that's a good idea...but...that is only for switch management and not for traffic.

Try this on the ports you have your PCs on.

switchport access vlan <vlan #>
ie...switchport access vlan 20

put that on the port that the PC is attached to.
 
Also

switchport mode access


I really wish we could get an 'edit' button on this forum, so we can go back and add/fix things.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top