Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Cornelius Creedon <neil@box1.staller.sunysb.edu>
To: axp-list@redhat.com
Subject: Re: problems with IP Masquerade
Date: Fri, 26 Feb 1999 17:42:02 -0500 (EST)	[thread overview]
Message-ID: <Pine.LNX.4.04.9902261740260.1579-100000@box1.staller.sunysb.edu> (raw)
In-Reply-To: <Pine.LNX.4.04.9902262253290.2927-100000@matef.sch.bme.hu>


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
> 


  parent reply	other threads:[~1999-02-26 22:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-26 22:15 problems with IP Masquerade frts
1999-02-26 22:35 ` B. James Phillippe
1999-02-26 22:37 ` Ron Farrer
1999-02-26 22:42 ` Cornelius Creedon [this message]
1999-02-27 17:57 ` Success (was: problems with IP Masquerade) frts
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox