Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. Server A eth0 has the IP 192.168.1.91 (will be later internet).
  2. Server A eth1 has the IP 192.168.1.92 (local network).
  3.  
  4. Server B eth0 has the IP 192.168.1.93 (will be later internet).
  5. Server B eth1 has the IP 192.168.1.94 (local network).
  6.  
  7. Server C eth0 has the IP 192.168.1.95 (will be later internet).
  8. Server C eth1 has the IP 192.168.1.96 (local network).
  9.  
  10. route add -net 192.168.1.94 netmask 255.255.255.255 dev eth1
  11. route add -net 192.168.1.96 netmask 255.255.255.255 dev eth1
  12.  
  13. 192.168.1.94 dev eth1 src 192.168.1.91
  14.  
  15. 192.168.1.96 dev eth1 src 192.168.1.91
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement