networking with Mandrake 8.1
I am trying to set my other pc up as a router for one other computer. I have managed to get access to the internet on the linux box but I am having proplems getting an IP assigned for my windows pc.
I am running 2 network cards on the linux box and a patch cord going to the network card on the windows pc. the errors that I am receiving on the linux box are as follows: 1. IP conflict with eth1 2. Firewall is installed may have to do manual cofiguration 3. I don't totally know what I am doing. Can someone help |
One thing I will like to know is whether you have a static IP assigned to your external interface
|
Quote:
the static address should only be assigned to your eth0 on your linux box (to confirm, open a terminal as root and type ifconfig -a). eth1 on your linux box and your windows pc do not need a public IP address. you can just assign them a private IP address. for linux, configure your second nic by typing (ifconfig eth1 192.168.0.1 netmask 255.255.255.0), and then add a default gateway from eth1 to eth0 by typing /sbin/route add default gw xxx.xxx.xxx.xxx where xxx equals whatever your IP address is). for help, see http://www.linuxheadquarters.com/how...rkconfig.shtml now your linux network interfaces are ready to forward internet traffic when you enable forwarding. see http://www.netfilter.org/ this is where you will edit your firewall with iptables to enable forwarding etc. then tell your windows box that its new ip address is 192.168.0.2 and its new gateway is 192.168.0.1 (you should be able to just leave the dns servers as they are). hope this helps |
All times are GMT -5. The time now is 10:14 AM. |