Static ip setting fails
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
I'm trying to set up a fresh install of ubuntu server as a home server.
The static ip setting fails somehow, it's still getting a dynamic ip from my router.
I'm trying to use an usb ethernet device (enx00909e9aa057).
Output from ip link show:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp2s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether d0:50:99:9a:0d:f3 brd ff:ff:ff:ff:ff:ff
3: enx00909e9aa057: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 00:90:9e:9a:a0:57 brd ff:ff:ff:ff:ff:ff
Here is my /etc/network/interfaces file:
# The loopback interface
auto lo
iface lo inet loopback
#usb ethernet
auto enx00909e9aa057
iface enx00909e9aa057 inet static
address 192.168.0.26
netmask 255.255.255.0
gateway 192.168.0.1
dns-nameservers 1.1.1.1 1.0.0.1
What could be the cause?
edit: if I set my router's DHCP pool start address to something higher, like 192.168.0.150 (it was 192.168.0.10...), the sever will get that address (192.168.0.150). So the problem is not, that the address which I'm setting in the server, is inside the DHCP pool of the router.
networking server
add a comment |Â
up vote
0
down vote
favorite
I'm trying to set up a fresh install of ubuntu server as a home server.
The static ip setting fails somehow, it's still getting a dynamic ip from my router.
I'm trying to use an usb ethernet device (enx00909e9aa057).
Output from ip link show:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp2s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether d0:50:99:9a:0d:f3 brd ff:ff:ff:ff:ff:ff
3: enx00909e9aa057: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 00:90:9e:9a:a0:57 brd ff:ff:ff:ff:ff:ff
Here is my /etc/network/interfaces file:
# The loopback interface
auto lo
iface lo inet loopback
#usb ethernet
auto enx00909e9aa057
iface enx00909e9aa057 inet static
address 192.168.0.26
netmask 255.255.255.0
gateway 192.168.0.1
dns-nameservers 1.1.1.1 1.0.0.1
What could be the cause?
edit: if I set my router's DHCP pool start address to something higher, like 192.168.0.150 (it was 192.168.0.10...), the sever will get that address (192.168.0.150). So the problem is not, that the address which I'm setting in the server, is inside the DHCP pool of the router.
networking server
1
Is this server 17.10? Netplan covers networking by default in 17.10 and later.
â chili555
Apr 26 at 21:50
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm trying to set up a fresh install of ubuntu server as a home server.
The static ip setting fails somehow, it's still getting a dynamic ip from my router.
I'm trying to use an usb ethernet device (enx00909e9aa057).
Output from ip link show:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp2s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether d0:50:99:9a:0d:f3 brd ff:ff:ff:ff:ff:ff
3: enx00909e9aa057: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 00:90:9e:9a:a0:57 brd ff:ff:ff:ff:ff:ff
Here is my /etc/network/interfaces file:
# The loopback interface
auto lo
iface lo inet loopback
#usb ethernet
auto enx00909e9aa057
iface enx00909e9aa057 inet static
address 192.168.0.26
netmask 255.255.255.0
gateway 192.168.0.1
dns-nameservers 1.1.1.1 1.0.0.1
What could be the cause?
edit: if I set my router's DHCP pool start address to something higher, like 192.168.0.150 (it was 192.168.0.10...), the sever will get that address (192.168.0.150). So the problem is not, that the address which I'm setting in the server, is inside the DHCP pool of the router.
networking server
I'm trying to set up a fresh install of ubuntu server as a home server.
The static ip setting fails somehow, it's still getting a dynamic ip from my router.
I'm trying to use an usb ethernet device (enx00909e9aa057).
Output from ip link show:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp2s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether d0:50:99:9a:0d:f3 brd ff:ff:ff:ff:ff:ff
3: enx00909e9aa057: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 00:90:9e:9a:a0:57 brd ff:ff:ff:ff:ff:ff
Here is my /etc/network/interfaces file:
# The loopback interface
auto lo
iface lo inet loopback
#usb ethernet
auto enx00909e9aa057
iface enx00909e9aa057 inet static
address 192.168.0.26
netmask 255.255.255.0
gateway 192.168.0.1
dns-nameservers 1.1.1.1 1.0.0.1
What could be the cause?
edit: if I set my router's DHCP pool start address to something higher, like 192.168.0.150 (it was 192.168.0.10...), the sever will get that address (192.168.0.150). So the problem is not, that the address which I'm setting in the server, is inside the DHCP pool of the router.
networking server
edited Apr 26 at 19:24
asked Apr 26 at 19:18
Tamas
1012
1012
1
Is this server 17.10? Netplan covers networking by default in 17.10 and later.
â chili555
Apr 26 at 21:50
add a comment |Â
1
Is this server 17.10? Netplan covers networking by default in 17.10 and later.
â chili555
Apr 26 at 21:50
1
1
Is this server 17.10? Netplan covers networking by default in 17.10 and later.
â chili555
Apr 26 at 21:50
Is this server 17.10? Netplan covers networking by default in 17.10 and later.
â chili555
Apr 26 at 21:50
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
chili555 gave a very good hint (thanks!), netplan was overriding all my settings.
I've followed this tutorial to set it up, and now it works.
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
accepted
chili555 gave a very good hint (thanks!), netplan was overriding all my settings.
I've followed this tutorial to set it up, and now it works.
add a comment |Â
up vote
0
down vote
accepted
chili555 gave a very good hint (thanks!), netplan was overriding all my settings.
I've followed this tutorial to set it up, and now it works.
add a comment |Â
up vote
0
down vote
accepted
up vote
0
down vote
accepted
chili555 gave a very good hint (thanks!), netplan was overriding all my settings.
I've followed this tutorial to set it up, and now it works.
chili555 gave a very good hint (thanks!), netplan was overriding all my settings.
I've followed this tutorial to set it up, and now it works.
answered May 1 at 14:33
Tamas
1012
1012
add a comment |Â
add a comment |Â
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%2f1028514%2fstatic-ip-setting-fails%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
1
Is this server 17.10? Netplan covers networking by default in 17.10 and later.
â chili555
Apr 26 at 21:50