[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: problems with IP Masquerade
- 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)
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
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]