|
windows
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Can DHCP IP assignment and NAT-Port forwarding coexist ?I have an inhouse-LAN with some computers and a router as device to the outside Internet.
I have enabled DHCP IP assignment from the (NetGear) network router to all inhouse computers. On the other side I want to offer some server/services on one of the computers. Hence I have to enter some NAT port forwarding rules in the router setup so that incoming requests from the Internet know to which of the inhourse computers they should be redirected. On the other side I see no possibility to define these rules dynamically. I have to define a fixed IP. Do I really have to assign the server a fixed IP that I can NAT port forwarding or is there another work around ? Wolfgang Yes you have to assign the server a static IP. Make sure it is done by
either a reservation on the DHCP server (probably not possible with a consumer router) or that the IP is outside of the scope of the DHCP server. For example if the DHCP server assigns addresses in the range 192.168.0.100 to 192,168.0.200 you would pick a static IP not in that range. You also have to make sure it does not conflict with any other statically assigned IP addresses like the router itself or a print server. Show quoteHide quote > I have an inhouse-LAN with some computers and a router as device to > the outside Internet. > > I have enabled DHCP IP assignment from the (NetGear) network router > to all inhouse computers. > > On the other side I want to offer some server/services on one of the > computers. > Hence I have to enter some NAT port forwarding rules in the router > setup > so that incoming requests from the Internet know to which of > the inhourse computers they should be redirected. > > On the other side I see no possibility to define these rules > dynamically. > I have to define a fixed IP. > Do I really have to assign the server a fixed IP that I can NAT port > forwarding > or is there another work around ? > > Wolfgang Wolfgang Hercker wrote:
Show quoteHide quote > I have an inhouse-LAN with some computers and a router as device to Static and dynamic IP addresses can be used on the same network without> the outside Internet. > > I have enabled DHCP IP assignment from the (NetGear) network router to > all inhouse computers. > > On the other side I want to offer some server/services on one of the > computers. Hence I have to enter some NAT port forwarding rules in the > router setup so that incoming requests from the Internet know to which > of the inhourse computers they should be redirected. > > On the other side I see no possibility to define these rules > dynamically. I have to define a fixed IP. > Do I really have to assign the server a fixed IP that I can NAT port > forwarding or is there another work around ? > > Wolfgang any problem. For instance, all my network printers have static IP's but the computers get their IP addresses via DHCP from a router. Servers should always have a static IP address assigned. Malke Wolfgang Hercker wrote:
Show quoteHide quote > I have an inhouse-LAN with some computers and a router as device to the outside Internet. Since Port Forwarding is to a specific IP address, it would be prudent > > I have enabled DHCP IP assignment from the (NetGear) network router to all inhouse computers. > > On the other side I want to offer some server/services on one of the computers. > Hence I have to enter some NAT port forwarding rules in the router setup > so that incoming requests from the Internet know to which of > the inhourse computers they should be redirected. > > On the other side I see no possibility to define these rules dynamically. > I have to define a fixed IP. > Do I really have to assign the server a fixed IP that I can NAT port forwarding > or is there another work around ? > > Wolfgang > to make certain that the IP address is always that of the server hosting the service. A static IP address is the only way to absolutely guarantee that the IP address won't change after a router reboot, etc. Why are you so opposed to giving your servers static addresses? It is considered best practices for servers, printers, etc, to have static addresses. ....kurt w.herc***@hotmail.com (Wolfgang Hercker) wrote in
Show quoteHide quote news:4555f5ff$0$5720$9b4e6d93@newsspool3.arcor-online.net: You don't mention which model of NetGear router you have, but most > I have an inhouse-LAN with some computers and a router as device > to the outside Internet. > > I have enabled DHCP IP assignment from the (NetGear) network > router to all inhouse computers. > > On the other side I want to offer some server/services on one of > the computers. Hence I have to enter some NAT port forwarding > rules in the router setup so that incoming requests from the > Internet know to which of the inhourse computers they should be > redirected. > > On the other side I see no possibility to define these rules > dynamically. I have to define a fixed IP. > Do I really have to assign the server a fixed IP that I can NAT > port forwarding or is there another work around ? > models have the capability to specify in the Advanced DHCP configuration that a machine with a given MAC address should always be given a specific IP address by the DHCP. Using this method, the "server" machine can still obtain its IP address using DHCP but the router will always give it the same address. Look for this option in the DHCP area of your router manual. HTH, John If your router supports reserved IPs based upon MAC address, you can make
the 'server' get the same IP every time. Doug Sherman MCSE, MCSA, MCP+I, MVP Show quoteHide quote "Wolfgang Hercker" <w.herc***@hotmail.com> wrote in message news:4555f5ff$0$5720$9b4e6d93@newsspool3.arcor-online.net... > I have an inhouse-LAN with some computers and a router as device to the outside Internet. > > I have enabled DHCP IP assignment from the (NetGear) network router to all inhouse computers. > > On the other side I want to offer some server/services on one of the computers. > Hence I have to enter some NAT port forwarding rules in the router setup > so that incoming requests from the Internet know to which of > the inhourse computers they should be redirected. > > On the other side I see no possibility to define these rules dynamically. > I have to define a fixed IP. > Do I really have to assign the server a fixed IP that I can NAT port forwarding > or is there another work around ? > > Wolfgang >
Network password request during mapping???
Missing PCs in Network neighbourhood One of my PC's won't work with my new Comcast Modem Why are Word (2003) NOT transferrable as attachment ? Print servers sharing dial up connection over wireless network with WinXP Weird Firewire Installation Problem Laptop internet but no network Laptop not recognising networked printers Waking up an XP2003 server over the Internet |
|||||||||||||||||||||||