[Bug 695565] New: service network restart doesn't properly refresh DHCP lease
https://bugzilla.novell.com/show_bug.cgi?id=695565 https://bugzilla.novell.com/show_bug.cgi?id=695565#c0 Summary: service network restart doesn't properly refresh DHCP lease Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: All OS/Version: openSUSE 11.4 Status: NEW Severity: Major Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: andrew@joako.net QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 In a network where DHCP is used exclusvly I wish to change the IP address of the host. I configure the DHCP server with the new IP address and issue the command: # /etc/init.d/network restart Everything appears to be correct, but upon subsequently issuing the "ifconfig" command the old IP address is shown. Upon closer inspection I note that I can ping both the old and new IP address both from the local machine and a remote machine. Reproducible: Always Steps to Reproduce: 1. Configure DHCP server so the same host is given a different IP address 2. Issue /etc/init.d/network restart Actual Results: The DHCP lease is properly negotiated, but the new IP address isn't properly updated in the system's networking configuration. Expected Results: When DHCP is used the DHCP lease should be properly honored. Andrew-Joakimsens-Mac:~ joako$ ssh -l root video-server.fhu.local The authenticity of host 'video-server.fhu.local (172.20.13.196)' can't be established. RSA key fingerprint is 79:c9:50:df:2c:8b:76:e6:d2:57:dd:40:72:50:a0:0f. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'video-server.fhu.local,172.20.13.196' (RSA) to the list of known hosts. Password: Last login: Wed May 18 23:27:07 2011 from xpvm.fhu.local Have a lot of fun... video-server:~ # ifconfig eth0 Link encap:Ethernet HWaddr D0:27:88:34:D7:2E inet addr:172.20.13.196 Bcast:172.20.13.255 Mask:255.255.254.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1284484 errors:0 dropped:56537 overruns:0 frame:0 TX packets:1744854 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:226795740 (216.2 Mb) TX bytes:228163283 (217.5 Mb) Interrupt:43 Base address:0xa000 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:16436 Metric:1 RX packets:215290 errors:0 dropped:0 overruns:0 frame:0 TX packets:215290 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:97707455 (93.1 Mb) TX bytes:97707455 (93.1 Mb) video-server:~ # /etc/init.d/network restart Shutting down network interfaces: eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03) eth0 serves root filesystem. Leave it up. eth0 skipped Shutting down service network . . . . . . . . . done Setting up network interfaces: eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03) eth0 Starting DHCP4 client. . . eth0 IP address: 172.20.13.190/23 eth0 done Setting up service network . . . . . . . . . . done video-server:~ # video-server:~ # video-server:~ # video-server:~ # /etc/init.d/network restart Shutting down network interfaces: eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03) eth0 serves root filesystem. Leave it up. eth0 skipped Shutting down service network . . . . . . . . . done Setting up network interfaces: eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03) eth0 Starting DHCP4 client. eth0 IP address: 172.20.12.16/23 eth0 done Setting up service network . . . . . . . . . . done video-server:~ # video-server:~ # video-server:~ # video-server:~ # ifconfig eth0 Link encap:Ethernet HWaddr D0:27:88:34:D7:2E inet addr:172.20.13.196 Bcast:172.20.13.255 Mask:255.255.254.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1286470 errors:0 dropped:56569 overruns:0 frame:0 TX packets:1746413 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:227131890 (216.6 Mb) TX bytes:228686037 (218.0 Mb) Interrupt:43 Base address:0xa000 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:16436 Metric:1 RX packets:216440 errors:0 dropped:0 overruns:0 frame:0 TX packets:216440 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:98274486 (93.7 Mb) TX bytes:98274486 (93.7 Mb) video-server:~ # ifconfig eth0 Link encap:Ethernet HWaddr D0:27:88:34:D7:2E inet addr:172.20.13.196 Bcast:172.20.13.255 Mask:255.255.254.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1287496 errors:0 dropped:56585 overruns:0 frame:0 TX packets:1747251 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:227314002 (216.7 Mb) TX bytes:228977731 (218.3 Mb) Interrupt:43 Base address:0xa000 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:16436 Metric:1 RX packets:217110 errors:0 dropped:0 overruns:0 frame:0 TX packets:217110 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:98598836 (94.0 Mb) TX bytes:98598836 (94.0 Mb) video-server:~ # logout Connection to video-server.fhu.local closed. Andrew-Joakimsens-Mac:~ joako$ ssh -l root video-server.fhu.local Warning: Permanently added the RSA host key for IP address '172.20.12.16' to the list of known hosts. Password: Last login: Mon May 23 20:10:04 2011 from 192.168.4.6 Have a lot of fun... video-server:~ # ifconfig eth0 Link encap:Ethernet HWaddr D0:27:88:34:D7:2E inet addr:172.20.13.196 Bcast:172.20.13.255 Mask:255.255.254.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1287686 errors:0 dropped:56593 overruns:0 frame:0 TX packets:1747379 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:227341976 (216.8 Mb) TX bytes:229011848 (218.4 Mb) Interrupt:43 Base address:0xa000 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:16436 Metric:1 RX packets:217170 errors:0 dropped:0 overruns:0 frame:0 TX packets:217170 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:98628524 (94.0 Mb) TX bytes:98628524 (94.0 Mb) video-server:~ # ping 172.20.13.196 PING 172.20.13.196 (172.20.13.196) 56(84) bytes of data. 64 bytes from 172.20.13.196: icmp_req=1 ttl=64 time=0.026 ms 64 bytes from 172.20.13.196: icmp_req=2 ttl=64 time=0.063 ms ^C --- 172.20.13.196 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1000ms rtt min/avg/max/mdev = 0.026/0.044/0.063/0.019 ms video-server:~ # ping 172.20.12.16 PING 172.20.12.16 (172.20.12.16) 56(84) bytes of data. 64 bytes from 172.20.12.16: icmp_req=1 ttl=64 time=0.023 ms 64 bytes from 172.20.12.16: icmp_req=2 ttl=64 time=0.033 ms 64 bytes from 172.20.12.16: icmp_req=3 ttl=64 time=0.041 ms 64 bytes from 172.20.12.16: icmp_req=4 ttl=64 time=0.033 ms 64 bytes from 172.20.12.16: icmp_req=5 ttl=64 time=0.035 ms 64 bytes from 172.20.12.16: icmp_req=6 ttl=64 time=0.037 ms 64 bytes from 172.20.12.16: icmp_req=7 ttl=64 time=0.035 ms 64 bytes from 172.20.12.16: icmp_req=8 ttl=64 time=0.033 ms ^C --- 172.20.12.16 ping statistics --- 8 packets transmitted, 8 received, 0% packet loss, time 7006ms rtt min/avg/max/mdev = 0.023/0.033/0.041/0.008 ms video-server:~ # logout Connection to video-server.fhu.local closed. Andrew-Joakimsens-Mac:~ joako$ ping 172.20.13.196 PING 172.20.13.196 (172.20.13.196): 56 data bytes 64 bytes from 172.20.13.196: icmp_seq=0 ttl=62 time=114.738 ms 64 bytes from 172.20.13.196: icmp_seq=1 ttl=62 time=114.181 ms ^C --- 172.20.13.196 ping statistics --- 2 packets transmitted, 2 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 114.181/114.459/114.738/0.279 ms Andrew-Joakimsens-Mac:~ joako$ ping 172.20.12.16 PING 172.20.12.16 (172.20.12.16): 56 data bytes 64 bytes from 172.20.12.16: icmp_seq=0 ttl=62 time=116.536 ms 64 bytes from 172.20.12.16: icmp_seq=1 ttl=62 time=114.567 ms ^C --- 172.20.12.16 ping statistics --- 2 packets transmitted, 2 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 114.567/115.552/116.536/0.984 ms Andrew-Joakimsens-Mac:~ joako$ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=695565
https://bugzilla.novell.com/show_bug.cgi?id=695565#c2
Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=695565
https://bugzilla.novell.com/show_bug.cgi?id=695565#c3
Peter Varkoly
participants (1)
-
bugzilla_noreply@novell.com