Advertisement
Guest User

Untitled

a guest
Nov 7th, 2022
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.12 KB | None | 0 0
  1. ### RC CONF ###
  2. ifconfig_vmx0="inet 10.23.121.253/24 description mgmt"
  3. ifconfig_vmx1="inet 100.65.101.14/28 mtu 9000 description routing fib 1"
  4. defaultrouter="10.23.121.1"
  5. static_routes="ewr10gresrc"
  6. route_ewr10gresrc=" 192.168.255.14 100.65.101.1 -fib 1"
  7. cloned_interfaces="gre10"
  8. ifconfig_gre10=" inet 100.67.103.2 100.67.103.1 netmask 255.255.255.252 tunnel 100.65.101.14 192.168.255.14 tunnelfib 1"
  9. ###############
  10.  
  11. ### DEFAULT FIB ###
  12. ~ # netstat -nr4Wl
  13. Routing tables
  14.  
  15. Internet:
  16. Destination Gateway Flags Nhop# Mtu Netif Expire
  17. default 10.23.121.1 UGS 6 1500 vmx0
  18. 10.23.121.0/24 link#1 U 2 1500 vmx0
  19. 10.23.121.253 link#1 UHS 3 16384 lo0
  20. 100.67.103.1 link#4 UH 4 1476 gre10
  21. 100.67.103.2 link#4 UHS 5 16384 lo0
  22. 127.0.0.1 link#3 UH 1 16384 lo0
  23.  
  24. ### FIB 1 ###
  25.  
  26. # setfib 1 netstat -nr4Wl
  27. Routing tables (fib: 1)
  28.  
  29. Internet:
  30. Destination Gateway Flags Nhop# Mtu Netif Expire
  31. 100.65.101.0/28 link#2 U 1 9000 vmx1
  32. 100.65.101.14 link#2 UHS 2 16384 lo0
  33. 127.0.0.1 link#3 UHS 3 16384 lo0
  34. 192.168.255.14 100.65.101.1 UGHS 4 9000 vmx1
  35.  
  36. ##### PING EXAMPLES #####
  37.  
  38. # setfib 1 ping -c 1 -t 2 100.67.103.1
  39. PING 100.67.103.1 (100.67.103.1): 56 data bytes
  40. ping: sendto: No route to host
  41.  
  42. --- 100.67.103.1 ping statistics ---
  43. 1 packets transmitted, 0 packets received, 100.0% packet loss
  44. # setfib 0 ping -c 1 -t 2 100.67.103.1
  45. PING 100.67.103.1 (100.67.103.1): 56 data bytes
  46. 64 bytes from 100.67.103.1: icmp_seq=0 ttl=255 time=1.528 ms
  47.  
  48. --- 100.67.103.1 ping statistics ---
  49. 1 packets transmitted, 1 packets received, 0.0% packet loss
  50. round-trip min/avg/max/stddev = 1.528/1.528/1.528/0.000 ms
  51.  
  52. #### TCPDUMP ####
  53. ICMP packets are in fact sourced from the gre10 interface.
  54. The GRE packets are also only going out the routing interface.
  55.  
  56.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement