11-11-2021 06:29 AM - edited 11-11-2021 06:41 AM
Hallo,
Whenever I apply VRF forwarding command, the LTE router loses its IP address as is below:
Router(config-vrf)#int cell 0/2/0
Router(config-if)#vrf forwarding INTERNET
% Interface Cellular0/2/0 IPv4 disabled and address(es) removed due to disabling VRF INTERNET
% Interface Cellular0/2/0 IPv6 disabled and address(es) removed due to disabling VRF INTERNET
Does anyone have an idea why this could be happening? Thanks
11-11-2021 07:04 AM
Hi @abc1235 ,
This is normal behavior. Whenever you move an interface from the global routing table to a VRF or vice versa, the ipv4/ipv6 address is removed to avoid a duplicate address scenario. You need to reapply the ipv4/ipv6 address.
Regards,
11-11-2021 07:07 AM
Router(config-if)#vrf forwarding INTERNET
When you issue VRF command what ever configuration on the interface will be defaulted, since now the Interface in different VRF ( that means no Longer in Global config) - so you need to configure again after that command issued rest of the config.
That is default behaviour move interface to VRF.
11-15-2021 07:43 AM
Hallo @Harold Ritter and @balaji.bandi Thanks so much for the response. This is the interface's config:
interface Cellular0/2/0
description INTERNET-UPLINK-VIA-LTE
bandwidth 1000
bandwidth receive 18000
vrf forwarding INTERNET
ip address negotiated
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat outside
dialer in-band
dialer idle-timeout 0
dialer-group 1
pulse-time 1
However, the ip address isn't automatically set and I have to use the following config for it to get an IP address and for the two tunnels to come up:
ip route 0.0.0.0 0.0.0.0 Cellular0/2/0
ip route vrf INTERNET 0.0.0.0 0.0.0.0 Cellular0/2/0
no ip route 0.0.0.0 0.0.0.0 Cellular0/2/0
On a rather unrelated topic, could there be a reason a router only receives UDP packets not TCP packets.
Thanks.
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