Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
IP change not fully taking effect.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
clytle374
Apprentice
Apprentice


Joined: 01 Aug 2006
Posts: 193

PostPosted: Sun May 05, 2013 2:27 am    Post subject: IP change not fully taking effect. Reply with quote

I changed the IP address of this machine from a dhcp assigned to a static IP with network manager after temporally moving them all to better bandwidth for a long over due update.

The IP address was first 192.168.1.153 via dhcp. I changed back to its normal static IP of 192.168.1.110. Then my portage share wouldn't mount with a unmatched error. I pinged this computer from the server and all seemed correct, then I realized I could ping it with the old address also. Rebooting all computers and router didn't fix it either. I finally changed my exports to reflect the old IP and it works. Had to change the --allow in distcc to the old address to get distcc running.

ifconfig shows it being changed
Code:
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.110  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::ea9a:8fff:fe30:df05  prefixlen 64  scopeid 0x20<link>
        ether e8:9a:8f:30:df:05  txqueuelen 1000  (Ethernet)
        RX packets 244731  bytes 156009956 (148.7 MiB)
        RX errors 0  dropped 7  overruns 0  frame 0
        TX packets 259338  bytes 178884418 (170.5 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


My networking skills are weak.. Is this a stupid mistake?
Cory
_________________
NooB since RedHat 6.1
Back to top
View user's profile Send private message
_______0
Guru
Guru


Joined: 15 Oct 2012
Posts: 521

PostPosted: Sun May 05, 2013 1:14 pm    Post subject: Reply with quote

I am not an expert either but from my own past experience interfaces keep don't erase addresses if you change to a new one.

I discovered this one time I deleted an address that I added. The interface didn't reset but showed the older ip.

This could be happening either because dhcp is assigning an address different from what you are specifying.

To completely wipe out any info on the interface one way is to remove the module and re-load it. The other way is with the utility ip from iproute2 which can clean the interface.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum