CPUG

The Check Point User Group

A Resource For The Check Point Community.  Fast.  Useful.  Independent.

1. Come to CPUG CON 2008 EUROPE in Switzerland on September 8th - 9th!
    Two days full of technical content for Check Point administrators in the beautiful Swiss Alps!
    We already have 72 attendees signed up from 20 countries!
2. CCSA/CCSE One-Week Dual-Certification Training Course with CPUG in San Francisco!
    Courses Starting 10/6, 11/3, 12/8, (2009) 1/19, 2/9, 3/9, 4/6, 5/4, 6/8, 7/6, 8/3, 9/7.
3. Corrent S3500 SecureXL Turbocards For Sale - Last Six Remaining - Get Your Spares!
4. Join Us On LinkedIn - We now have a CPUG group.


Go Back   CPUG: The Check Point User Group > Check Point Firewall-1/VPN-1 Platforms > Nokia And IPSO
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2005-08-14
BarryStiefel BarryStiefel is offline
Administrator
 
Join Date: 2005-08-11
Location: San Francisco, CA
Posts: 554
Rep Power: 10
BarryStiefel has disabled reputation
Default How can I make IPSO get it's IP via DHCP?

How can I make IPSO get it's IP via DHCP?



The following isn't supported by Nokia, though there is plans to bring this functionality into a future release of IPSO.

Since IPSO 3.5 (or was it 3.6?), IPSO has contained a DHCP client within the OS. However, it is only activated upon initial installation and was primarily designed to make initial configuration easier. The system could pick up an IP via DHCP and be configured with Voyager without having to configure the system via the console cable. The DHCP server would have to issue a lease of at least one year for this to work.

However, it's relatively easy to configure IPSO to require a shorter minimum lease. You need to edit the file /etc/dhcpv4c-script. To do this, you must first mount the root file system read-write. You can do this with the command: mount -uw /Now you can use 'vi' to edit the file /etc/dhcpv4c-script. In this file, you will see the like:

MIN_LEASE=31536000 # -1 = 2147479953Change this line to read:

MIN_LEASE=-1Now you can force IPSO to fetch one of it's IPs via DHCP by adding the following to /var/etc/rc.local. eth-s2p1c0 is the interface I am getting my IP via DHCP with and replace your-nodename with the appropriate nodename for your system. The "sleep 15" gives IPSO a change to bring up interfaces first. The other commands that appear to twiddle the system nodename are necessary in my case because my cable ISP's DHCP server gives me a useless name

sleep 15 /sbin/dhcpv4c eth-s2p1c0 /bin/dbset active:hostname your-nodename /bin/dbset :save /bin/hostname your-nodename echo your-nodename > /var/etc/nodename

Note that FireWall-1 on IPSO currently does not support proper dynamic addressing, though that is scheduled for a later release as well.

-- PhoneBoy - 01 Jan 2004

FAQForm FAQs.Class: FAQs.OS: OsNokiaIPSO FAQs.Version:
Reply With Quote
  #2 (permalink)  
Old 2005-10-12
Lackie Lackie is offline
Senior Member
 
Join Date: 2005-08-22
Location: Ottawa, Canada
Posts: 347
Rep Power: 4
Lackie has an average reputation (10+)
Default Re: How can I make IPSO get it's IP via DHCP?

Update: Since IPSO 3.7 this is supported.
Reply With Quote
Reply

Thread Tools
Display Modes

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 Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 10:50.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0