Static IP address from Dynamic IP

Static IP address from Dynamic IP

Post by Carlton Davi » Mon, 11 Jun 2001 03:39:12



My firewall (running on a Solaris box) require a static IP address.
I have pleaded with my ISP for them to assign me a static IP address,
even for
an additional cost; they refused.

I configured the current leased address on the hme0 interface, with the
default
router, etc, that my ISP DHCP server leased to me; however, I still
can't
get on to the network.

Does any out there know what I need to do to allow my Solaris 2.6 box to

use the leased address my ISP DHCP server assigned. The firewall running

on the my Solaris box, need to have a static IP address, so I don't want
to
configure the box as a DHCP client.

Thanks in advance.

-Carlton

 
 
 

Static IP address from Dynamic IP

Post by Carlton Davi » Mon, 11 Jun 2001 05:37:11


I already got a firewall (Gauntlet).
What I want to know is how can I hard code the address on a Solaris
box?

Thanks,

-Carlton


> crd> I configured the current leased address on the hme0 interface,
> crd> with the default router, etc, that my ISP DHCP server leased to
> crd> me; however, I still can't get on to the network.

> Any ISP that gives you a DHCP address can give you a different one
> every time (and they tend to get very upset if you hard code the
> address).  Use a firewalling packages that lets you use a dynamic IP,
> like ipfilter.


 
 
 

Static IP address from Dynamic IP

Post by Logan Sh » Mon, 11 Jun 2001 06:03:53




Quote:>I already got a firewall (Gauntlet).
>What I want to know is how can I hard code the address on a Solaris
>box?

It seems like you are in denial about the fact that your ISP won't give
you a static IP.  Solaris tricks to ignore the DHCP stuff aren't going
to change the situation.

  - Logan
--
my  your   his  her   our   their   _its_
I'm you're he's she's we're they're _it's_

 
 
 

Static IP address from Dynamic IP

Post by Dave Uhrin » Mon, 11 Jun 2001 06:51:31






>>I already got a firewall (Gauntlet).
>>What I want to know is how can I hard code the address on a Solaris box?

> It seems like you are in denial about the fact that your ISP won't give
> you a static IP.  Solaris tricks to ignore the DHCP stuff aren't going
> to change the situation.

>   - Logan

You are just going to have to change your firewall software or get
another ISP.  IPFilter allows you to reference your IP address with the
NIC name.  It also provides NAT so that you can use your Solaris system
as a router for a LAN, again referencing the dynamic IP address to a NIC
name.
 
 
 

Static IP address from Dynamic IP

Post by Steve Taylo » Wed, 13 Jun 2001 00:36:21


What type of internet connection do you have?  Cable? DSL? I know atleast
with Cisco UBR's your ISP can make you use a DHCP address.  If you don't you
will not be able to surf.  What they do is the CNR (Cisco Network Registrar)
assigns you an address.  The UBR knows what address you are assigned.  If
your packets aren't tagged with the address you are assigned then you will
not be able to surf.

I'm sure DSL has the same thing.  This is just a way that ISP are forcing
you to use DHCP.  This is a good thing for the other customers.  If you
statically assign yourself an IP address and the DHCP server (CNR) isn't
configured properly it will still hand that IP to someone else...and then
you and the other customer will both have IP conflicts.

This is something that will get you banned from your ISP very easily.






> >>I already got a firewall (Gauntlet).
> >>What I want to know is how can I hard code the address on a Solaris box?

> > It seems like you are in denial about the fact that your ISP won't give
> > you a static IP.  Solaris tricks to ignore the DHCP stuff aren't going
> > to change the situation.

> >   - Logan

> You are just going to have to change your firewall software or get
> another ISP.  IPFilter allows you to reference your IP address with the
> NIC name.  It also provides NAT so that you can use your Solaris system
> as a router for a LAN, again referencing the dynamic IP address to a NIC
> name.

 
 
 

Static IP address from Dynamic IP

Post by Mathew Kirsc » Wed, 13 Jun 2001 03:17:19



> My firewall (running on a Solaris box) require a static IP address.
> I have pleaded with my ISP for them to assign me a static IP address,
> even for an additional cost; they refused.

As is their perogative...

Quote:> I configured the current leased address on the hme0 interface, with the
> default router, etc, that my ISP DHCP server leased to me; however, I still
> can't get on to the network.

Road Runner here in Rochester uses DHCP as a crude authentication mechanism.
If you don't get your IP address via DHCP, they won't let you connect. Maybe
your ISP operates similarly.

Quote:> Does any out there know what I need to do to allow my Solaris 2.6 box to
> use the leased address my ISP DHCP server assigned. The firewall running
> on the my Solaris box, need to have a static IP address, so I don't want
> to configure the box as a DHCP client.

I'm afraid everyone else is correct. You've got to play by the ISP's rules if
you want to play at all.

Now, the question here is why does, or why do you think, the firewall software
require(s) a static IP address? Is it hard-coded in a configuration file
somewhere? Well, that's easy enough to get around. Simply delay the start-up
of the firewall software until after the DHCP configuration is complete, and
write a shell script that gleans the IP from "ifconfig" output, puts it into
the configuration file, then starts up the firewall software.n

 
 
 

Static IP address from Dynamic IP

Post by Dave Uhrin » Thu, 14 Jun 2001 09:54:58



>>>What I want to know is how can I hard code the address on a Solaris box?

>   Pick up a cable modem or dsl/router like the Linksys one, and give
> your solaris machine a 192.168.1.0/8 static address. Then you're
> letting the Linksys box accept the DHCP address. (The solaris host
> still has connectivity due to NAT on the router.)

> tim

If you use IPFilter as your firewall, you simply do not have to have and IP
address referenced.  Here is a part of the ipf.rules from my OpenBSD
firewall box.  It's a 486DX2 with 16MB of RAM and I'm not even going to try
to run Solaris on it :-)

#  Keep loopback free.
pass in quick on lo0
pass out quick on lo0
#
#  Block short IP fragments that ipfilter can't analyze header information.
block in log quick on dc0 proto tcp/udp all with short
#
#  Block source routed packets - from OBSD faq6
block in quick on dc0 all with opt lsrr
block in quick on dc0 all with opt ssrr
#
#  Shitcan IP spoofers.
block in quick on dc0 from 192.168.0.0/16 to any
block in quick on dc0 from 172.16.0.0/12 to any
block in quick on dc0 from 10.0.0.0/8 to any
block in quick on dc0 from 127.0.0.0/8 to any
#

dc0 is the dnet type of NIC attached to the cable modem and IPFilter
translates its name to its IP address.  Similarly the NAT function is dealt
with without reference to any particular IP address:

map dc0 192.168.0.0/24 -> dc0/32 proxy port ftp ftp/tcp
map dc0 192.168.0.0/24 -> dc0/32 portmap tcp/udp 10000:20000
map dc0 192.168.0.0/24 -> dc0/32

My internal network is 192.168.0.0 and the external IP address is whatever
is assigned to dc0.

 
 
 

1. dynamic ip address - how to get to know my ip address?

Hi there,

my ISP provides me with a dynamic ip address. I'm using a wireless LAN
router made by SMC to connect to the internet. I want to get to know the
public ip address from a computer that is located in the local network
behind the router's firewall. But, of course, the router's NAT replaces the
public ip address with the local one.

How do I get to know the public ip address the ISP gave me?

Currently, I'm not using Linux. But I consider to set up a Linux box that
will be accessible from the internet. I guess, this problem is not
platform-dependent. Unfortunately, my router does not have a telnet
interface or any other interface that would provide me with the public ip
address. Only, if login to the web interface manually, I can see the current
status including the current ip address.

Can I solve this problem with standard TCP/IP tools? "ping" does not give
any evidence -- I was sniffing with Ethereal to miss no information.

Do I need help from an external system that can tell me my ip address? Is
there a service, I can use?

Thanks in advance,

Johannes

2. custom won't read CD ROM, Re: SCO Unix problem(s)

3. RH 7.0 Static IP gets dropped and Dynamic IP is generated

4. PCNFSD problem

5. newbie: static ip laptop behind dynamic ip ppp link

6. PANIC types...

7. from static ip to dynamic ip; how to change ppp config?

8. batching news

9. Static IP vs Dynamic IP

10. Static ip & dynamic ip

11. Static IP network setup with a dynamic dial-up IP from ISP

12. DNS woes, Static IP, and Dynamic IP from ISP

13. Help, 2 dynamic IP's and 1 static IP