Advertisement
nota88

Untitled

Jan 16th, 2019
543
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. root@servername:/etc/netplan# ip rule list
  2. 0: from all lookup local
  3. 32766: from all lookup main
  4. 32767: from all lookup default
  5. root@servername:/etc/netplan# cat /run/systemd/netif/state
  6. # This is private data. Do not parse.
  7. OPER_STATE=routable
  8. DNS=10.100.1.5 10.100.2.6
  9. DOMAINS=ec2.internal
  10. root@servername:/etc/netplan# netplan apply
  11. root@servername:/etc/netplan# cat /run/systemd/netif/state
  12. # This is private data. Do not parse.
  13. OPER_STATE=routable
  14. DNS=10.100.1.5 10.100.2.6
  15. DOMAINS=ec2.internal
  16. RULE=from=10.100.1.123/32 table=1000
  17. root@servername:/etc/netplan# ip rule list
  18. 0: from all lookup local
  19. 0: from 10.101.5.140 lookup 1000
  20. 32766: from all lookup main
  21. 32767: from all lookup default
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement