netcfg.yaml question

Clash Royale CLAN TAG#URR8PPP up vote
0
down vote
favorite
hello I just upgraded to ubuntu 18 and looking for help on converting this to work with netplan.
auto ens192
iface ens192 inet static
address 10.0.0.2
netmask 255.255.255.0
up route add -net 10.0.0.0/24 gw 10.0.0.1 dev ens192
netplan
add a comment |Â
up vote
0
down vote
favorite
hello I just upgraded to ubuntu 18 and looking for help on converting this to work with netplan.
auto ens192
iface ens192 inet static
address 10.0.0.2
netmask 255.255.255.0
up route add -net 10.0.0.0/24 gw 10.0.0.1 dev ens192
netplan
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
hello I just upgraded to ubuntu 18 and looking for help on converting this to work with netplan.
auto ens192
iface ens192 inet static
address 10.0.0.2
netmask 255.255.255.0
up route add -net 10.0.0.0/24 gw 10.0.0.1 dev ens192
netplan
hello I just upgraded to ubuntu 18 and looking for help on converting this to work with netplan.
auto ens192
iface ens192 inet static
address 10.0.0.2
netmask 255.255.255.0
up route add -net 10.0.0.0/24 gw 10.0.0.1 dev ens192
netplan
asked May 17 at 5:15
jonathan adams
11
11
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
You can convert it to:
network:
renderer: networkd
version: 2
ethernets:
ens192:
dhcp4: no
dhcp6; no
addresses: [10.0.0.2/24]
gateway4: 10.0.0.1
nameservers:
addresses: [8.8.8.8,8.8.4.4]
Then launch:
sudo netplan apply
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
You can convert it to:
network:
renderer: networkd
version: 2
ethernets:
ens192:
dhcp4: no
dhcp6; no
addresses: [10.0.0.2/24]
gateway4: 10.0.0.1
nameservers:
addresses: [8.8.8.8,8.8.4.4]
Then launch:
sudo netplan apply
add a comment |Â
up vote
0
down vote
You can convert it to:
network:
renderer: networkd
version: 2
ethernets:
ens192:
dhcp4: no
dhcp6; no
addresses: [10.0.0.2/24]
gateway4: 10.0.0.1
nameservers:
addresses: [8.8.8.8,8.8.4.4]
Then launch:
sudo netplan apply
add a comment |Â
up vote
0
down vote
up vote
0
down vote
You can convert it to:
network:
renderer: networkd
version: 2
ethernets:
ens192:
dhcp4: no
dhcp6; no
addresses: [10.0.0.2/24]
gateway4: 10.0.0.1
nameservers:
addresses: [8.8.8.8,8.8.4.4]
Then launch:
sudo netplan apply
You can convert it to:
network:
renderer: networkd
version: 2
ethernets:
ens192:
dhcp4: no
dhcp6; no
addresses: [10.0.0.2/24]
gateway4: 10.0.0.1
nameservers:
addresses: [8.8.8.8,8.8.4.4]
Then launch:
sudo netplan apply
answered Jul 11 at 10:35
Jostino
1317
1317
add a comment |Â
add a comment |Â
Â
draft saved
draft discarded
Â
draft saved
draft discarded
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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%2faskubuntu.com%2fquestions%2f1037234%2fnetcfg-yaml-question%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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