DHCP install
Thomas Dodd
ted at cypress.com
Thu Feb 19 19:52:13 UTC 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Rick Stevens wrote:
| Thomas Dodd wrote:
| No, Thomas. You can't have a static IP on an interface AND have a DHCP
| IP on the SAME interface. You get one or the other, not both. If the
| /etc/sysconfig/network-scripts/ifcfg-ethX file says "BOOTPROTO=static",
| you get a static IP. If it says "BOOTPROTO=dhcp", it's DHCP. You can't
| have both.
No one mentioned BOOTPROTO. If my IP is always the same, it's static.
Check the definition of "static."
| Even if you have DHCP assign you the same IP every time, it's still a
| DHCP-supplied IP, not a static IP despite the fact it's the same IP over
| and over again. "Static IP" in network parlance does not mean "it never
| changes", it means "it's hard-configured".
So If my DSL provider charges me extra for a static IP address, and I
still use DHCP to configure the network, am I being ripped off?
No. I paid to always have the same IP address and that's what I get. How
The interface is configured doesn't really matter.
| <IMHO>
| And I don't agree that it's particularly handy. Unless you're doing
| some very weird gateway, netmask or DNS change periodically and want to
| pass that along via DHCP, getting the same IP and other network data via
| DHCP is a waste of time and bandwidth.
|
| If you get the same IP each time, just set it up as static. Simply edit
| /etc/sysconfig/network-scripts/ifcfg-ethX once to set the IP and
| netmask, modify /etc/resolv.conf once to set the DNS resolvers and edit
| /etc/sysconfig/network once to set the hostname and gateway and you're
| done with it.
| </IHMO>
Untill I take my machine to another site. Then I have to cahe my IP to
match their subnet. With DHCP, I get the correct information at anotyher
site, but when I'm back, I have my normal address again. This requires
no changes by me, the user.
Seams quite handy to me.
-Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (SunOS)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFANRPs+mwggWqA1pQRAlSXAKDaHLVJ5mWQ4IBcBdAzAOxE0fRlawCfQHZ7
F7eHRXVcFHQ7/xi710kX3wk=
=6Kbx
-----END PGP SIGNATURE-----
More information about the Redhat-install-list
mailing list