Two IP#s and masquerading on one NIC
Alexander Holst
yellowdog-general@lists.terrasoftsolutions.com
Tue Apr 23 03:46:01 2002
Hi Simon,
Thanks for the hint! It's always the small things that do the trick! It
works now -;}
It took me a while to find out that ip_forward has to be enabled in
/etc/sysctl rather than /etc/sysconfig/network - then it worked like a
charm.
I do have two default routes - would you know, where they come from?
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt
Iface
141.47.102.0 0.0.0.0 255.255.255.192 U 40 0 0
eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 40 0 0
eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 40 0 0
lo
0.0.0.0 141.47.102.1 0.0.0.0 UG 40 0 0
eth0
0.0.0.0 141.47.102.1 0.0.0.0 UG 40 0 0
eth0
It does not seem to matter, but I am interested in where the second
entry comes from.
Greetings,
Alex
> Message: 3
> Date: Mon, 22 Apr 2002 19:05:54 +0000
> From: Simon White <simon@mtds.com>
> To: yellowdog-general@lists.terrasoftsolutions.com
> Subject: Re: Two IP#s and masquerading on one NIC
> Reply-To: yellowdog-general@lists.terrasoftsolutions.com
>
> 22-Apr-02 at 18:55, Alexander Holst (holst@fh-pforzheim.de) wrote :
>> Is it simply not possible to get masquerading working on one interface,
>> or did I make a mistake?
>
> Have you enabled IP forwarding?
Alexander Holst
Pforzheim University of Applied Sciences
<holst@fh-pforzheim.de>
ph: +49 [0]7231 28-6837
fx: +49 [0]7231 28-6040