When clicking on "Add virtual interface" on an existing
interface screen, the Create Active Interface comes up.
I fill in the parameters in, and click Create. It returns the
following text:
Failed to save interface : SIOCSIFADDR: No such
device SIOCSIFFLAGS: No such device
SIOCSIFFLAGS: No such device
I have attached a word doc containing screen shots. I
am running on Debian 3.0 with all modules current
according to Debain. Webmin is the only module I
upgraded past the level on their site.
Screen Shots
Logged In: YES
user_id=129364
What happens if you run the equivalent command
ifconfig eth0:1 xx.xx.xx.xx up
at the command prompt? Does the same error occur?
Logged In: YES
user_id=943685
Hi,
Regarding jcameron question: if you use ifconfig it work as
long you have the right modules loaded for your NIC.
This issue is due to the ifupdown evolutions and the fact that
they have not been reflected in the webmin module.
So on debian you can not use or create any virtual interface
via webmin. It work on slink but not on woody and above.
I have this issue on woody with ifupdown version 0.6.4.
What have changed:
Previously it was was possible to create a virtual interface in
the /etc/network/interface file like below :
iface eth0:0 inet static
address 10.0.0.100
masklen 24
netmask 255.255.255.0
broadcast 10.0.0.255
network 10.0.0.0
and the webmin module is using the method above when you
create a virtual interface.
But since ifupdown version ? (0.6 for sure but maybe before)
this method is not supported anymore. And ifup
(/etc/init.d./networking) will not create any virtual interface.
Now and with the latest ifupdown version you need to create
the entry below :
iface eth0 inet static
address 1.2.3.4
masklen 24
broadcast 1.2.3.255
gateway 1.2.3.1
up ip addr add 10.0.0.100/24 dev eth0 label eth0:0
Logged In: YES
user_id=943685
Hi,
Regarding jcameron question: if you use ifconfig it work as
long you have the right modules loaded for your NIC of course.
This issue is due to the ifupdown evolutions and the fact that
they have not been reflected in the webmin module.
So on debian you can not use or create any virtual interfaces
via webmin. It work on slink but not on woody and above.
I have this issue on woody with ifupdown version 0.6.4.
What have changed:
Previously it was possible to create a virtual interface in
the /etc/network/interface file like below :
iface eth0:0 inet static
address 10.0.0.100
masklen 24
netmask 255.255.255.0
broadcast 10.0.0.255
network 10.0.0.0
and the webmin module is using the method above when you
create a virtual interface.
But since ifupdown version ? (0.6 for sure but maybe before)
this method is not supported anymore. And ifup
(/etc/init.d./networking) will not create any virtual interfaces
with the declaration above.
Now and with the latest ifupdown version you need to create
the entry below :
auto eth0
iface eth0 inet static
address 1.2.3.4
masklen 24
broadcast 1.2.3.255
gateway 1.2.3.1
up ip addr add 10.0.0.100/24 dev eth0 label eth0:0
All the same for eth0 except the up line for the virtual.
So this is a bug and it need to be solve (use the new virtual
declaration instead of the old one) if you would like to use the
webmin network configuration module on debian (> woody) to
manipulation your virtual interfaces.
Hope that help.
BTW I have started to patch the modules files for this
purpose (quick and dirty) and I am now able to create and list
my virtual interfaces with the new ifup method. But it is not
finish and I am more or less stuck to finalize it. If someone
would like my "dirty" changes as a starting point just contact
me. I will be happy to help and share some infos on this
update.
Logged In: YES
user_id=474018
I am getting the error at the end of the Virtualmin process
and when testing on the command line. A fix for this will be
nice.
[root@doink]# ifconfig eth0:1 xx.xx.xx.xx up
SIOCSIFADDR: Invalid argument
SIOCSIFFLAGS: Cannot assign requested address
SIOCSIFFLAGS: Cannot assign requested address
Logged In: YES
user_id=129364
Make sure you are not trying to add an interface with the
same IP as one that already exists - this is not allowed on
Linux.