Help with Gateway and dhcp
Hello everyone. I need help. I work at a LAN shop and as of late our gateway we had became fried due to a power surge. The guy that had setup the old gateway no longer works here and I am stuck trying to set up a new one. I have done lots of things to try to get it work and lot of research. I’ve tried setting up iptables with no success and tried gui programs like firestarter. I was wondering if you guys could help me out and tell me exactly how I need to do it to get it working. Let me give you some information about what exactly I need.
I have a box installed with Debian 3.1r2 and with two Ethernet cards. What I need is to configure the box so that the internet comes in from the dsl modem to eth0 and out on eth1 to the local network. I also need to configure a dhcp server for the local network. I need the dhcp server to assign an ip range from 10.64.1.110 to 10.64.1.199 out to the local network. Please if help me so I can get the internet back up in the LAN shop. I appreciate any and all help. Thank you so much in advance. |
You need to assign IP addresses for each NIC on the Debian box by entering the following into your terminal as root
Code:
ifconfig eth0 192.168.1.3 255.255.255.0 and for the other card Code:
ifconfig eth1 10.64.1.11 255.255.255.0 HTH |
All times are GMT -5. The time now is 05:46 PM. |