Re: NAT WAN IP to internal range?

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

On Mon, 2011-12-19 at 14:20 +1100, Andrew Stone wrote:
> Hello,
> I am having a bit of trouble following the documentation on assigning
> a range of NATed IPs.

Sorry, meant to reply to this earlier but forgot. The previous netfilter
message just reminded me.

> My router has a several External IP’s assigned to the WAN interface:
> WANIF=`get_wanface`
> ifconfig $WANIF:1 a.b.c.241 netmask broadcast a.b.c.247
> ifconfig $WANIF:2 a.b.c.242 netmask broadcast a.b.c.247
> ifconfig $WANIF:3 a.b.c.243 netmask broadcast a.b.c.247

Have you tried configuring the interface using iproute2 instead?

Something like:

ip address add a.b.c.241/29 dev $WANIF broadcast a.b.c.247


To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at

[Linux Netfilter Development]     [Linux Kernel Networking Development]     [Linux Networking Development]     [Linux Kernel Development]     [Linux Resources]     [LARTC]     [Bugtraq]     [Consulting]     [Free Internet Dating]     [Yosemite Forum]     [Photo]

Add to Google Powered by Linux