Last active
          March 9, 2020 15:22 
        
      - 
      
- 
        Save oviniciusfeitosa/b4ee1670dca8ac760b62c4f425a6f738 to your computer and use it in GitHub Desktop. 
    Definir gateway padrão linux.md
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | Gateway padrão no linux é definido no arquivo **/etc/systemd/network/static.network**. | |
| ```sh | |
| [Match] | |
| Name=en* | |
| [Network] | |
| Address=0.0.0.0 | |
| Gateway=192.168.xxx.xxx | |
| ``` | |
| O comando garantirá que toda vez que uma conexão cabeada for realizada, será utilizado o gateway padrao **192.168.xxx.xxx**. | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment