Posted: Thu Jan 24, 2008 7:16 Post subject: DD-WRT with multiple WAN IP addresses (alias)
I have a WRT350N router with latest DD-WRT firmware. Today I got new service with 5 static IP addresses. I didn't want to use multiple routers so I did the following with my router:
1. Set second IP (alias) to vlan2 interface
Quote:
ifconfig vlan2:1 x.x.x.2
2. I had to rebuild the iptables rules for some reason or else the new IP wouldn't work.
3. Added "prerouting" rule. It didn't seem necessary but I did it anyway:
I'm new to DD-WRT so I am not sure how to save all of this. Also, looks like whatever is added via GUI is targeting the first WAN IP, so whatever is added later shouldn't be an issue.
Hi
I'm using WRT-320N, I wanted to use a second IP address so that I can access my DSL modem which connected to port WAN. However I couldn't access it using "ifconfig vlan2:0 192.168.1.2 netmask 255.255.255.0". The DSL IP is 192.168.1.1.
I've done this before using WRT-54GL, it work fine. Is there any configuration that I need to setup first?
Edit: @0t73r - What you want is totally different than what the OP did. http://www.dd-wrt.com/wiki/index.php/Access_To_Modem_Configuration _________________ 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)
Posted: Sun Nov 30, 2014 10:27 Post subject: PPOE and ip alias on WAN
I have a Dlink router DIR300 with DDWRT, the WAN interface is PPOE, besides that connection i what to setup an fixed ip alias that can accept VPN, i have made the following setting that work only when SPI firewall is disabled.
The VPN server is set with internal ip of the router 192.168.1.1.
What changes i need to make to be able to activate the firewall and browse the internal network and internet over VPN, i need to change the VPN server ip to ip alias or what?
Use ddns to set a domain host you can use to connect the vpn.
I want to use connection also as a backup when there is no internet connection, i search a little on internet and the name of the connection that i want to setup is Dual Access PPPOE (also called "Russia PPPOE")
Thank you!
I want to use connection also as a backup when there is no internet connection, i search a little on internet and the name of the connection that i want to setup is Dual Access PPPOE (also called "Russia PPPOE")
Thank you!
Nope! Dual Access PPPoE is different thing. And it's supported by DD-WRT - there is such checkboxes for L2TP/PPtP/PPoE WAN in WebUI. It's in general DHCP + PPPoE (or other P-t-P connection) on WAN interface with routing on both networks, but default GW is only one.
I want to use connection also as a backup when there is no internet connection, i search a little on internet and the name of the connection that i want to setup is Dual Access PPPOE (also called "Russia PPPOE")
Thank you!
Nope! Dual Access PPPoE is different thing. And it's supported by DD-WRT - there is such checkboxes for L2TP/PPtP/PPoE WAN in WebUI. It's in general DHCP + PPPoE (or other P-t-P connection) on WAN interface with routing on both networks, but default GW is only one.
I don't find the check-boxes u say, the GW will be only one ..the PPPoE,.. the secondary connection is for local access from WAN when PPPoE is not available.