-
Task
-
Resolution: Won't Do
-
Medium
-
None
vCPE scenario:
In our lab BRG IP (10.3.0.2) is actively asking DHCP server for renewing, after some time IP is renewed, which cause SNAT to stop working. Means SDNC can't reach BRG and "vcpe.py customer" is failing due to that.
We switched to static BRG IP to mitigate the problem, however let's use this ticket as placeholder for inventing better solution.
- 10.3.0.2 IP - switching from Dynamic to Static on BGR
service vpp stop
service honeycomb stop
service nat stop
rm -rf /var/lib/honeycomb/persist/config/data.json /var/lib/honeycomb/persist/context/data.json /var/log/honeycomb/honeycomb.log
- set IP as static
root@zdcpe1cpe01brgemu01-201909060600:~# cat /etc/vpp/setup.gate
set int state GigabitEthernet0/4/0 up
set interface ip address GigabitEthernet0/4/0 10.3.0.2/24
reboot
- after coming up
vppctl ip route add 0.0.0.0/0 via 10.3.0.1 GigabitEthernet0/4/0