MSFN Forum: Accessing the internet with a single static IP - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Accessing the internet with a single static IP Rate Topic: -----

#1 User is offline   eyeball 

  • Have you tried turning it off and on again?
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,150
  • Joined: 28-October 05

Posted 26 January 2007 - 11:12 AM

Hi all, heres a good one for you....

i have a a BT line with a single static ip
a zyxel router with NAT capabilities (with only a single LAN interface)
a GTA GNATbox (hardware firewall) with 3 interfaces (internal , external, and dmz)

the line i have is ADSL
i have a single static address and would like to access the internet using this static address. simple? thats what i thought...

on the router i can manually specify a static address but i cant get out to the internet i get destination host unreachable. i think its because there is nowhere on this device to specify a default gateway so the router doesnt know what to do with traffic.

if i switch on DHCP on the router i am given an address which is something in the 81.x.x.x range - nothing like my static address, but i can get to the internet

so i phoned BT and asked them if they could create a DHCP reservtion for my address, they said no lol.

can anyone think of a possible configuration or way to get this working?
thanks

This post has been edited by eyeball: 27 January 2007 - 02:16 AM



#2 User is offline   Deman 

  • Junior
  • Pip
  • Group: Members
  • Posts: 58
  • Joined: 12-December 06

Posted 26 January 2007 - 11:16 PM

Sorry but your post is confusing me

You have a static IP given to you by your ISP (generous of them) and you want your PCs on the network to all use it, or to all have public static IPs?

Quote

i phoned BT and asked them if they could create a DHCP reservation for my address, they said no
If your ISP is giving you a static IP then you wouldn't need to ask them for a DHCP reservation? And since they said no, i'm wondering whether the IP they give you is a dynamicly assigned one.

Quote

on the router i can manually specify a static address but i cant get out to the internet i get destination host unreachable. i think its because there is nowhere on this device to specify a default gateway so the router doesn't know what to do with traffic.

It could be because the IP address you're setting isn't recognised by your ISP. So you either aren't getting a static IP or the static IP is automatically given to you by your ISP and there's no configuration required on your router
Failing that of course, the address you're setting is it's internal address which puts it out of whack with your home network

Anyway what's wrong with using DHCP/local static IPs for the local network and using port forwarding for any servers you've got running?

#3 User is offline   eyeball 

  • Have you tried turning it off and on again?
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,150
  • Joined: 28-October 05

Posted 27 January 2007 - 02:15 AM

hey thanks for the reply :)

yes i want all pcs behind the router and firewall to be nat'ed to the single public ip,

the reason i had to ask for a DHCP reservation is because as i said i am dynamically assigned a completely different ip when i switch on DHCP, i need to use the static one as i need A and MX records pointing to this ip.

and i know the ip is correct as to be truthful i have had it working but i had to use a second public ip and fully featured nat. but the point is i want to get it working with one ip if possible (cos buying only one ip from my isp is a lot cheaper :blushing: )

i really dont think what im asking is possible with the equipment i have but who knows someone may have come across a similar setup before

thanks again :)

#4 User is offline   LLXX 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Banned
  • Posts: 3,399
  • Joined: 04-December 05

Posted 27 January 2007 - 02:58 AM

View Posteyeball, on Jan 26 2007, 11:12 AM, said:

i think its because there is nowhere on this device to specify a default gateway so the router doesnt know what to do with traffic.
Get a better router, lol.

Even the cheapest ones these days should have those capabilities.

This post has been edited by LLXX: 27 January 2007 - 02:59 AM


#5 User is offline   Deman 

  • Junior
  • Pip
  • Group: Members
  • Posts: 58
  • Joined: 12-December 06

Posted 27 January 2007 - 03:13 AM

What you're after is a standard setup, it's just connecting with a static IP
I haven't really dealt with static IPs with xDSL routers so am not really too sure as to what's expected in the configuration.

That aside I would of thought that any standard DSL router would be able to do the job, are you able to post up the model number of the router and/or screen capture of the appropriate page? (blank out the login details of course)

You mentioned it worked using a second public IP, what was different about the second from the first? Anything in the configuration or was it just a different number :)

#6 User is offline   eyeball 

  • Have you tried turning it off and on again?
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,150
  • Joined: 28-October 05

Posted 27 January 2007 - 07:43 AM

its a zyxel 600 series router and the way i had it working with 2 ips was as follows:

the lan interface of the router had the ip 217.xxx.xxx.xx8

the external interface of the gnatbox had 217.xxx.xxx.xx7 and a gateway of the routers lan interface
and then on the internal interface i had my network (192.168.16.0/24)

i had nat turned off completely on the router so basically all traffic was just being routed and passed through to the firewall and then remote access filters and nat rules dealt with everything from there.

i think that with the current device i have it IS impossible as without a gateway the router wont have a clue what to do with traffic.

maybe its possible with some static routes in place? but iv thought about it for ages and i cant come up with anything :(

doesnt matter if we cant do it ill have to stick with an ip range (or buy a better router) lol
thanks

This post has been edited by eyeball: 27 January 2007 - 07:45 AM


#7 User is offline   Deman 

  • Junior
  • Pip
  • Group: Members
  • Posts: 58
  • Joined: 12-December 06

Posted 27 January 2007 - 05:27 PM

Well what you could do is put the gnatbox on the internal network give it an internal address and turn NAT on the router so you've got Internet - Router - Gnatbox - LAN

#8 User is offline   eyeball 

  • Have you tried turning it off and on again?
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,150
  • Joined: 28-October 05

Posted 28 January 2007 - 03:44 AM

hey deman :)

thats how i had it working before but as i described i had to use 2 ips cos the crappy router has nowhere to specify a gateway, the router was the gnatbox's gateway so it worked.
thanks for the help though but i think im gonna get a better router to save on a lot of problems in the future.
thanks

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy