[expert] ip-masquering rpms
Dear friends, We have installed IP masquering due to an error in a computer having just a ethernet card directly connected to internet. Now everytime we start linux the default ip, dns, gatewall... is that of the sharing connection (192.168.1.1..); we need to start Mcc and unactivate ip-masquering everytime to have internet avalaible. We need to know the names of the rpm files that mandrake uses to activate ip-masquering and unistall all!! could anyone tell us what are those files? Thanks so much in advance; yours sincerely Francisco Alcaraz Murcia (Spain) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] ip-masquering rpms
Hello Francisco, First off: Before editing anything, copy the files you are going to edit to a safe place (or write them down). If there's something I didn't catch off the top of my head, you can always restore your network configs to the state you are in right now. IP Masquerading is a feature of the Linux kernel, it doesn't come in a rpm. Check the settings in /etc/sysconfig/network-scripts/ifcfg-eth0 and make sure they are OK. If you use DHCP it should only have this in it: DEVICE=eth0 BOOTPROTO=dhcp ONBOOT=yes Edit file /etc/sysconfig/network and set the attribute FORWARD_IPV4 to false. Also check that GATEWAY attribute is set correctly. If you use DHCP, this doesn't matter as it will be overridden. When done, reload your network configs with 'service network restart' and you should be set. All of the above needs to be done as root. On Mon, 2002-11-04 at 11:39, [EMAIL PROTECTED] wrote: Dear friends, We have installed IP masquering due to an error in a computer having just a ethernet card directly connected to internet. Now everytime we start linux the default ip, dns, gatewall... is that of the sharing connection (192.168.1.1..); we need to start Mcc and unactivate ip-masquering everytime to have internet avalaible. We need to know the names of the rpm files that mandrake uses to activate ip-masquering and unistall all!! could anyone tell us what are those files? -- Mikko Lipasti Polarcom Consulting Oy :: [EMAIL PROTECTED] :: +358 (0)40 5590 988 signature.asc Description: This is a digitally signed message part
Re: [expert] ip-masquering rpms
Thanks a lot Mikko; I will try to make the changes this afternoon Francisco Alcaraz El Lun 04 Nov 2002 13:41, Mikko Lipasti escribió: Hello Francisco, First off: Before editing anything, copy the files you are going to edit to a safe place (or write them down). If there's something I didn't catch off the top of my head, you can always restore your network configs to the state you are in right now. IP Masquerading is a feature of the Linux kernel, it doesn't come in a rpm. Check the settings in /etc/sysconfig/network-scripts/ifcfg-eth0 and make sure they are OK. If you use DHCP it should only have this in it: DEVICE=eth0 BOOTPROTO=dhcp ONBOOT=yes Edit file /etc/sysconfig/network and set the attribute FORWARD_IPV4 to false. Also check that GATEWAY attribute is set correctly. If you use DHCP, this doesn't matter as it will be overridden. When done, reload your network configs with 'service network restart' and you should be set. All of the above needs to be done as root. On Mon, 2002-11-04 at 11:39, [EMAIL PROTECTED] wrote: Dear friends, We have installed IP masquering due to an error in a computer having just a ethernet card directly connected to internet. Now everytime we start linux the default ip, dns, gatewall... is that of the sharing connection (192.168.1.1..); we need to start Mcc and unactivate ip-masquering everytime to have internet avalaible. We need to know the names of the rpm files that mandrake uses to activate ip-masquering and unistall all!! could anyone tell us what are those files? -- Francisco Alcaraz Ariza Departamento de Biología Vegetal Universidad de Murcia E-30100 Murcia España (Spain) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com