Guest User

Untitled

a guest
Nov 1st, 2017
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. gateway:
  2. on eth0 address is 10.0.0.1/24
  3. on eth1 address is 10.0.1.1/24
  4. ip route list
  5. 10.0.0.0/24 dev eth0 proto kernel scope link src 10.0.0.1
  6. 10.0.1.0/24 dev eth1 proto kernel scope link src 10.0.1.1
  7.  
  8. machine connected to gateway's eth0
  9. on eth0 address is 10.0.0.5/24
  10. ip route list
  11. 10.0.0.0/24 dev eth0 proto kernel scope link src 10.0.0.5
  12. 10.0.1.0/24 via 10.0.0.1 dev eth0 proto kernel scope global src 10.0.0.5
  13.  
  14. machine connected to gateway's eth1
  15. on eth0 address is 10.0.1.5/24
  16. 10.0.1.0/24 dev eth0 proto kernel scope link src 10.0.1.5
  17. 10.0.0.0/24 via 10.0.1.1 dev eth0 proto kernel scope global src 10.0.1.5
Add Comment
Please, Sign In to add comment