Options

Can't Get Vlan 1 Going In Packet Tracer Set-up

sleemiesleemie Member Posts: 109
I've got a switch connected to a router and I'm not setting it up the way that they teach for CCNA, I'm trying to set it up the same we have at work where I'm not putting an IP on the ports, I'm putting an IP on the VLAN 1 interfaces.

So, on the router side I'm connected to fa0/0 and on the switch side I'm connected to fa0/1. Everythings shows as being up except for the protocol on the router VLAN 1 interface. I put the switch's port in trunk mode, but there was no way to set the encapsulation and there's no way to set the Fa interface on the router to trunk mode.

What am I missing? PLEASE don't tell me I can't do this in Packet Tracer. Someone on here told me I could all this stuff in packet tracer, but I'm skeptical. Here's the configs...

Thanks.

Switch#sho run
Building configuration...

Current configuration : 1044 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Switch
!
!
!
interface FastEthernet0/1
switchport mode trunk
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet1/1
!
interface GigabitEthernet1/2
!
interface Vlan1
ip address 10.133.1.2 255.255.255.0
!
!
line con 0
!
line vty 0 4
login
line vty 5 15
login
!
!
end


Switch#sho int fa0/1
FastEthernet0/1 is up, line protocol is up (connected)
Hardware is Lance, address is 0001.64e7.9601 (bia 0001.64e7.9601)
BW 100000 Kbit, DLY 1000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s
input flow-control is off, output flow-control is off
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:08, output 00:00:05, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue :0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
956 packets input, 193351 bytes, 0 no buffer
Received 956 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
0 watchdog, 0 multicast, 0 pause input
0 input packets with dribble condition detected
2357 packets output, 263570 bytes, 0 underruns

Switch#sho int vlan 1
Vlan1 is up, line protocol is up
Hardware is CPU Interface, address is 00d0.ba26.322d (bia 00d0.ba26.322d)
Internet address is 10.133.1.2/24
MTU 1500 bytes, BW 100000 Kbit, DLY 1000000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
ARP type: ARPA, ARP Timeout 04:00:00
Last input 21:40:21, output never, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
1682 packets input, 530955 bytes, 0 no buffer
Received 0 broadcasts (0 IP multicast)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
563859 packets output, 0 bytes, 0 underruns
0 output errors, 23 interface resets
0 output buffer failures, 0 output buffers swapped out

Router1#sho run
Building configuration...

Current configuration : 688 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router1
!
!
!
enable secret 5 $1$mERr$GvDaTJK9lhdXRUPWKA74O0
enable password password
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex full
speed 100
!
interface Serial0/1/0
ip address 10.133.100.1 255.255.255.252
clock rate 64000
!
interface Serial0/1/1
no ip address
shutdown
!
interface Vlan1
ip address 10.133.1.1 255.255.255.0
!
ip classless
!
!
!
!
!
!
!
line con 0
password password
logging synchronous
line vty 0 4
login
!
!
!
end


Router1#sho int fa0/0
FastEthernet0/0 is up, line protocol is up (connected)
Hardware is Lance, address is 0000.0cc8.9801 (bia 0000.0cc8.9801)
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
ARP type: ARPA, ARP Timeout 04:00:00,
Last input 00:00:08, output 00:00:05, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0 (size/max/drops); Total output drops: 0
Queueing strategy: fifo
Output queue :0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
0 input packets with dribble condition detected
0 packets output, 0 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
Router1#sho int vlan 1
Vlan1 is up, line protocol is down
Hardware is CPU Interface, address is 0001.63b3.05b4 (bia 0001.63b3.05b4)
Internet address is 10.133.1.1/24
MTU 1500 bytes, BW 100000 Kbit, DLY 1000000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
ARP type: ARPA, ARP Timeout 04:00:00
Last input 21:40:21, output never, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
1682 packets input, 530955 bytes, 0 no buffer
Received 0 broadcasts (0 IP multicast)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
563859 packets output, 0 bytes, 0 underruns
0 output errors, 23 interface resets
0 output buffer failures, 0 output buffers swapped out

