How to create persistent device dummy0 on CentOS 7.4?

Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I need to give my server some additional IPs as IPsec VPN endpoint addresses (weird setup where our customer insists we use some of their public IPs on our end of the tunnel).
The way I had it set up on an old CentOS 5 was through /etc/sysconfig/network-scripts/ifcfg-dummy0 and ifcfg-dummy0:1, :2, etc.
This doesn't seem to work in CentOS 7.4. I've got this ifcfg-dummy0:
[root@vpn ~]# cat /etc/sysconfig/network-scripts/ifcfg-dummy0
DEVICE=dummy0
ONBOOT=yes
IPADDR=12x.x.x.20
NETMASK=255.255.255.255
And I've got the dummy module loaded and the interface exists:
[root@vpn ~]# ip a
....
3: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 9e:49:da:4f:cb:b4 brd ff:ff:ff:ff:ff:ff
Unfortunately the address doesn't come up after reboot and even bringing it up manually doesn't work:
[root@vpn ~]# ifup dummy0
Error: Connection activation failed: No suitable device found for this connection.
I guess I'll have to somehow configure it through NetworkManager? I only have SSH access to the server so can't use any of the GUI tools.
centos rhel systemd networkmanager
New contributor
Fer Dah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
up vote
0
down vote
favorite
I need to give my server some additional IPs as IPsec VPN endpoint addresses (weird setup where our customer insists we use some of their public IPs on our end of the tunnel).
The way I had it set up on an old CentOS 5 was through /etc/sysconfig/network-scripts/ifcfg-dummy0 and ifcfg-dummy0:1, :2, etc.
This doesn't seem to work in CentOS 7.4. I've got this ifcfg-dummy0:
[root@vpn ~]# cat /etc/sysconfig/network-scripts/ifcfg-dummy0
DEVICE=dummy0
ONBOOT=yes
IPADDR=12x.x.x.20
NETMASK=255.255.255.255
And I've got the dummy module loaded and the interface exists:
[root@vpn ~]# ip a
....
3: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 9e:49:da:4f:cb:b4 brd ff:ff:ff:ff:ff:ff
Unfortunately the address doesn't come up after reboot and even bringing it up manually doesn't work:
[root@vpn ~]# ifup dummy0
Error: Connection activation failed: No suitable device found for this connection.
I guess I'll have to somehow configure it through NetworkManager? I only have SSH access to the server so can't use any of the GUI tools.
centos rhel systemd networkmanager
New contributor
Fer Dah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1
There's a NetworkManager-tui package ("yum install" it) which provides a text based menu for Network Manager. Useful for ssh sessions!
– Stephen Harris
Nov 20 at 2:14
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I need to give my server some additional IPs as IPsec VPN endpoint addresses (weird setup where our customer insists we use some of their public IPs on our end of the tunnel).
The way I had it set up on an old CentOS 5 was through /etc/sysconfig/network-scripts/ifcfg-dummy0 and ifcfg-dummy0:1, :2, etc.
This doesn't seem to work in CentOS 7.4. I've got this ifcfg-dummy0:
[root@vpn ~]# cat /etc/sysconfig/network-scripts/ifcfg-dummy0
DEVICE=dummy0
ONBOOT=yes
IPADDR=12x.x.x.20
NETMASK=255.255.255.255
And I've got the dummy module loaded and the interface exists:
[root@vpn ~]# ip a
....
3: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 9e:49:da:4f:cb:b4 brd ff:ff:ff:ff:ff:ff
Unfortunately the address doesn't come up after reboot and even bringing it up manually doesn't work:
[root@vpn ~]# ifup dummy0
Error: Connection activation failed: No suitable device found for this connection.
I guess I'll have to somehow configure it through NetworkManager? I only have SSH access to the server so can't use any of the GUI tools.
centos rhel systemd networkmanager
New contributor
Fer Dah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I need to give my server some additional IPs as IPsec VPN endpoint addresses (weird setup where our customer insists we use some of their public IPs on our end of the tunnel).
The way I had it set up on an old CentOS 5 was through /etc/sysconfig/network-scripts/ifcfg-dummy0 and ifcfg-dummy0:1, :2, etc.
This doesn't seem to work in CentOS 7.4. I've got this ifcfg-dummy0:
[root@vpn ~]# cat /etc/sysconfig/network-scripts/ifcfg-dummy0
DEVICE=dummy0
ONBOOT=yes
IPADDR=12x.x.x.20
NETMASK=255.255.255.255
And I've got the dummy module loaded and the interface exists:
[root@vpn ~]# ip a
....
3: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 9e:49:da:4f:cb:b4 brd ff:ff:ff:ff:ff:ff
Unfortunately the address doesn't come up after reboot and even bringing it up manually doesn't work:
[root@vpn ~]# ifup dummy0
Error: Connection activation failed: No suitable device found for this connection.
I guess I'll have to somehow configure it through NetworkManager? I only have SSH access to the server so can't use any of the GUI tools.
centos rhel systemd networkmanager
centos rhel systemd networkmanager
New contributor
Fer Dah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Fer Dah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited Nov 20 at 6:27
Rui F Ribeiro
38.2k1475125
38.2k1475125
New contributor
Fer Dah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked Nov 20 at 1:06
Fer Dah
101
101
New contributor
Fer Dah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Fer Dah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Fer Dah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1
There's a NetworkManager-tui package ("yum install" it) which provides a text based menu for Network Manager. Useful for ssh sessions!
– Stephen Harris
Nov 20 at 2:14
add a comment |
1
There's a NetworkManager-tui package ("yum install" it) which provides a text based menu for Network Manager. Useful for ssh sessions!
– Stephen Harris
Nov 20 at 2:14
1
1
There's a NetworkManager-tui package ("yum install" it) which provides a text based menu for Network Manager. Useful for ssh sessions!
– Stephen Harris
Nov 20 at 2:14
There's a NetworkManager-tui package ("yum install" it) which provides a text based menu for Network Manager. Useful for ssh sessions!
– Stephen Harris
Nov 20 at 2:14
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Fer Dah is a new contributor. Be nice, and check out our Code of Conduct.
Fer Dah is a new contributor. Be nice, and check out our Code of Conduct.
Fer Dah is a new contributor. Be nice, and check out our Code of Conduct.
Fer Dah is a new contributor. Be nice, and check out our Code of Conduct.
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
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f482876%2fhow-to-create-persistent-device-dummy0-on-centos-7-4%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
There's a NetworkManager-tui package ("yum install" it) which provides a text based menu for Network Manager. Useful for ssh sessions!
– Stephen Harris
Nov 20 at 2:14