Packet tracer 6.3

yovalyaryovalyar Posts: 10Member ■□□□□□□□□□
I have created 3 vlans and trunked them on 3 switches. Router has Router on a stick and dhcp. The problem is that only the pc's of the switch that is directly connected to the router gets IP and the 2two other switches that are conected to that switch dont get nothing though thay are not trunked.

see example of a switch
!
interface FastEthernet0/9
switchport access vlan 30
!
interface FastEthernet0/10
switchport access vlan 30
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!Switch#show interfaces trunk
Port Mode Encapsulation Status Native vlan
Gig0/1 on 802.1q trunking 1
Gig0/2 on 802.1q trunking 1


Port Vlans allowed on trunk
Gig0/1 10,20,30
Gig0/2 10,20,30


Port Vlans allowed and active in management domain
Gig0/1 30
Gig0/2 30


Port Vlans in spanning tree forwarding state and not pruned
Gig0/1 30
Gig0/2 30

Comments

  • HondabuffHondabuff Posts: 667Member
    Since there is so many variables I made the same topology. Look at my configs and see what you are missing.



    http://www.filedropper.com/routeronastick
    “The problem with quotes on the Internet is that you can’t always be sure of their authenticity.” ~Abraham Lincoln
  • winsladewinslade Posts: 15Member ■□□□□□□□□□
    Some things to check:
    -The router must have subinterfaces with an appropriate IP matching the subnet of the VLAN
    -Trunk port between the router to switch, and also a trunk for any switch to switch connections.
    -Allow the specific vlans to communicate across the trunk links
    -Multiple DHCP pools, one per subnet
    -DHCP pools must have different default gateways (The IP of the matching subinterface)
  • yovalyaryovalyar Posts: 10Member ■□□□□□□□□□
Sign In or Register to comment.