yast: how to set up static DHCP addresses
Yo! i'm running a dhcp server on suse 10.1 and use yast to set it up. i'd like to assign static DHCP addresses to my 2 laptops. i know this can be done (read "done it before") via dhcp by storing the MAC addresses in the dhcp config, but i don't see how to do this via yast. Is it possible with yast or must i manually edit the dhcp config for this? i know someone's going to ask, "why assign a static IP via dhcp?" so i'll answer in advance: i need to make a port forward from my dhcp/router machine to one of my laptops so my boss can get to that machine. i don't want to always have to update my firewall settings to change the IP of the target machine. i use dhcp because it sets up the routing/dns for the hosted machines, saving me from that administrative tedium. -- ----- stephan@s11n.net http://s11n.net "...pleasure is a grace and is not obedient to the commands of the will." -- Alan W. Watts
On Thursday 14 September 2006 18:43, stephan beal wrote:
Yo!
i'm running a dhcp server on suse 10.1 and use yast to set it up. i'd like to assign static DHCP addresses to my 2 laptops. i know this can be done (read "done it before") via dhcp by storing the MAC addresses in the dhcp config, but i don't see how to do this via yast.
Is it possible with yast or must i manually edit the dhcp config for this?
i know someone's going to ask, "why assign a static IP via dhcp?" so i'll answer in advance: i need to make a port forward from my dhcp/router machine to one of my laptops so my boss can get to that machine. i don't want to always have to update my firewall settings to change the IP of the target machine. i use dhcp because it sets up the routing/dns for the hosted machines, saving me from that administrative tedium.
I don't know if this is what you are looking for but then see if it works for you Go to Gecko-> System->YaST Control centre->Enter root password->select Network Devices-> On the right hand pane select -> Network Card ->Click on next -> Select your card and click on Edit->Make sure you are on the Address tab-> Click the radio button Static Address Setup. You can even change the DNS server name under Host name and server name For the Default Gateway make changes in the Routing -- Puneit Singh 0091-9350832020
On Thursday 14 September 2006 15:30, Puneit Singh wrote:
I don't know if this is what you are looking for but then see if it works for you Go to Gecko-> System->YaST Control centre->Enter root password->select Network Devices-> On the right hand pane select -> Network Card ->Click on next -> Select your card and click on Edit->Make sure you are on the Address tab-> Click the radio button Static Address Setup. You can even change the DNS server name under Host name and server name For the Default Gateway make changes in the Routing
Indeed, that's what i need for the dhcp/router server (aka, my main PC). The problem isn't setting the IP/dns/routing of this box, but of the clients which get their IPs through this box's dhcp service. i know that what i'm looking for can be done, i just done see a way to do it through yast and i'm hoping someone can point me to the proper trick. -- ----- stephan@s11n.net http://s11n.net "...pleasure is a grace and is not obedient to the commands of the will." -- Alan W. Watts
On Thursday 14 September 2006 18:43, stephan beal wrote:
Yo!
i'm running a dhcp server on suse 10.1 and use yast to set it up. i'd like to assign static DHCP addresses to my 2 laptops. i know this can be done (read "done it before") via dhcp by storing the MAC addresses in the dhcp config, but i don't see how to do this via yast.
Is it possible with yast or must i manually edit the dhcp config for this?
i know someone's going to ask, "why assign a static IP via dhcp?" so i'll answer in advance: i need to make a port forward from my dhcp/router machine to one of my laptops so my boss can get to that machine. i don't want to always have to update my firewall settings to change the IP of the target machine. i use dhcp because it sets up the routing/dns for the hosted machines, saving me from that administrative tedium.
You can even check out the DHCP Server under Network Services in YaST.... -- Puneit Singh 0091-9350832020
On Thursday 14 September 2006 15:33, Puneit Singh wrote:
i know someone's going to ask, "why assign a static IP via dhcp?" so i'll answer in advance: i need to make a port forward from my dhcp/router machine to one of my laptops so my boss can get to that machine. i don't want to always have to update my firewall settings to change the IP of the target machine. i use dhcp because it sets up the routing/dns for the hosted machines, saving me from that administrative tedium.
You can even check out the DHCP Server under Network Services in YaST....
That's where i've set up the dhcp server, but it only shows a very few (the most basic) options. -- ----- stephan@s11n.net http://s11n.net "...pleasure is a grace and is not obedient to the commands of the will." -- Alan W. Watts
stephan beal schreef:
Yo!
i'm running a dhcp server on suse 10.1 and use yast to set it up. i'd like to assign static DHCP addresses to my 2 laptops. i know this can be done (read "done it before") via dhcp by storing the MAC addresses in the dhcp config, but i don't see how to do this via yast.
Is it possible with yast or must i manually edit the dhcp config for this?
i know someone's going to ask, "why assign a static IP via dhcp?" so i'll answer in advance: i need to make a port forward from my dhcp/router machine to one of my laptops so my boss can get to that machine. i don't want to always have to update my firewall settings to change the IP of the target machine. i use dhcp because it sets up the routing/dns for the hosted machines, saving me from that administrative tedium.
Just my 0.02 cents : I use Webmin to maintain almost all my services. That way you don't need to be at the server to administrate, and you have a secure GUI way to do it. Although sometimes you really need to manually edit the .conf files. As a sidenote : I experienced that assigning static IP's with DHCP to linux-servers is not the way to go. If for some reason you have to reboot all your servers, and your DHCP does not get up, all your other servers don't get an IP address. Windows-servers seem to use their old IP-address. -- Met vriendelijke groeten, Koenraad Lelong R&D Manager ACE electronics n.v.
participants (4)
-
Koenraad Lelong
-
Per Jessen
-
Puneit Singh
-
stephan beal