Comments

  • Options
    mattaumattau Member Posts: 218
    im not exactly sure what you are trying to do ? router on a stick for intervlan routing? in which case you will need to set up your router with a sub interface on the Fa0/0 port such as

    fa0/0.1
    encapsulation dot1q 1
    ip address (what ever subnet for vlan 1)

    then like you said. keep the switch port leading to the router in trunking mode so it can carry all types of vlans
    _____________________________________
    CCNP ROUTE - passed 20/3/12
    CCNP SWITCH - passed 25/10/12
    CCNP TSHOOT - passed 11/12/12




  • Options
    sleemiesleemie Member Posts: 109
    That was it! Thanks a bunch. Next I have a second switch I want to set up the same way coming off the same router and I'll connect that one to the fa0/1 router interface. I'd like to keep that switch in the same vlan, though, so I'll have to play around with it. I don't see why I would have to create another sub interface because I'm assuming you only need one per vlan.
  • Options
    mattaumattau Member Posts: 218
    you wouldnt need to connect the second switch to another interface on the router. That is the whole point of sub interfaces and router on a stick.

    you can just plug the second switch into the other switch (with a crossover cable) and put the management vlan (vlan 1 ) into the vlan 1 subnet and set the default gateway to the ip address you created on your fa0/0.1 vlan 1 subinterface.

    then that way when you create other vlans for different hosts you can just create a new subinterface and different subnet and set the hosts default gateway to the subinterface then you can communicate between vlans.
    _____________________________________
    CCNP ROUTE - passed 20/3/12
    CCNP SWITCH - passed 25/10/12
    CCNP TSHOOT - passed 11/12/12




  • Options
    sleemiesleemie Member Posts: 109
    Well, I'm trying to duplicate close what we have at work. We have a core router, actually a layer 3 switch, with a bunch of blades in it and every switch in the building is connected directly back to this core to gig ports with fiber runs. We don't have switches connected to other switches. And I'm assuming that wherever that .1 interface was created on the core it was only created once, although you have multiple switches in this vlan connected to this one core. And on each switch we put an IP address on the vlan 1 interface and they're all in the same subnet.
  • Options
    Forsaken_GAForsaken_GA Member Posts: 4,024
    sleemie wrote: »
    Well, I'm trying to duplicate close what we have at work. We have a core router, actually a layer 3 switch, with a bunch of blades in it and every switch in the building is connected directly back to this core to gig ports with fiber runs. We don't have switches connected to other switches. And I'm assuming that wherever that .1 interface was created on the core it was only created once, although you have multiple switches in this vlan connected to this one core. And on each switch we put an IP address on the vlan 1 interface and they're all in the same subnet.

    You're most likely using SVI's at work, instead of RoaS. It changes the concept of intervlan routing significantly.
  • Options
    themagiconethemagicone Member Posts: 674
    Simple explanation of router on stick -

    You have a switch.... You can set up up what ever and how many vlans you want on the switch. So Vlan 2, 3, 4, etc.

    On the router you can use one cable to the switch. Then you set up fa0/0.1 then use the Vlan info for Vlan 2 (VLan 1 is the management vlan), fa0/0.2 for Vlan 3, etc. The router then will perform intervlan routing. Otherwise if you try to ping a workstation on one vlan to another workstation on another vlan it won't route.

    Just studied it the other day myself so excuse me in advance if I got something wrong.
    Courses Completed at WGU: JIT2, LYT2, TFT2, SJT2, BFC2, TGT2, FXT2
    Courses Required For Me To Graduate WGU in MS: IT Network Managment: MCT2, LZT2, MBT1, MDT2, MNT2
    CU Done this term: 16 Total CU Done: 19
    Currently working on: Nothing Graduation Goal: 5/2013
  • Options
    sleemiesleemie Member Posts: 109
    Looks like you're right. When I did a "show interfaces" at work and it showed all the VLANs under Hardware for each one it said EtherSVI. I'm pretty sure I can't do that in packet tracer, so I guess I'll do a router on a stick.

    Can I at least assign different ports on the switch to different VLANs in Packet tracer or will all the ports have to be in the same VLAN?
  • Options
    mella060mella060 Member Posts: 198 ■■■□□□□□□□
    sleemie wrote: »
    Can I at least assign different ports on the switch to different VLANs in Packet tracer or will all the ports have to be in the same VLAN?

    You sure can assign different ports to different vlans in PT.
Sign In or Register to comment.