09-13-2020 10:25 AM
I have done the subinterfaces encapsulation on the router, done the switchport access vlan, switchport mode access
but i am not too sure where to put the switchport mode trunk and i am still unable to ping the router any help is appreciated
Solved! Go to Solution.
09-13-2020 02:24 PM
Hello,
the problem was that Vlan 10 did not exist on the switch connected to the router. I manually created the Vlan. All links between the switches and the router must be trunks. Working file attached.
09-13-2020 11:09 AM
Your drawing shows information for r3 and r4. But shows only a single router. Is that significant?
If I interpret the drawing correctly the interface trunk should be FA0/1.
09-13-2020 11:29 AM
Im sorry but the R4 labeling is wrong it is supposed to be R3
09-13-2020 11:11 AM
You need to configure the Trunk port connected to the router. (in your case as per the diagram fa 0/1)
still not working post the switch and router config ?
09-13-2020 11:31 AM
It has already been trunked to Fa0/1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Switch
!
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
interface FastEthernet0/1
switchport mode trunk
!
interface FastEthernet0/2
switchport mode trunk
!
interface FastEthernet0/3
switchport mode trunk
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface GigabitEthernet0/1
ip address 172.16.70.1 255.255.252.0
duplex auto
speed auto
!
interface GigabitEthernet0/1.10
encapsulation dot1Q 10
ip address 172.16.10.1 255.255.252.0
!
interface GigabitEthernet0/1.20
encapsulation dot1Q 20
ip address 172.16.20.1 255.255.252.0
!
interface GigabitEthernet0/1.30
encapsulation dot1Q 30
ip address 172.16.30.1 255.255.252.0
!
interface GigabitEthernet0/1.90
encapsulation dot1Q 90
ip address 172.16.90.1 255.255.252.0
!
interface Serial0/0/0
no ip address
clock rate 2000000
shutdown
!
interface Serial0/0/1
no ip address
clock rate 2000000
shutdown
!
interface Vlan1
no ip address
shutdown
!
router ospf 1
log-adjacency-changes
network 172.16.8.0 0.0.3.255 area 0
network 172.16.20.0 0.0.3.255 area 0
network 172.16.28.0 0.0.3.255 area 0
network 172.16.88.0 0.0.3.255 area 0
network 172.16.68.0 0.0.3.255 area 0
09-13-2020 11:50 AM
Hello,
post the zipped Packet Tracer project (.pkt) file.
09-13-2020 12:06 PM
09-13-2020 11:56 AM
if you like to gigabit interface with subinterface
interface GigabitEthernet0/1
no ip address 172.16.70.1 255.255.252.0
duplex auto
speed auto
no shutdown
create another subnet for VLAN 70 or 192.168.70.X subnet
09-13-2020 12:08 PM
I removed the ip and it still didnt work
09-13-2020 12:35 PM
Which PC (which IP address) cannot ping which IP address on the router ? You have put an IP address on the physical interface of the router, which means that this is the Vlan 1 IP address. Typically, your switches have an IP address in Vlan 1 as well.I have added the management IP addresses to the Vlan 1 interfaces of the three switches (see project file attached).
09-13-2020 01:50 PM - edited 09-13-2020 01:52 PM
PC0 172.16.10.2 should be able to ping the 172.16.10.1 on the r4. I am still unable to ping with the file u sent
09-13-2020 02:24 PM
09-13-2020 02:38 PM
It sounds like @Georg Pauwen has got it. If problems persist please post the output of these commands on the switch
show vlan
show interface trunk
show interface status
09-13-2020 08:14 PM - edited 09-13-2020 09:06 PM
The only issue right now is that PC0 and PC1 are in vlan 10 PC2,3,4 are in vlan 20 and when i switchport access vlan 20 the vlan 10 stops working
Edit/ Create vlan 10 and 20 on switch connected to router
09-13-2020 08:10 PM - edited 09-13-2020 09:06 PM
It works now but can i ask whats the command to manually make the vlan?
Edit/ vlan (number)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide