Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Network configuration for Debian 9/Ubuntu 18 #29

Merged
merged 2 commits into from May 3, 2018
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.
+18 −1
Diff settings

Always

Just for now

Next

Updated network config for Debian 9/Ubuntu 18.04

route utility got deprecated, have to use ip route instead.
  • Loading branch information...
serverok committed Apr 30, 2018
commit 77dc7f3d20dc69d66a5b640b33f4a44b2b455140
@@ -74,6 +74,23 @@ iface eth0 inet static
pre-down route del default gw GATEWAY_IP
```

**Debian 9**

```bash
auto lo eth0
iface lo inet loopback
iface eth0 inet static
address FAILOVER_IP
netmask 255.255.255.255
broadcast FAILOVER_IP
post-up ip route add GATEWAY_IP dev eth0
post-up ip route add default via GATEWAY_IP dev eth0
pre-down ip route del GATEWAY_IP dev eth0
pre-down ip route del default via GATEWAY_IP dev eth0
```



#### Redhat and Redhat based operating systems (CentOS 6, Scientific Linux, ClearOS, etc)

1. Open up an SSH connection to your virtual machine
@@ -261,4 +278,4 @@ In the IPv4 Properties window:

## Go further

Join our community of users on <https://community.ovh.com/en/>.
Join our community of users on <https://community.ovh.com/en/>.
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.