Re: ip route list type nat

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

 



Hello!

> # ip route list type nat

By default main routing table is listed.
Routes of this type are added to table "local" by default.

So, add something sort of "table all" or "table local".

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

> 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?

No constraints, except for"they should be correct" :-)

Alexey

-
: 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