Uploaded image for project: 'Test'
  1. Test
  2. TEST-207

vCPE SNAT unstable due to IP address renewals

XMLWordPrintable

      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.

       

      1. 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

       

      1. 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

      1. after coming up

      vppctl ip route add 0.0.0.0/0 via 10.3.0.1 GigabitEthernet0/4/0
       
       

            Unassigned Unassigned
            michal.ptacek michal.ptacek
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: