ip-alias and NAT doesn't work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Further to ip-alias - NAT and ip-alias.
Any help on this one would be much appreciated.

I have very simple configuration. 
1>
Linux machine with ip address - 
eth0:    192.168.2.2/24
eth0:0    172.16.10.10/24

I have NAT enable on eth0 of Linux machine.
Output of 
>ipchains -L -n -t nat 
Chain POSTROUTING (policy ACCEPT)
target     prot  opt source    destination            
     
MASQUERADE  all  --  172.16.2.0/24        0.0.0.0/0   
      

Also I have dialup connection on linux machine (ppp
interface) to connect to public network.

2> another NT machine with ip address,
172.16.10.8/24

I can ping from NT machine to 172.16.10.10 as well
192.168.2.2 on Linux machine. 
Also I can ping to 192.168.10.8 of NT machine from
Linux box.

Now my question is, if I try to ping to public IP from
NT machine (i.e esentially from ip alias interface) I
don't see connectivity (no ICMP echo reply) to outside
world. I can connect otherwise (i.e ppp is up and
running)

Does alias interface needs to add masquerading rule as
well?

Thanks

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux