switching between dynamic and static IP on wifi laptop?



Hi, I'm using a laptop to develop a test a web application. That
involves running a private web server (apache/zope).

I have a laptop that runs Linux FC 5. I can configure a static IP for
my wireless NAT at my apartment. However, on the road, I don't know
DNS or gateway information, so it's easier to use DHCP. That sounds
like a problem. It seems to be easier to configure and run my
application with a static IP address.

I envision two scenarios: I want to demonstrate my web application on a
private network or at a conference. Another scenario is working at my
parents' house (where they have a wifi NAT I set up).

In Fedora 5, I'm having problems switching back and forth. For one
thing, at my parents' house, they have a different ISP and have
different DNS entries. At a public wifi network, I have to assume that
DHCP is the default option. (btw, I've had difficulties on FC 5
switching between dynamic and static network configurations).

If I am in a DHCP network, what can I do to simulate a static IP for
the purpose of development/testing?

When I am at my parents' house, I can probably use a static IP, but I
can't connect until I know the DNS servers of my parent's ISP. I'm
assuming I can hardcode the DNS entries on my parents' router. But if
my parents' ISP uses DHCP to assign them a dynamic IP, can I do some
sort of command to figure out what DNS server settings to make when I'm
at their house?

Finally, generally, can I configure apache webserver in a private NAT
with only a host name? How?

rj

rj

.



Relevant Pages

  • Re: NAT without DHCP? (w2k3)
    ... How I can troubleshoot the problem and see why ip packets from the private ... DNS works perfectly fine but nothing else. ... How does your server connect to the Internet? ... I also enabled NAT tracing - may be this can help? ...
    (microsoft.public.windows.server.networking)
  • Re: get IPaddress
    ... This is neither a DNS or DC it is a simple application ... server running the Siebel v7.0. ... Also, on the private LAN ... Ethernet adapter Corporate LAN: ...
    (microsoft.public.win2000.dns)
  • Re: Public/Private DNS resolution over VPN
    ... > I have a private NAT internal network with private internal DNS ... > Because the internal network does not know how to route public IP ... these users are not able to connect to the Exchange server ...
    (microsoft.public.win2000.dns)
  • Re: Why would anybody use .LOCAL?
    ... setting up a split namespace to fix the conflicting authoritative DNS ... The public DNS server will never see requests from the private network to ...
    (microsoft.public.windows.server.dns)
  • Issues migrating SBS 2003 domain to Server 2008 Standard
    ... We are stuck migrating our SBS 2003 domain to Server 2008. ... Fatal Error:DsGetDcName (SRV-EXCH) call failed, ... Verify your Domain Name Sysytem (DNS) is ... network connectivity to a domain controller. ...
    (microsoft.public.windows.server.sbs)