Compare cert salaries and plan your next career move
shaunebop wrote: Hi guys,have currently been struggling a bit with inter vlan routing and wondered weather you could clear one thing up for me? I Have set my pc's with the correct ip addresses and default gateways,set trunking on my switch using dot1 q encappsulation and createated the right sub interfaces on my router for the 2 vlans i have created on my switch. My question is the only way i can get to ping from one pc to the other is if i use a routing protocol on the router like rip and advertise the networks,have i set everything up right because i was led to believe that you did not need to advertise the networks as they are directly connected? Thanks for any help,Shaun
shaunebop wrote: Yes i created the subinterfaces on the router and used dot1q encapsulation and assigned them to the correct vlan. It all works as it should if i advertise the networks using rip but if i dont it just wont seem to work?
interface FastEthernet0/0.1 encapsulation dot1Q 1 native ip address 192.168.100.49 255.255.255.240 ! interface FastEthernet0/0.2 encapsulation dot1Q 2 ip address 192.168.100.17 255.255.255.240 ! interface FastEthernet0/0.3 encapsulation dot1Q 3 ip address 192.168.100.33 255.255.255.240
switchport mode trunk switchport trunk allow vlan 1,2,3 switchport trunk encap dot1q
Compare salaries for top cybersecurity certifications. Free download for TechExams community.