LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

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

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


Hi,

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

<ISP>---<ADSL ROUTER>---<LINUX GATEWAY>---<LAN>

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 192.168.1.1 (for example).

3) the lan is a 192.168.1.0 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 192.168.1.1 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 06:32 AM.
 
Old 11-16-2004, 07:02 AM   #2
powadha
Member
 
Registered: Nov 2003
Distribution: Debian SID
Posts: 649

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: www.speedtouch.com or contact your isp


Last edited by powadha; 11-16-2004 at 07:07 AM.
 
Old 11-16-2004, 07:10 AM   #3
phatboyz
Member
 
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.
 
  


Reply


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 10:51 AM
linux as3 working as router with 2 public IPs rajeshdogra Linux - Networking 1 07-18-2005 07:53 AM
Linux as a router but for multiple public IPs gnirtS Linux - Networking 8 03-07-2005 03:08 PM
ADSL Routers Setup- Microsom Deskporte router 100 and Planet ADSL modem router mabonline Linux - Hardware 1 02-27-2004 05:36 PM
Linux firewall that supports USB ADSL & multiple public IPs? Smoothieu Linux - Security 1 08-21-2002 06:23 PM


All times are GMT -5. The time now is 09:40 AM.

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