How to configure PC for wired/static and wired/DHCP networks?
tomh0665 at gmail.com
Wed Oct 27 15:15:55 UTC 2010
On Wed, Oct 27, 2010 at 10:54 AM, Christopher Chan
<christopher.chan at bradbury.edu.hk> wrote:
> On Wednesday, October 27, 2010 10:30 PM, Dave Howorth wrote:
>> On Wed, Oct 27, 2010 at 8:43 AM, Christopher Chan
>> <christopher.chan at bradbury.edu.hk> wrote:
>> On Wednesday, October 27, 2010 07:57 PM, Tapas Mishra wrote:
>>>> I want my netbook to connect automatically to both the office
>>>> wired/static network and to the usual wired/DHCP networks.
>>> Not possible unless you have two interfaces. How is the software
>>> supposed to know when to load the office network and when not to?
>> I don't know much about this area but isn't it pretty easy to let DHCP
>> try to get an address and if that fails, then set the address in a
>> script? dh_client provides an exit hook to run such a script and a ping
>> to the work DNS server would serve as a rough check that the laptop was
>> at work (check its MAC address if you're paranoid :).
> That's where it goes way out of end user range. Of course, one can add
> all this stuff in. :-D. I'm sure sysadmins won't mind have all that work
> already done for them.
And what if there is a dhcp server but you want to use a fixed ip?
This could get ugly.
More information about the ubuntu-users