Skip to content

Instantly share code, notes, and snippets.

@garronej
Last active February 20, 2019 17:17
Show Gist options
  • Save garronej/ff2c5444d00251315125f436beed65ce to your computer and use it in GitHub Desktop.
Save garronej/ff2c5444d00251315125f436beed65ce to your computer and use it in GitHub Desktop.
Setup EC2 instance with two network interfaces.
>>> See comments
src: https://unix.stackexchange.com/questions/4420/reply-on-same-interface-as-incoming
Detailed infos: http://irp.nain-t.net/doku.php/100iproute:020_iproute2
@garronej
Copy link
Author

garronej commented Mar 4, 2018

Pour savoir dans quelle ordre sont évaluer les tables on fait ip rule list le nombre gauche représente la prio, évaluer dans l'ordre croissant.
Pour changer la priorité d'une table quand on fait ip rule add from ... table .... prio XXXX

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment