Mailinglist Archive: opensuse (3863 mails)
| < Previous | Next > |
Re: [SLE] dropping/renewing IP address -RESOLVED
- From: Jeff Bankston <suse@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 11 Feb 2004 07:19:29 -0500
- Message-id: <200402110719.29212.suse@xxxxxxxxxxxxxxxxxxxxxx>
Anders Johansson wrote:
> On Tue, 2004-02-10 at 15:47 -0500, Jeff Bankston wrote:
>
>> Rookie question of the day......
>>
>> What option on ifconfig permits me to drop and acquire an IP address
>> without rebooting? I tried the down/up options, no joy. No "plumb"
>> command that I can find.
>
> If you're using dhcpcd (the default dhcp client), then "dhcpcd -k" will
> kill dhcp, bring down the network interface, and force it to request a
> new IP address the next time you bring it up.
>
>
what actually worked was dhcpcd -k to drop the IP, switch cat5 cables to
the other network, then enter "dhcpcd eth0" to restart the service.
rcnetwork seemed to take a bit longer to do its thing, dhcpcd worked alot
faster not that time is of much consequence.
I guess it boils down to preference. Thanks to all, another notch cut out
of the MickeySoft gun butt.
-Jeff
> On Tue, 2004-02-10 at 15:47 -0500, Jeff Bankston wrote:
>
>> Rookie question of the day......
>>
>> What option on ifconfig permits me to drop and acquire an IP address
>> without rebooting? I tried the down/up options, no joy. No "plumb"
>> command that I can find.
>
> If you're using dhcpcd (the default dhcp client), then "dhcpcd -k" will
> kill dhcp, bring down the network interface, and force it to request a
> new IP address the next time you bring it up.
>
>
what actually worked was dhcpcd -k to drop the IP, switch cat5 cables to
the other network, then enter "dhcpcd eth0" to restart the service.
rcnetwork seemed to take a bit longer to do its thing, dhcpcd worked alot
faster not that time is of much consequence.
I guess it boils down to preference. Thanks to all, another notch cut out
of the MickeySoft gun butt.
-Jeff
| < Previous | Next > |