switching between dynamic and static IP on wifi laptop?
- From: "idiotprogrammer" <idiotprogrammer@xxxxxxxxx>
- Date: 27 Jun 2006 10:56:54 -0700
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
.
- Follow-Ups:
- Re: switching between dynamic and static IP on wifi laptop?
- From: Bob Tennent
- Re: switching between dynamic and static IP on wifi laptop?
- Prev by Date: Newbie Questions
- Next by Date: Re: switching between dynamic and static IP on wifi laptop?
- Previous by thread: Newbie Questions
- Next by thread: Re: switching between dynamic and static IP on wifi laptop?
- Index(es):
Relevant Pages
|