-
Notifications
You must be signed in to change notification settings - Fork 62
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
Can not add virtual interfaces #63
Labels
Comments
This reminds me of the old days, when we used virtual interfaces like that. Today, we just add more IP addresses to a single interface. What system does still support this old behavior? |
This is actually on an Ubuntu 16.04 installation. How do I add multiple IP
addresses with the role?
Am 25.09.2017 19:45 schrieb "Andreas Reischuck" <[email protected]>:
… This reminds me of the old days, when we used virtual interfaces like
that. Today, we just add more IP addresses to a single interface.
What system does still support this old behavior?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#63 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAO2d1wNcoQZ8S9WQMDtKG1Rk8YSmXG6ks5sl-a8gaJpZM4Pid8f>
.
|
Just add them to the routes on - device: eth1
# …
# add additional IPs
up:
- "route add -net 1.2.3.4 netmask 255.255.255.248 gw 1.2.3.1 eth1"
down:
- "route delete -net 1.2.3.4 netmask 255.255.255.248 gw 1.2.3.1 eth1" |
I guess the main issue here is that we generate an illegal filename. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried to add a virtual interface to eth1:
which resulted in this error:
The interface file is written but the restart failes.
And yes the interface is already there and up. But should this not work anyway? (It does for eth0/eth1)
The text was updated successfully, but these errors were encountered: