/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! 
/* ALSO: Don't quote this header. It makes you look lame :-) */

Kyle Evans <[EMAIL PROTECTED]> wrote:
>
> I'm trying to set up ip masq with ip aliasing.

Does it work when you don't use aliasing?

> I can also ping the internet ip of the gateway computer.  I cannot
> ping or connect to any other hosts (IPs) on the internet.

Do you have IP forwarding enabled on the gateway?

> I have tried using both "eth0:0" and "192.168.1.1" as the internal
> interface in the iptables arguments, both give the same result.

The "-i" and "-o" options always take the NAME of an interface.  IP
addresses are used with "-s" and "-d".

> Does anybody have any idea what i might be missing?

Have you checked your logs?  Are your connection attempts being dropped? 
By which rules?

I'm not actually sure if IP aliasing can be "seen" by the netfilter
layer.  It might just be able to see physical interfaces.  Logical
interfaces happen at a different level...

That would mean that you'd have to use "eth0" if you want to specify the
internal interface.  You might try it that way and see how that works.

-- 
   [EMAIL PROTECTED] (Fuzzy Fox)     || "Good judgment comes from experience.
sometimes known as David DeSimone  ||  Experience comes from bad judgment."
_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- 
THIS INCLUDES UNSUBSCRIBING!
or email to [EMAIL PROTECTED]

PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.

Reply via email to