MANY:1 NAT

Home Page Forums Network Management Networking MANY:1 NAT

This topic contains 1 reply, has 0 voices, and was last updated by  drg 7 years ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #43260

    drg
    Member

    Hi,

    I have 2 static connections in my configuration:

    eth00 4.3.2.48 WAN
    eth01 10.10.1.1 LAN

    default GW is 4.3.2.1

    I want to enable NAT for my LAN Systems to use the 4.3.2.48 IP.
    I enabled NAT for eth00 but I still can see ICMP packets from different LAN clients like 10.10.1.9 reaching the Gatway 4.3.2.1

    Have I missed something ?


    Chain PREROUTING (policy ACCEPT 1460 packets, 198K bytes)
    pkts bytes target prot opt in out source destination

    Chain POSTROUTING (policy ACCEPT 111 packets, 7396 bytes)
    pkts bytes target prot opt in out source destination
    113 7516 SNATVS all -- * * 0.0.0.0/0 0.0.0.0/0
    2 120 MASQUERADE all -- * ETH00 0.0.0.0/0 0.0.0.0/0

    Chain SNATVS (1 references)
    pkts bytes target prot opt in out source destination


    ETH00 Link encap:Ethernet HWaddr 00:50:56:BE:7B:4B
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:17803 errors:0 dropped:0 overruns:0 frame:0
    TX packets:32253 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:1456730 (1.3 Mb) TX bytes:40413865 (38.5 Mb)

    ETH00:01 Link encap:Ethernet HWaddr 00:50:56:BE:7B:4B
    inet addr:4.3.2.48 Bcast:4.3.2.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

    ETH01 Link encap:Ethernet HWaddr 00:50:56:BE:7B:4C
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:1277 errors:0 dropped:0 overruns:0 frame:0
    TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:180836 (176.5 Kb) TX bytes:242 (242.0 b)

    ETH01:00 Link encap:Ethernet HWaddr 00:50:56:BE:7B:4C
    inet addr:10.10.1.2 Bcast:10.10.1.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.