OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Gavin Li (bsdlistyahoo.com)
Date: Tue Feb 05 2002 - 21:27:06 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    --- Hans Insulander <hinstacken.kth.se> wrote:
    > Gavin Li <bsdlistyahoo.com> writes:
    >
    > > I have a gateway at home which connects to Rogers
    > DHCP
    > > server. I want to release that IP address for the
    > > external NIC. In linux, I can do "ifdown eth0". In
    > > windown, I can do "ipconfig /release". In the OBSD
    > I
    > > found the ifconfig can mark a NIC down, put it
    > doesn't
    > > release the IP address because after I do "
    > ifconfig
    > > lx0 down" I do "Ifconfig -a" and I found the xl0
    > is
    > > still active. Which means I can't use the other PC
    > to
    > > get IP address.
    > > How can I release this IP address and recall an IP
    > > address in the future?
    >
    > ifconfig xl0 inet delete
    This command just delete the ip, it doesn't contact to
    DHCP server to release the lease.
    Maybe it is much more difficult then that in Linux and
    Windows, which just one command is fine. I think maybe
    we need a script under OBSD to release the IP from
    DHCP server. No one has this experience? I don't think
    so. but why only one gentleman answer me??

    > --
    > --- Hans Insulander <hinstacken.kth.se>, SM0UTY
    > -----------------------
    > Lazy bum bum slacker -- Theo de Raadt
    Send FREE Valentine eCards with Yahoo! Greetings!
    http://greetings.yahoo.com