05-24-2016 01:47 PM - edited 03-08-2019 05:55 AM
I am unable to ping from my pc to the vrf gateway. The pc is directly connected to the gig0/2 interface. The pc was assigned an ip address from the vrf Student pool. I can ping from the router to other connected routes in the Student vrf.
R1#ping vrf Student 10.99.99.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.99.99.1, timeout is 2 seconds:
!!!!!
ip vrf Student
!
ip dhcp pool Student
vrf Student
network 10.10.168.0 255.255.252.0
default-router 10.10.168.1
!
interface GigabitEthernet0/2
ip vrf forwarding Student
ip address 10.10.168.1 255.255.252.0
duplex auto
speed auto
end
!
R1#sh ip route vrf Student
Routing Table: Student
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
10.0.0.0/8 is variably subnetted, 4 subnets, 3 masks
C 10.10.168.0/22 is directly connected, GigabitEthernet0/2
L 10.10.168.1/32 is directly connected, GigabitEthernet0/2
C 10.99.99.0/30 is directly connected, Vlan48
L 10.99.99.2/32 is directly connected, Vlan48
05-24-2016 05:51 PM
What is the IP address and the gateway for the PC?
05-25-2016 02:41 AM
The PC is getting a gateway address of 10.10.168.1
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