Advertisement

NIC address

Started by March 21, 2005 07:09 AM
1 comment, last by ApochPiQ 19 years, 8 months ago
I'm using Red Hat 7.2 ( so far ) and have DHCP enabled for my NIC, the question is what command do I use to obtain the dynamic assigned address of the card, would also be great if some1 could tell me the available commands for configuring a network device .
ifconfig should be all you need.
Disclaimer: "I am in no way qualified to present advice on any topic concerning anything and can not be held responsible for any damages that my advice may incurr (due to neither my negligence nor yours)"
Advertisement
dhcpcd is (IIRC) the DHCP client configurator for RedHat. The --help info is pretty comprehensive on it, and of course there's Google.

That may not be the exact name in 7.2, so cd / and run a find | grep "dhcp" to locate the actual client. I believe though that RedHat uses some shell scripts to wrap dhcpcd so you may have an easier time using their scripts rather than trying to go manually.

If all you need is information, then ifconfig is your best friend. There's also route, ping, and traceroute which are all handy for figuring out where your traffic is going (or not going as the case may be).

Wielder of the Sacred Wands
[Work - ArenaNet] [Epoch Language] [Scribblings]

This topic is closed to new replies.

Advertisement