Server acts weird after reboot and local IP changes


up vote
1
down vote
favorite
OS: Ubuntu server 16.04.
So I changed my local IP's from class c to class a. Now I get a weird issue on the server.
(I connect to the server using the set statically IP on SSH from a local PC)
After a reboot it can't reach the WAN. if I try to ping 8.8.8.8 I get thisFrom <old class c. IP> icmp_seq=1 Destination Host Unreachable
ifconfig shows it's using the new statically set class a IP.
Temp fix:dhclient -r -v <interface> && rm /var/lib/dhcp/dhclient.* ; dhclient -v <interface>
This returns
dhclient -v <interface>
Internet Systems Consortium DHCP Client 4.3.3
Copyright 2004-2015 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/<interface>
Sending on LPF/<interface>
Sending on Socket/fallback
DHCPRELEASE on <interface> to <gateway IP> port 67 (xid=0x4cf127f2)
Internet Systems Consortium DHCP Client 4.3.3
Copyright 2004-2015 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/<interface>
Sending on LPF/<interface>
Sending on Socket/fallback
DHCPDISCOVER on <interface> to 255.255.255.255 port 67 interval 3 (xid=0x72c4ab2e)
DHCPREQUEST of <the new statically set IP> on <interface> to 255.255.255.255 port 67 (xid=0x2eabc472)
DHCPOFFER of <the new statically set IP> from <gateway IP>
DHCPACK of <the new statically set IP> from <gateway IP>
bound to <the new statically set IP> -- renewal in 18113 seconds.
But it's just temp, reboot and the issue is back.
how do I solve this?
networking server dhcp
add a comment |Â
up vote
1
down vote
favorite
OS: Ubuntu server 16.04.
So I changed my local IP's from class c to class a. Now I get a weird issue on the server.
(I connect to the server using the set statically IP on SSH from a local PC)
After a reboot it can't reach the WAN. if I try to ping 8.8.8.8 I get thisFrom <old class c. IP> icmp_seq=1 Destination Host Unreachable
ifconfig shows it's using the new statically set class a IP.
Temp fix:dhclient -r -v <interface> && rm /var/lib/dhcp/dhclient.* ; dhclient -v <interface>
This returns
dhclient -v <interface>
Internet Systems Consortium DHCP Client 4.3.3
Copyright 2004-2015 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/<interface>
Sending on LPF/<interface>
Sending on Socket/fallback
DHCPRELEASE on <interface> to <gateway IP> port 67 (xid=0x4cf127f2)
Internet Systems Consortium DHCP Client 4.3.3
Copyright 2004-2015 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/<interface>
Sending on LPF/<interface>
Sending on Socket/fallback
DHCPDISCOVER on <interface> to 255.255.255.255 port 67 interval 3 (xid=0x72c4ab2e)
DHCPREQUEST of <the new statically set IP> on <interface> to 255.255.255.255 port 67 (xid=0x2eabc472)
DHCPOFFER of <the new statically set IP> from <gateway IP>
DHCPACK of <the new statically set IP> from <gateway IP>
bound to <the new statically set IP> -- renewal in 18113 seconds.
But it's just temp, reboot and the issue is back.
how do I solve this?
networking server dhcp
"I changed my local IP's from class c to class a"? How, exactly did you do that? It seems like network nonsense.
â waltinator
Mar 4 at 23:24
I changed my local network, from a class C to a class A. followed up by changing the IP of the server to a new IP on the class A range, how is this nonsense?
â joveice
Mar 5 at 7:46
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
OS: Ubuntu server 16.04.
So I changed my local IP's from class c to class a. Now I get a weird issue on the server.
(I connect to the server using the set statically IP on SSH from a local PC)
After a reboot it can't reach the WAN. if I try to ping 8.8.8.8 I get thisFrom <old class c. IP> icmp_seq=1 Destination Host Unreachable
ifconfig shows it's using the new statically set class a IP.
Temp fix:dhclient -r -v <interface> && rm /var/lib/dhcp/dhclient.* ; dhclient -v <interface>
This returns
dhclient -v <interface>
Internet Systems Consortium DHCP Client 4.3.3
Copyright 2004-2015 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/<interface>
Sending on LPF/<interface>
Sending on Socket/fallback
DHCPRELEASE on <interface> to <gateway IP> port 67 (xid=0x4cf127f2)
Internet Systems Consortium DHCP Client 4.3.3
Copyright 2004-2015 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/<interface>
Sending on LPF/<interface>
Sending on Socket/fallback
DHCPDISCOVER on <interface> to 255.255.255.255 port 67 interval 3 (xid=0x72c4ab2e)
DHCPREQUEST of <the new statically set IP> on <interface> to 255.255.255.255 port 67 (xid=0x2eabc472)
DHCPOFFER of <the new statically set IP> from <gateway IP>
DHCPACK of <the new statically set IP> from <gateway IP>
bound to <the new statically set IP> -- renewal in 18113 seconds.
But it's just temp, reboot and the issue is back.
how do I solve this?
networking server dhcp
OS: Ubuntu server 16.04.
So I changed my local IP's from class c to class a. Now I get a weird issue on the server.
(I connect to the server using the set statically IP on SSH from a local PC)
After a reboot it can't reach the WAN. if I try to ping 8.8.8.8 I get thisFrom <old class c. IP> icmp_seq=1 Destination Host Unreachable
ifconfig shows it's using the new statically set class a IP.
Temp fix:dhclient -r -v <interface> && rm /var/lib/dhcp/dhclient.* ; dhclient -v <interface>
This returns
dhclient -v <interface>
Internet Systems Consortium DHCP Client 4.3.3
Copyright 2004-2015 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/<interface>
Sending on LPF/<interface>
Sending on Socket/fallback
DHCPRELEASE on <interface> to <gateway IP> port 67 (xid=0x4cf127f2)
Internet Systems Consortium DHCP Client 4.3.3
Copyright 2004-2015 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/<interface>
Sending on LPF/<interface>
Sending on Socket/fallback
DHCPDISCOVER on <interface> to 255.255.255.255 port 67 interval 3 (xid=0x72c4ab2e)
DHCPREQUEST of <the new statically set IP> on <interface> to 255.255.255.255 port 67 (xid=0x2eabc472)
DHCPOFFER of <the new statically set IP> from <gateway IP>
DHCPACK of <the new statically set IP> from <gateway IP>
bound to <the new statically set IP> -- renewal in 18113 seconds.
But it's just temp, reboot and the issue is back.
how do I solve this?
networking server dhcp
networking server dhcp
asked Mar 4 at 18:52
joveice
61
61
"I changed my local IP's from class c to class a"? How, exactly did you do that? It seems like network nonsense.
â waltinator
Mar 4 at 23:24
I changed my local network, from a class C to a class A. followed up by changing the IP of the server to a new IP on the class A range, how is this nonsense?
â joveice
Mar 5 at 7:46
add a comment |Â
"I changed my local IP's from class c to class a"? How, exactly did you do that? It seems like network nonsense.
â waltinator
Mar 4 at 23:24
I changed my local network, from a class C to a class A. followed up by changing the IP of the server to a new IP on the class A range, how is this nonsense?
â joveice
Mar 5 at 7:46
"I changed my local IP's from class c to class a"? How, exactly did you do that? It seems like network nonsense.
â waltinator
Mar 4 at 23:24
"I changed my local IP's from class c to class a"? How, exactly did you do that? It seems like network nonsense.
â waltinator
Mar 4 at 23:24
I changed my local network, from a class C to a class A. followed up by changing the IP of the server to a new IP on the class A range, how is this nonsense?
â joveice
Mar 5 at 7:46
I changed my local network, from a class C to a class A. followed up by changing the IP of the server to a new IP on the class A range, how is this nonsense?
â joveice
Mar 5 at 7:46
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f1011864%2fserver-acts-weird-after-reboot-and-local-ip-changes%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
"I changed my local IP's from class c to class a"? How, exactly did you do that? It seems like network nonsense.
â waltinator
Mar 4 at 23:24
I changed my local network, from a class C to a class A. followed up by changing the IP of the server to a new IP on the class A range, how is this nonsense?
â joveice
Mar 5 at 7:46