I'm quite new to Linux systems and terminology but I have been computing since 1977 so I'm not all that green. I've been working with networking since the early 80's and I have a fair grasp of what is happening there. I can identify what I do to make my problem occur but I don't know what to do about it.
I have a system setup with the above configuration in mind; a DHCP server, 5 Static IP's and gateway for the LAN - all on one computer. From what I have read and the posts I have read, this is a viable configuration.
I have been able to get the DHCP server to work correctly although I do not know how to keep it from complaining about duplicate entries for IPs that it issues.
The problem comes in when I try to make our two windows web servers public. The approach I am taking is as follows:
With this much done and natd_flags="" in rc.conf, every computer on the LAN has internet access and access with each other as desired.
Now to cause the problem to occur, which is the loss of internet access for the web servers, all I have to do is change the natd_flags to "-redirect_address 192.168.1.203 71.95.20.203". Can someone tell me the correct syntax for making two redirects in rc.conf? I did make a natd.conf which I can alternatively reference using natd_flags="-f etc/natd.conf" which has both servers listed for redirect. In either case the result is lose of internet access for the two servers. Obviously, I'm doing something wrong but what could it be? Everything works until I engage static NAT for a web server.
Apparently, this NAT is only meant to service one IP. Is that the case?
I have a system setup with the above configuration in mind; a DHCP server, 5 Static IP's and gateway for the LAN - all on one computer. From what I have read and the posts I have read, this is a viable configuration.
I have been able to get the DHCP server to work correctly although I do not know how to keep it from complaining about duplicate entries for IPs that it issues.
The problem comes in when I try to make our two windows web servers public. The approach I am taking is as follows:
- Each web server's NIC is set for DHCP on each server.
- They have their ethernet addresses entered in a fixed-address host entry in DHCPD.conf
- Their assigned addresses are outside the range of the DHCP address pool.
- Their (windows cmd) ipconfig settings are being correctly assigned by the DHCP server.
With this much done and natd_flags="" in rc.conf, every computer on the LAN has internet access and access with each other as desired.
Now to cause the problem to occur, which is the loss of internet access for the web servers, all I have to do is change the natd_flags to "-redirect_address 192.168.1.203 71.95.20.203". Can someone tell me the correct syntax for making two redirects in rc.conf? I did make a natd.conf which I can alternatively reference using natd_flags="-f etc/natd.conf" which has both servers listed for redirect. In either case the result is lose of internet access for the two servers. Obviously, I'm doing something wrong but what could it be? Everything works until I engage static NAT for a web server.
Apparently, this NAT is only meant to service one IP. Is that the case?