Setting up linux gateway with static external IP

Reply

Join Date: Apr 2006
Posts: 4
Reputation: fragenstein is an unknown quantity at this point 
Solved Threads: 0
fragenstein fragenstein is offline Offline
Newbie Poster

Setting up linux gateway with static external IP

 
0
  #1
Apr 24th, 2006
Hi,
I am setting up a linux (suse10) gateway/firewall and have it set up with a dlink 3001 adsl modem. When I have the windows box set up directly with an external address, it works fine. But when I put the linux box in between, with one nic on external IP, it does not access the outside world and is not accessible. Both NICs on Linux do work on internal IPs. Any idea what may cause this?
Thanks
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 68
Reputation: ardentsunshine is an unknown quantity at this point 
Solved Threads: 1
ardentsunshine's Avatar
ardentsunshine ardentsunshine is offline Offline
Junior Poster in Training

Re: Setting up linux gateway with static external IP

 
0
  #2
Apr 24th, 2006
Originally Posted by fragenstein
Hi,
I am setting up a linux (suse10) gateway/firewall and have it set up with a dlink 3001 adsl modem. When I have the windows box set up directly with an external address, it works fine. But when I put the linux box in between, with one nic on external IP, it does not access the outside world and is not accessible. Both NICs on Linux do work on internal IPs. Any idea what may cause this?
Thanks
Did you bridge the connections? Did you make a static route to route traffic between the two interfaces?

http://www.tldp.org/HOWTO/text/Bridge+Firewall
http://www.tldp.org/HOWTO/text/Bridge

These documents might help.
No one is free, even the birds are chained to the sky
-Bob Dylan
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 4
Reputation: fragenstein is an unknown quantity at this point 
Solved Threads: 0
fragenstein fragenstein is offline Offline
Newbie Poster

Re: Setting up linux gateway with static external IP

 
0
  #3
Apr 24th, 2006
Thanks I will look further into this.
Sorry if this sounds silly but in order for me to access the net from the linux box (with the external IP) going through the ADSL modem, does the bridging even matter? What I mean is, gateway aside, if I only had the linux box with the extermal IP (for example, if the Linux box was the web server) and the DLINK modem, then the bridging should not be necessary should it? It is actually the linux box that cant access the internet so there is no hope for anything behind it to be able to access either whether bridging is set up correctly or not I would think.
Sorry if I am incorrect in my assumption.
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 4
Reputation: fragenstein is an unknown quantity at this point 
Solved Threads: 0
fragenstein fragenstein is offline Offline
Newbie Poster

Re: Setting up linux gateway with static external IP

 
0
  #4
Apr 24th, 2006
Here is the layout of my network in case this helps. Does anyone think it will help if I put the Asante router between the Dlink and Linux box? Would I still be able to have an external IP? Unfortunately I am not at home right now so I can't post the config yet.

Telus
||
------------------------
|DLink 3001 modem|
------------------------
||
----------------
|EXT IP (180...|
----------------
| Linux |
----------------
|INT IP (10... |
----------------
||
---------------------
|Ext IP (180... | WAN Port
---------------------
|AsanteFR3004LC|
---------------------
|Int IP (10..1 | LAN Ports
---------------------
||
----------------
|Int IP (10.. |
----------------
|Windows box |
----------------
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 1,749
Reputation: nanosani is an unknown quantity at this point 
Solved Threads: 55
Team Colleague
nanosani's Avatar
nanosani nanosani is offline Offline
Unauthenticated Liar

Re: Setting up linux gateway with static external IP

 
0
  #5
Apr 25th, 2006
http://yolinux.com/TUTORIALS/LinuxTu...rkGateway.html

This link explains how to set up a NAT or gateway with linux machine. I've set this in my office and its working fine .
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Networking Hardware Configuration Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC