Second Public IP without using NAT?

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
ecolley
DD-WRT Novice


Joined: 02 Oct 2011
Posts: 2

PostPosted: Sun Oct 02, 2011 19:24    Post subject: Second Public IP without using NAT? Reply with quote
My client has a /30 IP address block from her ISP, i.e. just two usable public IPs. It's a PPPoE connection. I have successfully set up DD-WRT with one of the IP's for general use, and the other as a one-to-one NAT for a single internal device. Unfortunately this device (a VoIP card in a Toshiba PBX) requires a public IP directly on the device, or a private IP with a VPN. NAT using iptables simply will not work. All the call setup and management features work fine, but the call audio is blocked. Toshiba confirms this and has no fix.

So, how could I configure DD-WRT to allow me to assign the second IP to the VoIP card? ifconfig ppp0:1 [2nd_public_IP] netmask 255.255.255.252 broadcast [broadcast_ip] should get me started, but am I assigning one of the four LAN ports to its own VLAN and bridging it to the WAN side? I'm just lost now! any guidance appreciated...
Sponsor
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17619
Location: Hesse/Germany

PostPosted: Tue Oct 04, 2011 11:35    Post subject: Reply with quote
wiki: one to nat
_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
ecolley
DD-WRT Novice


Joined: 02 Oct 2011
Posts: 2

PostPosted: Tue Oct 04, 2011 13:38    Post subject: Reply with quote
@Sash
Thanks for taking the trouble to reply, but I hoped my original post would make it clear that:
- I have already successfully set up One to One NAT (using the wiki as you suggest), but
- my device will not work with NAT, and must have a public IP address, so
- my question was how to use the second public IP address *without* NAT
phuzi0n
DD-WRT Guru


Joined: 10 Oct 2006
Posts: 10141

PostPosted: Wed Oct 05, 2011 10:53    Post subject: Reply with quote
The alternative to 1:1 NAT is to move a port into the same VLAN as the WAN port so that they're switched. Since you're using PPPoE though, either the PBX needs to be capable of PPPoE if your ISP allows two PPPoE tunnels, or your modem will have to do the PPPoE instead of the router.
_________________
Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum