Is it possible to assign DHCP IP for client for 5 interfaces at one shot?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Sure its possible if you have a DHCP enabled Gateway and Dhcpd clients configured. Are you using an ISP's Gateway/Router/Modem are you wanting to configure one of your computers as to provides these services? Do you have a static or dynamic public address?
Given the information provided: You want to setup a home or LAN
network and share your internet connection. Not a problem. You can use DHCP or Masquerade with static Private Network IPs and just configure the pc1 as dhcp client. http://www.educ.umu.se/~bjorn/linux/...ni/DHCP-4.html
Look at the link. It obviously has an extra http:// at the beginning. Remove it, and the link works fine.
Quote:
I am using office desktop where I have the available NICs.
How can I setup?Here we have as usual DHCP configured.
How can you setup WHAT? The 'office desktop', or a DHCP server?
If you want the NIC's to get a DHCP address, configure the NIC to get one when you're building the system. Since you're using RHEL, you've got access to the RedHat knowledebase, since you're paying for it. Google also has many articles on how to set up NIC's in RHEL. RedHat has "system-config-network", so if you run that, you can set up your NIC's to use DHCP, instead of static addresses.
If you need to build a DHCP server, again, there are many how-tos on it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.