Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
well you'll be running a DHCP client on eth0 that's really the only difference. run DHCP client etho and DHCP server eth1, as long as the masquerading is setup properly it will still work seamlessly despite the dynamic ip being received on eth0.
Originally posted by jaa1180 Hey, the dhcp is working!
Problem though... I had the server at work and now they say it is a "misuse of resources".
Windows weinies...
So now eth0 is going to have to be dhcp.
What is this going to change.
-----------------------------------------------------------------------------------------------
If you have a dynamically assigned IP address from your ISP, substitute the appropriate lines from the ones below:
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
for
iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to YOUR.IP.ADDRESS.HERE
-----------------------------------------------------------------------------------------------
if eth0, the nic connected to the internet, is going to be getting it's ip info via dhcp from isp, just change the properties of eth0 to obtain it via dhcp, and also change your iptables command, if you've copied them into your rc.local file, to reflect the changes above for the one line noted above... that will be the only changes that you will have to make if switching from eth0 being statically assigned to dynamically assigned... and you should be set from there on.....
Ok, been working with it and the dhcpd on eht1 is working fine. I would like though to have a full working DNS server with DDNS working. I have forward and reverse files, but I want to dynamically update the zone files with DHCP. I cannot seem to find enough docs on this. I have found a few things but not an exact... DO THIS type of thing.
I did... not enough. I bought DNS & Bind orelly book. It breifly touches on it. I did find the Bind Administrator Referance... going to see if that helps.
Any ideas on DHCP dynamic update or where a good example is?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.