ifdown bond0:0 takes down bond0 with it?
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
I set up an interface alias on my bond0 interface with this file
/etc/sysconfig/network-scripts/ifcfg-bond0:0
containing this
DEVICE=bond0:0
IPADDR=10.2.3.60
BOOTPROTO=static
ONBOOT=yes
NETMASK=255.255.255.0
and when I
$ ifup bond0:0
it comes up fine and I can ping it. However when I
$ ifdown bond0:0
it takes down both bond0
and bond0:0
This seems like a bug, but maybe I'm doing something wrong. How do I bring down bond0:0
without taking down bond0
with it?
networking rhel bonding
add a comment |Â
up vote
2
down vote
favorite
I set up an interface alias on my bond0 interface with this file
/etc/sysconfig/network-scripts/ifcfg-bond0:0
containing this
DEVICE=bond0:0
IPADDR=10.2.3.60
BOOTPROTO=static
ONBOOT=yes
NETMASK=255.255.255.0
and when I
$ ifup bond0:0
it comes up fine and I can ping it. However when I
$ ifdown bond0:0
it takes down both bond0
and bond0:0
This seems like a bug, but maybe I'm doing something wrong. How do I bring down bond0:0
without taking down bond0
with it?
networking rhel bonding
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I set up an interface alias on my bond0 interface with this file
/etc/sysconfig/network-scripts/ifcfg-bond0:0
containing this
DEVICE=bond0:0
IPADDR=10.2.3.60
BOOTPROTO=static
ONBOOT=yes
NETMASK=255.255.255.0
and when I
$ ifup bond0:0
it comes up fine and I can ping it. However when I
$ ifdown bond0:0
it takes down both bond0
and bond0:0
This seems like a bug, but maybe I'm doing something wrong. How do I bring down bond0:0
without taking down bond0
with it?
networking rhel bonding
I set up an interface alias on my bond0 interface with this file
/etc/sysconfig/network-scripts/ifcfg-bond0:0
containing this
DEVICE=bond0:0
IPADDR=10.2.3.60
BOOTPROTO=static
ONBOOT=yes
NETMASK=255.255.255.0
and when I
$ ifup bond0:0
it comes up fine and I can ping it. However when I
$ ifdown bond0:0
it takes down both bond0
and bond0:0
This seems like a bug, but maybe I'm doing something wrong. How do I bring down bond0:0
without taking down bond0
with it?
networking rhel bonding
networking rhel bonding
edited 5 mins ago
slmâ¦
240k66499668
240k66499668
asked Mar 7 '17 at 14:38
Jon A
112
112
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
The method you're using of assigning an alias IP address bond0:0
is considered deprecated at this point with Linux kernels.
IP-Aliasing:
============
IP-aliases are an obsolete way to manage multiple IP-addresses/masks
per interface. Newer tools such as iproute2 support multiple
address/prefixes per interface, but aliases are still supported
for backwards compatibility.
An alias is formed by adding a colon and a string when running ifconfig.
This string is usually numeric, but this is not a must.
The correct syntax for deleting/downing an alias is to use ifconfig
like so:
$ ifconfig bond0:0 down
I suspect you'd be able to do the same with iproute2's ip
command as well:
$ ip link set bond0:0 down
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
The method you're using of assigning an alias IP address bond0:0
is considered deprecated at this point with Linux kernels.
IP-Aliasing:
============
IP-aliases are an obsolete way to manage multiple IP-addresses/masks
per interface. Newer tools such as iproute2 support multiple
address/prefixes per interface, but aliases are still supported
for backwards compatibility.
An alias is formed by adding a colon and a string when running ifconfig.
This string is usually numeric, but this is not a must.
The correct syntax for deleting/downing an alias is to use ifconfig
like so:
$ ifconfig bond0:0 down
I suspect you'd be able to do the same with iproute2's ip
command as well:
$ ip link set bond0:0 down
add a comment |Â
up vote
0
down vote
The method you're using of assigning an alias IP address bond0:0
is considered deprecated at this point with Linux kernels.
IP-Aliasing:
============
IP-aliases are an obsolete way to manage multiple IP-addresses/masks
per interface. Newer tools such as iproute2 support multiple
address/prefixes per interface, but aliases are still supported
for backwards compatibility.
An alias is formed by adding a colon and a string when running ifconfig.
This string is usually numeric, but this is not a must.
The correct syntax for deleting/downing an alias is to use ifconfig
like so:
$ ifconfig bond0:0 down
I suspect you'd be able to do the same with iproute2's ip
command as well:
$ ip link set bond0:0 down
add a comment |Â
up vote
0
down vote
up vote
0
down vote
The method you're using of assigning an alias IP address bond0:0
is considered deprecated at this point with Linux kernels.
IP-Aliasing:
============
IP-aliases are an obsolete way to manage multiple IP-addresses/masks
per interface. Newer tools such as iproute2 support multiple
address/prefixes per interface, but aliases are still supported
for backwards compatibility.
An alias is formed by adding a colon and a string when running ifconfig.
This string is usually numeric, but this is not a must.
The correct syntax for deleting/downing an alias is to use ifconfig
like so:
$ ifconfig bond0:0 down
I suspect you'd be able to do the same with iproute2's ip
command as well:
$ ip link set bond0:0 down
The method you're using of assigning an alias IP address bond0:0
is considered deprecated at this point with Linux kernels.
IP-Aliasing:
============
IP-aliases are an obsolete way to manage multiple IP-addresses/masks
per interface. Newer tools such as iproute2 support multiple
address/prefixes per interface, but aliases are still supported
for backwards compatibility.
An alias is formed by adding a colon and a string when running ifconfig.
This string is usually numeric, but this is not a must.
The correct syntax for deleting/downing an alias is to use ifconfig
like so:
$ ifconfig bond0:0 down
I suspect you'd be able to do the same with iproute2's ip
command as well:
$ ip link set bond0:0 down
answered 6 mins ago
slmâ¦
240k66499668
240k66499668
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f349744%2fifdown-bond00-takes-down-bond0-with-it%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password