No Ping
jeddah55
Member Posts: 14 ■□□□□□□□□□
in CCNA & CCENT
Hi ,
whenever i try to ping from R0 to R1 . by using the subinterface it not working as following :
but int the Real interface , its ok .
!
interface Ethernet2/0
ip address 192.168.1.1 255.255.255.0
half-duplex
!
interface Ethernet2/0.1
!
interface Ethernet2/0.2
encapsulation dot1Q 1 native
ip address 192.168.2.1 255.255.255.0
!
whenever i try to ping from R0 to R1 . by using the subinterface it not working as following :
but int the Real interface , its ok .
!
interface Ethernet2/0
ip address 192.168.1.1 255.255.255.0
half-duplex
!
interface Ethernet2/0.1
!
interface Ethernet2/0.2
encapsulation dot1Q 1 native
ip address 192.168.2.1 255.255.255.0
!
Comments
-
miller811 Member Posts: 897You need to remove the ip address from the physical interface.I don't claim to be an expert, but I sure would like to become one someday.
Quest for 11K pages read in 2011
Page Count total to date - 1283 -
brown9 Member Posts: 8 ■□□□□□□□□□I 2nd miller811.
If you are going to use sub interfaces the physical interface cannot have an IP address. use the command "no ip address" in interface configuration mode.
Also make sure the physical interface is turned on. -
jeddah55 Member Posts: 14 ■□□□□□□□□□so it will be like this :
physical interface On .
2nd NO ip on the physical int .
and for the switch , dos it need to be Trunk int ? -
cisco-tips Banned Posts: 1 ■□□□□□□□□□Yes the switch needs to be a trunk interface also since you configure Dot1Q vlan trunking on the router.so it will be like this :
physical interface On .
2nd NO ip on the physical int .
and for the switch , dos it need to be Trunk int ?