[c-nsp] DHCP route on VRF enabled interface.
victor
vitya at list.ru
Sat May 15 13:30:51 EDT 2010
Hi guys,
Maybe someone would know why when router receives DHCP offer on a vrf
interface the default route (option 3) gets installed in the main routing
table and NOT in the corresponding VRF? Here is a piece of config and show
ip route outputs:
ip vrf asd
rd 1:1
!
interface FastEthernet1
ip vrf forwarding asd
ip address dhcp
duplex auto
speed auto
!
!
Router#sho ver | in flash:
System image file is "flash:c181x-advipservicesk9-mz.124-6.T11.bin"
Router#sho ip route
....
Gateway of last resort is 192.168.3.1 to network 0.0.0.0
192.168.3.0/32 is subnetted, 1 subnets
S 192.168.3.1 [254/0] via 192.168.3.1, FastEthernet1
S* 0.0.0.0/0 [254/0] via 192.168.3.1
Router#sho ip route vrf asd
Routing Table: asd
....
Gateway of last resort is not set
C 192.168.3.0/24 is directly connected, FastEthernet1
Router#
For now to avoid confusion I removed default router offer with "no ip dhcp
client request router" that means that I need to make sure that a correct
default route is installed manually. But it doesn't work very well because
the leased subnet changes periodically. So I'm looking for a way to make
cisco dhcp client vrf aware. Your suggestions are appreciated.
Thanks
Victor
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
More information about the cisco-nsp
mailing list