ip route list type nat

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

 



Hi,

If I run the following:

# ip route add nat x.x.x.x via y.y.y.y

Then:

# ip route list type nat

Nothing is displayed. If I then run:

# ip route add nat x.x.x.x via y.y.y.y
RTNETLINK answers: File exists

So the nat rule is there but why can't I list it?

Also, what are the constraints on the x.x.x.x and y.y.y.y ip addresses?
Do they need to be on connected subnets or anything?

[kernel 4.4.7, iproute 2.2.4]


Ciao

Charl
__________________________________________________________________________

    My opinions may have changed, but not the fact that I am right.
__________________________________________________________________________

      [ Charl Matthee ]                             [ +27-11-721-3800 ]
      [ Reality Manufacturing ]                     [ +27-11-405-6508 ]
__________________________________________________________________________
-
: 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