From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 17640 invoked from network); 26 Feb 1999 22:51:27 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 26 Feb 1999 22:51:27 -0000 Received: from box1.staller.sunysb.edu (neil@box1.staller.sunysb.edu [129.49.91.97]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id RAA09409 for ; Fri, 26 Feb 1999 17:49:57 -0500 Received: from localhost (neil@localhost) by box1.staller.sunysb.edu (8.8.7/8.8.7) with ESMTP id RAA02017 for ; Fri, 26 Feb 1999 17:42:04 -0500 Date: Fri, 26 Feb 1999 17:42:02 -0500 (EST) From: Cornelius Creedon To: axp-list@redhat.com Subject: Re: problems with IP Masquerade In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII have you done an: echo "1" > /proc/sys/net/ipv4/ip_forward ? if the kernel has all the right support and you have the ipfwadm package and it still doesnt work this may be the culprit. -cc On Fri, 26 Feb 1999 frts@matef.sch.bme.hu wrote: > Hi all, > > This time I use 2.0.35 with my alpha and I want to use IP Masquerade. > Followed the howto, selected all the recommended kernel options and bulid > a modular kernel. The 2 ethercards found properly by the kernel. > The modules are O.K. I can modprobe them. > I do FORWARD_IPV4=true in /etc/sysconfig/network and rebooted. > But when I want to use ipfwadm got an error message. > > [root@simba /root]# /sbin/ipfwadm -F -p deny > [root@simba /root]# /sbin/ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0 > ipfwadm: setsockopt failed: Invalid argument > > [root@simba /root]# /sbin/ifconfig > lo Link encap:Local Loopback > inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0 > UP BROADCAST LOOPBACK RUNNING MTU:7168 Metric:1 > RX packets:1171 errors:0 dropped:0 overruns:0 frame:0 > TX packets:1171 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 > > eth0 Link encap:Ethernet HWaddr 08:00:2B:27:8D:49 > inet addr:152.66.151.11 Bcast:152.66.151.255 Mask:255.255.252.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:12600 errors:3 dropped:0 overruns:0 frame:6 > TX packets:1596 errors:0 dropped:0 overruns:0 carrier:0 > collisions:103 > Interrupt:15 Base address:0x200 > > eth1 Link encap:Ethernet HWaddr 00:40:95:15:BE:CC > inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:16 errors:0 dropped:0 overruns:0 frame:0 > TX packets:16 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 > Interrupt:10 Base address:0x300 > > Thanks for any help, > > > Istvan > > > -- > To unsubscribe: send e-mail to axp-list-request@redhat.com with > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com >