Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-16-2004, 07:31 AM   #1
LQ Newbie
Registered: Nov 2004
Posts: 3

Rep: Reputation: 0
Arrow Static Public IP on Linux gateway behind ADSL router


I would like to give my Linux Gateway/Firewall a static public IP provided by my ISP but I have a router as such:


My ADSL router is an Alcatel Thomson Speedtouch and connects to my ISP via pppoa and automatically adds the static public IP to itself. So here's what I do to get the public IP address onto the Linux Gateway:

1) I modify the ADSL Router's IPs: I delete the pppoa-assigned public IP (WAN.WAN.WAN.WAN) and add a ficticious IP: WAN.WAN.WAN.2 (ends with number 2 but could also be 1 or 3, etc..)

2) I configure eth0 (connected to the ADSL router) on the Linux box as WAN.WAN.WAN.WAN (static public IP provided by my ISP) and configure eth1 (connected to local LAN) as (for example).

3) the lan is a subnet

This configuration works but I have doubts regarding it's stability and wonder if there are alternatives. Of course, this configuration fails if the ADSL router is rebooted because the pppoa reassigns the public IP to the router, thus conflicting with eth0's public IP.

Is there another way to set the Public IP on the Linux Gateway's eth0?

Is specifying "default server" to in the ADSL router's NAT settings and leaving the public IP on the ADSL router feasible? In such a case, how should eth0/eth1 be configured?

I think my ADSL router also supports bridging. Could I use it in my case? How does it work and how should the configuration be?

Thanks in advance

Last edited by Eivissa; 11-16-2004 at 07:32 AM.
Old 11-16-2004, 08:02 AM   #2
Registered: Nov 2003
Location: Utrecht
Distribution: Debian SID
Posts: 651

Rep: Reputation: 31
Of what I understand of what you are trying to do, bridging is the way to go. That way you 'shut down' the router part of the modem and just use the modem capabilities.
You should be able to set brigde networking using to config software you received with your modem. If not see the vendors website or contact your isp.
I use a speedtouch 510 in the Netherlands and used this link to setup bridging:

Speedtouch support

There are some issues regarding settings if the modem regarding different isp in the Netherlands. So if you're not Dutch and not using BBnet/Tiscali network you should look for a config util on the international support pages: or contact your isp

Last edited by powadha; 11-16-2004 at 08:07 AM.
Old 11-16-2004, 08:10 AM   #3
Registered: Feb 2004
Location: Mooresville NC
Distribution: CentOS 4,Free BSD,
Posts: 358

Rep: Reputation: 30
usually you can open up the web gui for your router and change the file name at the end of the address bar to config and that will get you to the bridge mode page. Tier 2 of your ISP can tell you.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Howto Assign Multiple Static Public IP Addresses under SBC's PPPoE Static Ip system o trekgraham Linux - Networking 8 04-17-2007 11:51 AM
linux as3 working as router with 2 public IPs rajeshdogra Linux - Networking 1 07-18-2005 08:53 AM
Linux as a router but for multiple public IPs gnirtS Linux - Networking 8 03-07-2005 04:08 PM
ADSL Routers Setup- Microsom Deskporte router 100 and Planet ADSL modem router mabonline Linux - Hardware 1 02-27-2004 06:36 PM
Linux firewall that supports USB ADSL & multiple public IPs? Smoothieu Linux - Security 1 08-21-2002 07:23 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:22 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration