Confused about static IP address (16.04) (may be lubuntu)
![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
Here is what my /etc/network/interfaces
looks like:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
However, if I use the GUI by...
- clicking on the network connection near the clock,
- clicking Edit Connections
- selecting the only choice in the list (in my case wired connection 1)
- picking Edit
- picking the IPv4 tab
I see a static 192.168.1.96 with a netmask of 24 and a gateway of 192.168.1.2.
- First off, how is it possible I have a netmask of 24? Shouldn't it be 255,255,255,0?
- Secondly, I no longer have any device at that gateway address (I did have till last week, but it is now gone) and my browser still works to get to the internet.`
- Third, where is this information stored if not in the /etc/network/interfaces` file?
Just for completeness, here are the results of ifconfig:
$ ifconfig
enp2s2 Link encap:Ethernet HWaddr 00:11:d8:39:2e:13
inet addr:192.168.1.96 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::211:d8ff:fe39:2e13/64 Scope:Link
inet6 addr: 2601:602:67f:f5c0:d0e2:7433:1cd5:d227/64 Scope:Global
inet6 addr: 2601:602:67f:f5c0:211:d8ff:fe39:2e13/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:720843 errors:0 dropped:361 overruns:0 frame:0
TX packets:394690 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:254038082 (254.0 MB) TX bytes:110719667 (110.7 MB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:999968 errors:0 dropped:0 overruns:0 frame:0
TX packets:999968 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:323242248 (323.2 MB) TX bytes:323242248 (323.2 MB)
networking static-ip
add a comment |Â
up vote
0
down vote
favorite
Here is what my /etc/network/interfaces
looks like:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
However, if I use the GUI by...
- clicking on the network connection near the clock,
- clicking Edit Connections
- selecting the only choice in the list (in my case wired connection 1)
- picking Edit
- picking the IPv4 tab
I see a static 192.168.1.96 with a netmask of 24 and a gateway of 192.168.1.2.
- First off, how is it possible I have a netmask of 24? Shouldn't it be 255,255,255,0?
- Secondly, I no longer have any device at that gateway address (I did have till last week, but it is now gone) and my browser still works to get to the internet.`
- Third, where is this information stored if not in the /etc/network/interfaces` file?
Just for completeness, here are the results of ifconfig:
$ ifconfig
enp2s2 Link encap:Ethernet HWaddr 00:11:d8:39:2e:13
inet addr:192.168.1.96 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::211:d8ff:fe39:2e13/64 Scope:Link
inet6 addr: 2601:602:67f:f5c0:d0e2:7433:1cd5:d227/64 Scope:Global
inet6 addr: 2601:602:67f:f5c0:211:d8ff:fe39:2e13/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:720843 errors:0 dropped:361 overruns:0 frame:0
TX packets:394690 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:254038082 (254.0 MB) TX bytes:110719667 (110.7 MB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:999968 errors:0 dropped:0 overruns:0 frame:0
TX packets:999968 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:323242248 (323.2 MB) TX bytes:323242248 (323.2 MB)
networking static-ip
1. aelius.com/njh/subnet_sheet.html 2. How should anyone know? 3. /etc/NetworkManager/system-connections/...
â mikewhatever
Feb 16 at 19:42
@mikewhatever thanks for the link to that useful cheat sheet!
â Organic Marble
Feb 16 at 19:52
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Here is what my /etc/network/interfaces
looks like:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
However, if I use the GUI by...
- clicking on the network connection near the clock,
- clicking Edit Connections
- selecting the only choice in the list (in my case wired connection 1)
- picking Edit
- picking the IPv4 tab
I see a static 192.168.1.96 with a netmask of 24 and a gateway of 192.168.1.2.
- First off, how is it possible I have a netmask of 24? Shouldn't it be 255,255,255,0?
- Secondly, I no longer have any device at that gateway address (I did have till last week, but it is now gone) and my browser still works to get to the internet.`
- Third, where is this information stored if not in the /etc/network/interfaces` file?
Just for completeness, here are the results of ifconfig:
$ ifconfig
enp2s2 Link encap:Ethernet HWaddr 00:11:d8:39:2e:13
inet addr:192.168.1.96 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::211:d8ff:fe39:2e13/64 Scope:Link
inet6 addr: 2601:602:67f:f5c0:d0e2:7433:1cd5:d227/64 Scope:Global
inet6 addr: 2601:602:67f:f5c0:211:d8ff:fe39:2e13/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:720843 errors:0 dropped:361 overruns:0 frame:0
TX packets:394690 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:254038082 (254.0 MB) TX bytes:110719667 (110.7 MB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:999968 errors:0 dropped:0 overruns:0 frame:0
TX packets:999968 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:323242248 (323.2 MB) TX bytes:323242248 (323.2 MB)
networking static-ip
Here is what my /etc/network/interfaces
looks like:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
However, if I use the GUI by...
- clicking on the network connection near the clock,
- clicking Edit Connections
- selecting the only choice in the list (in my case wired connection 1)
- picking Edit
- picking the IPv4 tab
I see a static 192.168.1.96 with a netmask of 24 and a gateway of 192.168.1.2.
- First off, how is it possible I have a netmask of 24? Shouldn't it be 255,255,255,0?
- Secondly, I no longer have any device at that gateway address (I did have till last week, but it is now gone) and my browser still works to get to the internet.`
- Third, where is this information stored if not in the /etc/network/interfaces` file?
Just for completeness, here are the results of ifconfig:
$ ifconfig
enp2s2 Link encap:Ethernet HWaddr 00:11:d8:39:2e:13
inet addr:192.168.1.96 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::211:d8ff:fe39:2e13/64 Scope:Link
inet6 addr: 2601:602:67f:f5c0:d0e2:7433:1cd5:d227/64 Scope:Global
inet6 addr: 2601:602:67f:f5c0:211:d8ff:fe39:2e13/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:720843 errors:0 dropped:361 overruns:0 frame:0
TX packets:394690 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:254038082 (254.0 MB) TX bytes:110719667 (110.7 MB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:999968 errors:0 dropped:0 overruns:0 frame:0
TX packets:999968 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:323242248 (323.2 MB) TX bytes:323242248 (323.2 MB)
networking static-ip
networking static-ip
edited Feb 18 at 18:53
![](https://i.stack.imgur.com/8CW8e.png?s=32&g=1)
![](https://i.stack.imgur.com/8CW8e.png?s=32&g=1)
Zanna
48.2k13120228
48.2k13120228
asked Feb 16 at 19:30
![](https://i.stack.imgur.com/SF0oZ.jpg?s=32&g=1)
![](https://i.stack.imgur.com/SF0oZ.jpg?s=32&g=1)
Cool Javelin
615
615
1. aelius.com/njh/subnet_sheet.html 2. How should anyone know? 3. /etc/NetworkManager/system-connections/...
â mikewhatever
Feb 16 at 19:42
@mikewhatever thanks for the link to that useful cheat sheet!
â Organic Marble
Feb 16 at 19:52
add a comment |Â
1. aelius.com/njh/subnet_sheet.html 2. How should anyone know? 3. /etc/NetworkManager/system-connections/...
â mikewhatever
Feb 16 at 19:42
@mikewhatever thanks for the link to that useful cheat sheet!
â Organic Marble
Feb 16 at 19:52
1. aelius.com/njh/subnet_sheet.html 2. How should anyone know? 3. /etc/NetworkManager/system-connections/...
â mikewhatever
Feb 16 at 19:42
1. aelius.com/njh/subnet_sheet.html 2. How should anyone know? 3. /etc/NetworkManager/system-connections/...
â mikewhatever
Feb 16 at 19:42
@mikewhatever thanks for the link to that useful cheat sheet!
â Organic Marble
Feb 16 at 19:52
@mikewhatever thanks for the link to that useful cheat sheet!
â Organic Marble
Feb 16 at 19:52
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
- Netmask /24 is the same as 255.255.255.0 by another nomenclature
- Some one manually setup your IP address to
192.168.1.96
and the gateway to192.168.1.2
- Try snooping into the directory
/etc/network/interfaces.d/*
O.K. I will research the /24 thingy. Yes, once upon a time I did set a static address. The /etc/network/interfaces.d directory is empty.
â Cool Javelin
Feb 19 at 19:01
It is now likely I won't know as I removed the static info from the GUI and I am able to set the IP via the router. Thanks for your help. @Stephen
â Cool Javelin
Feb 19 at 19:06
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
- Netmask /24 is the same as 255.255.255.0 by another nomenclature
- Some one manually setup your IP address to
192.168.1.96
and the gateway to192.168.1.2
- Try snooping into the directory
/etc/network/interfaces.d/*
O.K. I will research the /24 thingy. Yes, once upon a time I did set a static address. The /etc/network/interfaces.d directory is empty.
â Cool Javelin
Feb 19 at 19:01
It is now likely I won't know as I removed the static info from the GUI and I am able to set the IP via the router. Thanks for your help. @Stephen
â Cool Javelin
Feb 19 at 19:06
add a comment |Â
up vote
0
down vote
- Netmask /24 is the same as 255.255.255.0 by another nomenclature
- Some one manually setup your IP address to
192.168.1.96
and the gateway to192.168.1.2
- Try snooping into the directory
/etc/network/interfaces.d/*
O.K. I will research the /24 thingy. Yes, once upon a time I did set a static address. The /etc/network/interfaces.d directory is empty.
â Cool Javelin
Feb 19 at 19:01
It is now likely I won't know as I removed the static info from the GUI and I am able to set the IP via the router. Thanks for your help. @Stephen
â Cool Javelin
Feb 19 at 19:06
add a comment |Â
up vote
0
down vote
up vote
0
down vote
- Netmask /24 is the same as 255.255.255.0 by another nomenclature
- Some one manually setup your IP address to
192.168.1.96
and the gateway to192.168.1.2
- Try snooping into the directory
/etc/network/interfaces.d/*
- Netmask /24 is the same as 255.255.255.0 by another nomenclature
- Some one manually setup your IP address to
192.168.1.96
and the gateway to192.168.1.2
- Try snooping into the directory
/etc/network/interfaces.d/*
answered Feb 16 at 20:30
![](https://i.stack.imgur.com/vwN8o.jpg?s=32&g=1)
![](https://i.stack.imgur.com/vwN8o.jpg?s=32&g=1)
Stephen Fox
215
215
O.K. I will research the /24 thingy. Yes, once upon a time I did set a static address. The /etc/network/interfaces.d directory is empty.
â Cool Javelin
Feb 19 at 19:01
It is now likely I won't know as I removed the static info from the GUI and I am able to set the IP via the router. Thanks for your help. @Stephen
â Cool Javelin
Feb 19 at 19:06
add a comment |Â
O.K. I will research the /24 thingy. Yes, once upon a time I did set a static address. The /etc/network/interfaces.d directory is empty.
â Cool Javelin
Feb 19 at 19:01
It is now likely I won't know as I removed the static info from the GUI and I am able to set the IP via the router. Thanks for your help. @Stephen
â Cool Javelin
Feb 19 at 19:06
O.K. I will research the /24 thingy. Yes, once upon a time I did set a static address. The /etc/network/interfaces.d directory is empty.
â Cool Javelin
Feb 19 at 19:01
O.K. I will research the /24 thingy. Yes, once upon a time I did set a static address. The /etc/network/interfaces.d directory is empty.
â Cool Javelin
Feb 19 at 19:01
It is now likely I won't know as I removed the static info from the GUI and I am able to set the IP via the router. Thanks for your help. @Stephen
â Cool Javelin
Feb 19 at 19:06
It is now likely I won't know as I removed the static info from the GUI and I am able to set the IP via the router. Thanks for your help. @Stephen
â Cool Javelin
Feb 19 at 19:06
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%2f1006878%2fconfused-about-static-ip-address-16-04-may-be-lubuntu%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. aelius.com/njh/subnet_sheet.html 2. How should anyone know? 3. /etc/NetworkManager/system-connections/...
â mikewhatever
Feb 16 at 19:42
@mikewhatever thanks for the link to that useful cheat sheet!
â Organic Marble
Feb 16 at 19:52