Advertisement
Guest User

secondary IPs

a guest
Jan 24th, 2017
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.55 KB | None | 0 0
  1. Two external networks on the ASR, where 1.109.1/24 and 1.109.2/24 are the external network subnets and 1.1.1.0/24 and 2.2.2.0/24 are extra subnets used for SNAT:
  2.  
  3. interface GigabitEthernet0/1/6.1066
  4. description OPENSTACK_NEUTRON_EXTERNAL_INTF
  5. encapsulation dot1Q 1066
  6. ip address 2.2.2.254 255.255.255.0 secondary
  7. ip address 1.109.1.4 255.255.255.0
  8. ip nat outside
  9. standby delay minimum 30 reload 60
  10. standby version 2
  11. standby 1064 ip 1.109.1.3
  12. standby 1064 timers 1 3
  13. standby 1064 name neutron-hsrp-1064-1066
  14. !
  15. interface GigabitEthernet0/1/6.1067
  16. description OPENSTACK_NEUTRON_EXTERNAL_INTF
  17. encapsulation dot1Q 1067
  18. ip address 1.1.1.254 255.255.255.0 secondary
  19. ip address 1.109.2.4 255.255.255.0
  20. ip nat outside
  21. standby delay minimum 30 reload 60
  22. standby version 2
  23. standby 1064 ip 1.109.2.3
  24. standby 1064 timers 1 3
  25. standby 1064 name neutron-hsrp-1064-1067
  26.  
  27. We've also added other subnets that we use for additional floating IP address allocation (something we support with GBP).
  28.  
  29. These external VLAN sub-interfaces on the ASR connect to two VLAN interfaces on a VM:
  30.  
  31. eth1 Link encap:Ethernet HWaddr 52:54:00:b1:ad:82
  32. inet addr:1.109.1.1 Bcast:1.109.1.255 Mask:255.255.255.0
  33. inet6 addr: fe80::5054:ff:feb1:ad82/64 Scope:Link
  34. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  35. RX packets:954994 errors:0 dropped:728525 overruns:0 frame:0
  36. TX packets:527 errors:0 dropped:0 overruns:0 carrier:0
  37. collisions:0 txqueuelen:1000
  38. RX bytes:73998042 (73.9 MB) TX bytes:43222 (43.2 KB)
  39.  
  40. eth2 Link encap:Ethernet HWaddr 52:54:00:aa:15:6d
  41. inet addr:1.109.2.1 Bcast:1.109.2.255 Mask:255.255.255.0
  42. inet6 addr: fe80::5054:ff:feaa:156d/64 Scope:Link
  43. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  44. RX packets:1278265 errors:0 dropped:728467 overruns:0 frame:0
  45. TX packets:116460 errors:0 dropped:0 overruns:0 carrier:0
  46. collisions:0 txqueuelen:1000
  47. RX bytes:104850036 (104.8 MB) TX bytes:11265520 (11.2 MB)
  48.  
  49. with their associated routes:
  50. noiro@fab9-ext-rtr:~$ netstat -nr
  51. Kernel IP routing table
  52. Destination Gateway Genmask Flags MSS Window irtt Iface
  53. ...
  54. 1.1.1.0 1.109.2.4 255.255.255.0 UG 0 0 0 eth2
  55. 1.109.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
  56. 1.109.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2
  57. 2.2.2.0 1.109.1.4 255.255.255.0 UG 0 0 0 eth1
  58. ....
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement